Wonderware Finland InBalance Module 59
Model Editor
The Model Editor is used to create a model consisting of nodes and streams. The Model
Editor is implemented as an ArchestrA symbol (internally named IBEditor), inserted in an
InTouch application.
There are four node elements available (located on toolset at upper left corner of the
Model Editor window):
-
”normal” node;
--
”storage” node;
-
“pipeline” node;
-
”environment” node (external source or destination from/to material is coming to or
moving out from system; e.g. oil well or consumer facility).
Adding model elements
Environment node
Select the “environment” node from toolset and drag-drop it to necessary location on the model:
Normal node
Select the “normal” node from toolset and drag-drop it to necessary location on the model.
The
”Add New Node” configuration dialog will be displayed:
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module
Enter the node
Name
and
Description
(optional) and click on the OK - new node is added to the model:
60
The node can be moved to other location by using mouse or keyboard arrow keys; it is also possible to resize the node object by using mouse. Already created node can be edited by double clicking on it and entering new parameters in the
”Node” configuration dialog:
Storage node
Select the “normal” node from toolset and drag-drop it to necessary location on the model.
T he ”Add New Storage Node” configuration dialog will be displayed:
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 61
Name
Node name.
Description
Node description (optional).
Type of Measurement
The available selections are
”Fixed” (errorless), ”Non-Measured” and ”Measured”,
Value
For ”Fixed” and ”Measured” types the accumulation value (storage difference for defined time period) can be entered manually; for ”Measured” type the ”Value” will be used in calculation only in case the””Value” as Primary data source” is checked.
Max. Error %
The measurement precision in %.
Density
Density can be used in case the measured data is not in kg, allowing to calculate the accumulation from stored in Historian measured data or from manually entered value.
”Value” as Primary data source
If checked then manually entered ”Value” will be used in calculation. If not checked then calculation will use stored in Historian measured data.
Value Source
The Historian tagname used to store the measured data for this storage node.
- After clicking ”OK” button, new ”storage” node is created and added to the model:
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module
Pipeline node
Pipeline node is used to configure the pipeline parameters, necessary for leak location detection in gas pipelines. The pipeline node should have one incoming and one outgoing stream.
Select the “pipeline” node from the toolset and drag-drop it to necessary location on the model. A
”New Pipeline” configuration dialog will be displayed:
62
Name
Node name.
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 63
Description
Node description (optional).
Diameter
Pipeline diameter.
Length
Pipeline length.
Pressure Measurement Points
In order to detect a gas leak, at least 2 pressure measurement points (PMP) should be defined for a pipeline node. These PMPs should not be located at the beginning and at the end of the pipeline. The pressures for the beginning and the end of the pipeline will be obtained from the incoming and outgoing streams respectively. To define a PMP, first enter the name, then define the rest of the parameters. There are following parameters:
Distance
Distance of the PMP from the beginning of the pipeline (km).
Type of Measurement
The available selections are ”Fixed” (errorless), ”Non-Measured” and ”Measured”.
Value
For ”Fixed” and ”Measured” types the measurement value can be entered manually; for
”Measured” type the ”Value” will be used in calculation only in case the””Value” as
Primary data source” is checked.
Max. Error %
The measurement precision in %.
”Value” as Primary data source
If checked, then manually entered ”Value” will be used in calculation. If not checked, then calculation will use measured data, stored in Historian.
Value Source
The Historian tagname used to store the measured data for this node.
After clicking ”OK” button, new ”pipeline” node is created and added to the model.
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 64
Stream
Stream is connecting two already created nodes. To create a new stream:
-
Select source node (“environment” node in picture below) and connection points
(connectors) will appear (“environment” node has 4 connectors); place mouse pointer on one of connectors and press mouse left button:
- By holding left mouse button, drag connection over the destination node:
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module
- Select one of the connectors on the destination node and release mouse left button
– the „New Stream” dialog box will be displayed:
65
Name
Stream name.
Description
Stream description (optional).
Type of Measurement
The available selections are ”Fixed” (errorless), ”Non-Measured” and ”Measured”,
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 66
Value
For ”Fixed” and ”Measured” types the measurement value can be entered manually; for
”Measured” type the ”Value” will be used in calculation only in case the””Value” as
Primary data source” is checked.
Max. Error %
The measurement precision in %.
Density
Density can be used in case the measured data is not in kg/s allowing to calculate mass from stored in Historian measured data or from manually entered data.
”Value” as Primary data source
If checked then manually entered ”Value” will be used in calculation. If not checked then calculation will use stored in Historian measured data.
Value Source
The Historian tagname used to store the measured data for this stream.
- After clicking the
”OK” button a new stream is created and added to the model:
Gas Stream
Setting the “Gas Stream” checkbox enables additional configuration tabs “Temperature”,
“Pressure” and “Molar mass”. These tabs allow to configure parameters, necessary for leak location detection in a gas pipeline.
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 67
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 68
In “Temperature”, “Pressure” and “Molar mass” tabs the meaning of fields “Type of
Measurement”, “Value”, “Value Source”, “”Value” as Primary data source” and “Max.
Error %” is the same as in “Mass/Volume” tab described above. There are 2 additional checkboxes “Use global temperature value” and “Use global Molar mass value” in
“Temperature” and “Molar mass” tabs respectively. Setting these checkboxes defines that temperature and molar mass values for the stream should be taken from global parameter
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 69
values. Global parameter values can be configured by selecting the menu command
“Global parameters”. The following dialog box with tabs “Temperature” and “Molar mass” will be displayed:
The parameter “Hydraulic resistance” is common for all streams.
Adjusting location of elements
The connection (endpoint of a stream) can be adjusted/changed by clicking on stream name, selecting end point and dragging it to new location. The stream name location can be changed by clicking on it and dragging to any location. The resizing of nodes and stream names can be done by selecting the element and dragging any corner of the element:
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14
Wonderware Finland InBalance Module 70
Zooming
Model Editor supports zooming from 10% to 1600% - you can select the different zooming by entering % manually or moving slider on the top-right corner of the Model Editor window:
Moving selected area
Model Editor supports possibility to select area (and all elements inside this area) and drag-drop it to necessary new location. The area can be selected by placing the mouse pointer on area corner, clicking mouse left button, moving mouse without releasing left button to other corner of the area and then releasing mouse left button:
All elements inside the selected area now can be moved to new location by using the keyboard arrow keys ( ”up”, ”down”, ”left” and ”right”):
InBalance Ver 1.x User Manual Rev 1.4 PR0016xm14