Вы находитесь на странице: 1из 10

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

TGNMS-Option:

ArcTools Description

E.Hüsser engineering(a)husser.ch V1.02e

Summary

The ArcTools for the Siemens-Telegyr TGNMS (TG8000, NMS on NT) Network Management Sys- tem is a collection of tools for survey and treatment of the periodical archives and for creation of re- ports and charts. It was initially developed for two Projects in Switzerland as a subcontract with Telegyr. For other pro- jects more functionality and language support was added.

Table of contents

1. Installation & Configuration

2

2. ArcManager and ArcSync

3

2.1. ArcSync Background Process

3

2.2. ArcManager

 

4

2.2.1. Hand dressing

4

2.2.2. Quick finder INV list

5

2.2.3. CV Correcting (Counter values)

5

3. The

Report

Scheduler

8

4. The

Report

Template

9

4.1.

Examples of reports

9

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

1. Installation & Configuration

The SW installation depends on the size of the configuration

Servers:

SCADA

SQL RDBMS TG_Warehouse

FEP

Source DB

Dataserver

ArcTools - ArcSync - ArcPurge Workplace Electricity Workplace Water
ArcTools
- ArcSync
- ArcPurge
Workplace Electricity
Workplace Water

ArcTools

- ArcManager

- ProtScheduler

- ProtCreator

- Templates

Electricity

ArcTools

- ArcManager

- ProtScheduler

- ProtCreator

- Templates

Water

ArcTools

ArcTools

Workplace Gas

ArcTools

- ArcManager

- ProtScheduler

- ProtCreator

- Templates

Gas

Small system all in one
Small system all in one

Server: SCADA, FEP, SQL-DB

WS:

NMS, Office

ArcTools

Report Archive

- ArcSync

- ArcSync

- ArcPurge

- ArcManager

- ProtScheduler

- ProtCreator

- Templates

ArcManager, ArcSync and ArcPurge are executables.

Scheduler, Templates and Creator are Excel files and need Excel version 97 or higher.

All modules use a common set of 5 DLL’s for database access, log-file and language support.

All modules use a common INI-file.

Each module has a log-file. Log level and size can be defined in the INI file.

The ArcTools interact with the two databases SDB (Source Data Base) and TG_Warehouse:

Source DB

read only

TG_Warehouse

read NMS tables, write new archive tables

Original tables in TG_Warehouse remain untouched. A new table per archive is created in the TG_Warehouse which can be written modified or deleted.

the TG_Warehouse which can be written modified or deleted. TGNMS_ArcTools_DescriptionV1.02e.doc 20. Juni 2005 Page

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

2. ArcManager and ArcSync

The historical information server HIS in the TGNMS stores all values in the SQL server in the TG_Warehouse. After a crash, problems with RTU's or a restart of the system, gaps or erroneous entries can occur in the archive table what cannot be corrected anymore. Reports or charts will not be correct.

2.1. ArcSync Background Process

ArcSync always runs in the background and makes sure that the clone archive is complete (no gaps) for later update. It has 3 jobs to do:

1. Creates empty timeslots marked with a flag, QualityCode = 4’00’00hex = 262’144. for missing entries from the SCADA system.

2. Counter values are normalized to an overflow at 1'000'000'000

3. Calculates and stores the increment for each period.

MSSQL HIS
MSSQL
HIS
ArcSy nc
ArcSy
nc

The ArcTools create for each selected ar- chive, e.g. ¼ h counters, an own table, a clone, with continues series of ¼ h values.

an own table, a clone, with continues series of ¼ h values. Original table Clone table

Original table

Clone table per archive

Error: missing values 01:00 - 01:45
Error: missing values 01:00 - 01:45

Overflow at 99’999

Error: missing values 01:00 - 01:45 Overflow at 99’999 Overflow at 999’999’999 Calculated new column Increment

Overflow at 999’999’999

Calculated new column Increment
Calculated new column
Increment

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

The ArcSync has to be started automatically after HIS is running and checked periodically. This will be done by a job with the TaskScheduler of Windows with the help of the tool “Start_Program.exe”.

The process ArcSync needs no user interaction. It creates a separate log file.

2.2.

ArcManager

The ArcManager has to be started manually by the operator if needed. It can create a new table per selected archive with only the content of the objects which belong to this archive and period. These archive clones can be manually changed with intelligent tools. Single values or ranges of values can be overwritten, counter values can be synchronized with the local counter. The original HIS tables remain untouched.

Create/delete archive clone, size to be defined in days

manual corrections for values and counters, marked with a flag (quality code)

INV-List for quick finding of invalid entries

synchronizing counter values with local counters

2.2.1. Hand dressing

All marked cells are set to the same value: 84

Hand dressing All marked cells are set to the same value: 84 The modified value cells

The modified value cells are marked by a specific colour until the modification has been stored or can- celled. When the values are stored, the „S“ flag is set for these time slots in the Clone Archive.

flag is set for these time slots in the Clone Archive. TGNMS_ArcTools_DescriptionV1.02e.doc 20. Juni 2005 Page

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

2.2.2. Quick finder INV list

The Clone Archive objects that have neither been archived by the SCADA System as valid (QQ<> 11) nor set by hand- dressing are considered as inva- lid.

In the upper table, the following columns are displayed:

Archiv

Name of the archive

ObjUID

UID of the object

Objekt

Object name

From Time

[From time onwards]

Nbr.

Time of the first INV en- try from the start time onwards Number of invalid val- ues from start time on- wards until now

of invalid val- ues from start time on- wards until now 2.2.3. CV Correcting (Counter values)

2.2.3. CV Correcting (Counter values)

on- wards until now 2.2.3. CV Correcting (Counter values) Problems in TGNMS 1. Counter Value correction

Problems in TGNMS

1. Counter Value correction does not exist as a SCADA function in the TGNMS.

2. In the TG8000 the overflow value is determined depending on RTU type and impulse value. That makes it difficult for further calculations in reports.

3. Replacement of hardware creates jumps in the accumulator.

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

Examples of counter value jumps:

Overflow Limit Corrected values 1 2 3 Periods
Overflow Limit
Corrected
values
1 2
3
Periods

CV Actual state

è In the TGNMS, the counter overflow

2.
2.

is created artificially. In the TG8000,

the overflow value is determined depending on RTU type and impulse value.

Overflow at 99’999

on RTU type and impulse value. Overflow at 99’999 Overflow at 999’999’999 è However, cases 1.

Overflow at 999’999’999

value. Overflow at 99’999 Overflow at 999’999’999 è However, cases 1. After a hardware problem in

è However, cases

1.
1.

After a hardware problem in the RTU the counter value accumulator was reset to zero.

and

3.
3.

can occur during a HW replacement at the RTU.

zero. and 3. can occur during a HW replacement at the RTU. After the problem in

After the problem in the RTU is fixed, we check the local counter and read for 20:30 a value of 999’800.00, but the RTU is now at 64.00. This problem can be solved with a functionality in the ArcManager.

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

We define the correct value at 20:30 and recalculate all entries back until 19:45.

value at 20:30 and recalculate all entries back until 19:45. Confirmation window Values are recalculated between

Confirmation window Values are recalculated between 14.03.2003 19:45 and “actual time”

recalculated between 14.03.2003 19:45 and “actual time” Corrected accumulators Will be marked with the flag “R”

Corrected accumulators Will be marked with the flag “R”

1’00’00hex

Will be marked with the flag “R” 1’00’00hex The third byte quality code is generated by

The third byte quality code is generated by the ArcTools and is also supported in reports.

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

3. The Report Scheduler

This scheduler is always active in the background.

This scheduler is always active in the background. The Scheduler starts periodically at specified times the
This scheduler is always active in the background. The Scheduler starts periodically at specified times the
This scheduler is always active in the background. The Scheduler starts periodically at specified times the
This scheduler is always active in the background. The Scheduler starts periodically at specified times the

The Scheduler starts periodically at specified times the templates. The calculated report sheet will be printed and/or archived as defined.

All the actions run automatically in the background, no user action required.

Manual execution for a time range in the past

After changes in the layout, or when you just missed to execute certain templates you can create all the reports for a time range.

templates you can create all the reports for a time range. The PROT_Creator.xls only works with

The PROT_Creator.xls only works with templates of version 3.01 and higher because of the definition of the execution date.

If you have only a few single days to generate, you can start the template manually with Excel. It will ask you for the date of execution.

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

4. The Report Template

Consists of 3 sheets.

Protokoll (Report, Chart, Calculation) This sheet will be printed and/or saved

u

Info (Report definitions) Time range Day/Week/Month/Year Step Minutes/Day/Month Offset Hours/Day/Date

v

Daten Archive and object definitions Raw values from the clone tables

and object definitions Raw values from the clone tables u Report lines (lines 6-12) different data

u Report lines (lines 6-12) different data representations are possible

Measurands

saved values at the end of a step (step = day in the example)

Average "

Maximum of sub-steps with time. Max_15, Max_60, Max_T

"

Accumulators

Increment, value day begin – end

MaxP

Maximum of all valid values between step begin and end

AveP

Max_60

"

MinA15/

Minimum or Maximum of averages in sub-steps

MaxA60

E.g. Maximum of the day of 1-hour average

v Additional calculations (lines 37-43)

Excel

All standard Excel functions for the lines above

MinMaxAve

Minimum, maximum and average of all valid stored values

MinMaxP15

Minimum and maximum of 15min increments or averages

An Excel AddIn supports additional functions for the presentation of quality codes, UTC, MET, Sum- mer/Winter flag and week numbers.

4.1.

Examples of

reports

Water

Quality code flags are also presented in the reports.

Water Quality code flags are also presented in the reports. TGNMS_ArcTools_DescriptionV1.02e.doc 20. Juni 2005 Page

HUESSER Engineering

CH-8966 Oberwil-Lieli

TGNMS ArcTools Description

Water weekly

Instead of tables also charts can be cre- ated.

Electricity distribution

also charts can be cre- ated. Electricity distribution TGNMS_ArcTools_DescriptionV1.02e.doc 20. Juni 2005 Page
also charts can be cre- ated. Electricity distribution TGNMS_ArcTools_DescriptionV1.02e.doc 20. Juni 2005 Page
also charts can be cre- ated. Electricity distribution TGNMS_ArcTools_DescriptionV1.02e.doc 20. Juni 2005 Page