You are on page 1of 11

Process Data Processing

Central Task of a SCADA System: Process (raw) Data from a technical Process

250 SCALA offers 2 possibilities

 Self contained Processing functions  Definable Processing Functions of

- Sum, mean value, und extreme values - VBU formula


- Limit violations - VBSE (Visual Basic Scripting Engine)
- Hours of operating counter - FDA (Software SPS)
etc.

Typical Task:
Typical Task:
In dependency of a signal
Generation of
add 2 measurands
a mean value

1 www.andritz.com, 12.12.2011
Self contained Processing Functions
Example Mean Value
Example Mean Value

 Particular PV type "Sum-Mean Value" Parameters for the Mean Value in the OPM
Parameterization in the i
 OPM

Floating (intermediate ) mean value

Value
Resulting mean value for this cycle

Source PV

t [min:s]
00:00

Sample rate (grid)

Cycle Cycle … Time period for generating the mean value


Sample … Source PVs are sampled with that rate
Source ..This process variable is sampled

2 www.andritz.com, 12.12.2011
Lesson: Create and display a „Mean Value“

 Task
 Define a new datapoint „mean value“ within the OPM
 Mean calculation of …Q.VAL

 Display this new datapoint within the picture Plant and Unit_Detail

Important Hint:
Within the OPM there are
massive changes necessary
-Create a new „type“
-Create a new „signal“
-Create a new „image“

3 www.andritz.com, 12.12.2011
Lesson: Create and display an „Operating Cycle Counter“

 Task
 Define a new datapoint „operating cycle counter“ within the OPM
 Counting of state changes of the circuit breaker

 Display this new datapoint within the picture Unit_Detail

Important Hint:
Within the OPM there are
massive changes necessary
-Create a new „type“
-Create a new „signal“
-Create a new „image“

4 www.andritz.com, 12.12.2011
Lesson: Parameterizing of Limit Values

 Task
 Attach limits to the process variable PPx.U1.Q.VAL
 90m³/s:
Danger
 Limit 2: static Alert
 Upper Limit 4 (red) Warning
 80m³/s: Premonition
 Limit 1: static
 Upper Limit 2 (yellow) OK

OPM:

5 www.andritz.com, 12.12.2011
Aufgabe: Grenzwertparametrierung

6 www.andritz.com, 12.12.2011
New definable Process functions

Example (VBU) Formula

 Specific powerful syntax for formulae


- Basic arithmetical operations and
functions (+, -, SIN, SQRT, etc.)
- Logical combinations and functions
(AND, OR, IF THEN ELSE, etc.)
- Terms for the time (absolute und relative)

Different kinds of formulae depending from


 the kind of trigger

- spontaneous formulae
- cyclic formulae
- triggered formulae

HINT:
In the 250 SCALA Online-Help there is a complete documentation of the formula-Syntax
Online-Help | 250 SCALA | Parameters | CAE Reference Manuals | Formulae

7 www.andritz.com, 12.12.2011
Creating an VBU-Formula

 VBU Formulas
Easy definition of formulas

 OPM Formulas
Automatic generated formulas through OPM
(same syntax like VBU Formulas)

 Formula Functions
Function calls with arguments

 Visual Basic Script Engine


Calculation with Visual Basic Script

8 www.andritz.com, 12.12.2011
Lesson: Calculate Active Power

 Task
 Solve this task by means of VBU-Formulae
 Calculate the active Power PW using the input variables U und I
 Act as followed:
 Formula name Power

 Formula type spontaneous

 Parameterize calculation formula


 Assumption: =1
 Load the formula
 An the new process variable PW into the existing building block Training\Unit

HINT:
Process variables can be taken across via Drag & Drop into the formula window.

9 www.andritz.com, 12.12.2011
Aufgabe: Berechnung der Wirkleistung

10 www.andritz.com, 12.12.2011
Lesson: Conditional calculation of active power

 Task
 Adapt the formula calculation in such a manner, that the active power is only
calculated during grid operation GRID_OP.BIN
 You have the choice between two variants of the IF statement

A = IF (B>0) THEN EIN ELSE AUS;

IF (B>0) THEN A=EIN;


ELSE A=AUS;
ENDIF

11 www.andritz.com, 12.12.2011

You might also like