Flow Statistics

From SysCAD Documentation
Jump to: navigation, search

Navigation: Main Page -> Models -> Statistical Models


NOTE this page is only valid for SysCAD 9.3 or later versions. For Help for SysCAD 9.2, see Flow Statistics (SysCAD 9.2)

Introduction

This model is used in Dynamic Simulation only.

The Flow Statistics unit operation can be used to collect statistical information of a flow variable. Some Valid example of the Flow Stats Measured Tags are:

  1. For Pipes/Direct Links: P_001.Qo
  2. For Ties: X_001.QFeed
  3. For Makeup Source: ProcessWater.QProd

For other variables, for example Level of a tank, valve opening position, pump speed and so on; use the General Statistics model.

The Flow Statistics can be reset at Startup by selecting the Statistics tick box on the SysCAD Commands View | Dynamic Configuration - Scenario Tab.

NOTE: User can also use the built in Statistics block in a pipe to collect flow information.

Data Sections

Summary of Data Sections

  1. Flwstats tab - Contains general information relating to the unit as well as a summary table of each individual statistical blocks.
  2. S1 tab - The Flow Stat blocks will be displayed here.
  3. Info tab - Contains general settings for the unit and allows the user to include documentation about the unit and create Hyperlinks to external documents.

Flow Statistics Page

Class: Flwstats

Symbol / Tag Input / Calc Description

Common First Data Section

 
On Tick box Enable or disable all of the independent Flow Stats Blocks.
The following message and field is visible when upgrading the project with existing Flow Stat Blocks from SysCAD 9.2 (or earlier) to SysCAD 9.3.
Change numbering to start from 1 instead of 0.
ChangeNumbering Button Update Numbering to Start from 1 instead of 0. Only visible if the Flow Stat Blocks was added in SysCAD 9.2 or earlier version.
NB: this may affect external tag references such as reports, PGM, please adjust the external references appropriately if updating the numbering.
Count Input The number of independent Statistics blocks required. This may be any number from 1 upwards.
Check Tags Button SysCAD will perform a check on the validity of the tags used.
Reset_All Button Resets all the data collected in the model.
Summary This is only available in SysCAD 9.3 and shows a summary table with the following values for each individual Stats block in the unit.
Sx Display The Flow Stats block number
Time Display The elapsed time.
TotalMass / Mt Display The total mass.
MassFlowAvg / QmAvg Display The average mass flow over total time (including no flow time).
MeasTag Display The measured Flow Stats tag.
TimeNoFlow / TimeZero Display The total time where the unit has no flow.
OnQmAvg Display The average flow over time where unit is on (excluding no flow time).

S1 Page

Symbol / Tag Input/Calc Description/Calculated Variables / Options
Each independent Statistics block has the following layout. If there is not enough space to display all blocks on the tab page, a second tab page will be created.
Cfg.[Statistics Block number]
Name Input Name of the statistics block. Eg. Production
Type Qm Only the total mass flow tags will be visible.
Qm,Qv Total mass and volume flow tags will be visible.
Qm,Phases Total mass flow and phase mass flow tags will be visible.
Qm,Qv,Phases Total mass and volume as well as phase mass flow tags will be visible.
MeasTag Input This is the variable where statistics information will be collected.
For Example, when getting a pipe flow rate, enter either "P_001.Qi" or "P_001.Qo". Tags returned are: "P_001.Qo.Qm", "P_001.Qo.Qv", "P_001.Qo.LQm" and "P_001.Qo.SQm"
Other examples include: "TNK_001.QFeed", "X_001.QProd".
ResetStats Button Resets the Statistics information.
Time Calc Time elapsed.
MassFlow / Qm Calc The current mass flow rate.
TotalMass / Mt Calc The total mass passed through the unit operation.
MassFlowAverage / QmAvg Calc The average mass flow over total time.
TimeNoFlow Calc The total time where the unit has no flow.
TimeInvalidFlow / TimeInvalid Calc The time where the unit has a value which is not a number (NAN) (shown as '*').
OnMassFlowAverage / OnQmAvg Calc The average flow over (Total time – Time with Zero Flow).
MinMassFlow / QmMin Calc The minimum flow over Total time.
MaxMassFlow / QmMax Calc The maximum flow over Total time.
VolFlow / Qv Calc The volumetric flowrate.
TotalVol / Vt Calc The total volume passed through the unit operation.
VolFlowAverage / QvAvg Calc The average volumetric flowrate over total time.
SolidsMassFlow / SQm Calc The current Solids Flowrate.
SolidMass / SMt Calc The total Solids passed through the unit operation.
SolidMassFlowAvg / SQmAvg Calc The average solids flowrate over total time.
LiquidMassFlow / LQm Calc The current Liquid Flowrate.
LiquidMass / LMt Calc The total Liquids passed through the unit operation.
LiquidMassFlowAvg / LQmAvg Calc The average Liquid flowrate over total time.
Delete Button This allows the user to Delete the current individual Control block. Please note that there is no 'Undo'!
MoveUp Button This allows the user to increase the Priority of the current individual Control block. For example, if the current Control block is number 3, the user can change it to 2 or 1 by clicking on this button once or twice.
MoveDown Button This allows the user to decrease the Priority of the current individual Control block. For example, if there are 3 Control blocks in the unit and the current Control block is number 1, the user can change it to 2 or 3 by clicking on this button once or twice.

Adding this Model to a Project

Insert into Configuration file

Sort either by DLL or Group.

 

DLL:

ControlDyn.dll

Units/Links

Statistics: Flow

or

Group:

General

Units/Links

Statistics: Flow

See Project Configuration for more information on adding models to the configuration file.


Insert into Project

 

Insert Unit

Statistics

Flow

See Insert Unit for general information on inserting units.