Flow Statistics
From SysCAD Documentation
Navigation: Main Page -> Models -> Statistical Models
This model is used in Dynamic Simulation only.
The Flow Statistics unit operation can be used to collect statistical information of a flow variable. 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 stats block in a pipe to collect flow information.
| Tag / Symbol | Input / Calc | Description |
| On | Tick box | Enable or disable all of the independent Flow Stats Blocks. |
| Number_of_ Stats | Input | The number of independent Statistics blocks required. This may be any number from 0 upwards. The user may also change this number at any time. However, the unit will always add new Statistics blocks after existing ones, and it will delete them starting from the last block. E.g. if you have 5 Statistics blocks set up and you change this to 4, Statistics block number 5 will be deleted. So if you do not want Statistics block number 1, use the priority field to change its display order then delete it by reducing the Number of Stats by 1. |
| 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. |
| State | Output | The state of the Statistics block. If everything is correct and operating normally, the user will see ‘OK’ in this box. Otherwise the unit will flag an error message, which helps the user to locate the problem. |
| MSG_1 to MSG_2 | Output | Any errors will be reported here. These messages are also displayed in the message window. |
| Each independent Statistics block has the following layout. If there is not enough space to display all blocks on the first tab page, a second tab page will be created. | ||
| Cfg.[Statistics Block number] | ||
| Desc | Input | Optional description of the statistics block. |
| Type | List Box | Selection of a combination of Qm, Qv and Phases. The options selected will show/hide some fields. |
| QmTag | Input | This is the variable where statistics information will be collected. Eg: P_1.Qm (kg/s). |
| Reset_Stats | Button | Resets the Statistics information.. |
| Tm / Time | Calc | Time elapsed. |
| Qm / Mass Flow | Calc | The current mass flow rate. |
| Mt / Total Mass | Calc | The total mass passed through the unit operation. |
| QmAve / Mass Flow_Average | Calc | The average mass flow over total time. |
| TimeNoFlow | Calc | The time where the unit has no flow. |
| TimeInvalid | Calc | The time where the unit has a value which is not a number (NAN) (shown as '*'). |
| OnQmAve/ On_Average | Calc | The average flow over (Total time – Zero Time). |
| QmMin/ Min_MassFlow | Calc | The minimum flow over time. |
| QmMax/ Max_MassFlow | Calc | The maximum flow over time. |
| Qv/Vol_Flow | Calc | The volumetric flowrate. |
| Vt/TotalVol | Calc | The total volume passed through the unit operation. |
| QvAve/VolFlow_Average | Calc | The average volumetric flowrate over total time. |
| SQm/ SolidsMassFlow | Calc | The current Solids Flowrate. |
| SMt/ solidTotalMass | Calc | The total Solids passed through the unit operation. |
| SqmAve/ solid MassFlowAve | Calc | The average solids flowrate over total time. |
| LQm/ LiquidMassFlow | Calc | The current Liquid Flowrate. |
| LMt/ LiquidTotalMass | Calc | The total Liquids passed through the unit operation. |
| LqmAve/Liquid MassFlowAve | Calc | The average Liquid flowrate over total time. |
| Priority | Input | If more than one Statistics block is used, the user may set the priority of the blocks. This changes the order of the blocks are displayed. If the user wants to delete an unwanted block, assign it with the lowest priority (thus the largest number) to move it to the last position. The delete it by change the number of blocks number to x-1. |
Adding this Model to a Project
Insert into Configuration file
Sort either by DLL or Group.
|
|
DLL: |
Control1.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.
