Single Variable Histogram
From SysCADWiki
Navigation: Main Page -> Models -> Process Control Models
This model was released as part of build 126.
This model is used in Dynamic Simulation only.
The Single Variable Histogram can be used to calculate and display statistical information about one variable. The Histogram graphic can be displayed by holding down the shift key and left mouse clicking on the Single Variable Histogram graphical symbol. From the menu, select "Histogram" and place on the flowsheet.
| Tag / Symbol | Input / Calc | Description |
| Mode; | ||
| Tag | Output | Displays the tag name of the unit. |
| Condition | Output | OK if no errors, otherwise displays error message. |
| EqpDesc | Input | Optional unit description field. |
| Logging | Tick box | When ticked, the model will log data and perform calculations. |
| StatTag | Input | The tag which will be logged, graphed and calculations performed on its values. |
| Reset | Button | This will reset the calculations and histogram. |
| Auto_Reset | Tick box | If ticked, the calculations and histogram will be reset at the beginning of every time the model is rerun. |
| HistoMin | Input | The minimum value to be shown on the histogram. Any values lower than this will be shown as a single bar on the histogram. |
| HistoMax | Input | The maximum value to be shown on the histogram. Any values higher than this will be shown as a single bar on the histogram. |
| HistoCount | Input | The number of intervals to be shown on the histogram. This excludes the bar for values which are under the specified minimum and the bar for values which are over the specified maximum. |
| Graph_Units | List | The units to be used on the histogram. This list will change depending on the tag chosen for StatTag. |
| Avg | Calc | The average of the logged values of the specified tag since the model was last reset. |
| StdDev | Calc | The standard deviation of the logged values of the specified tag since the model was last reset. |
| Min | Output | The minimum value of the specified tag since the model was last reset. |
| Max | Output | The maximum value of the specified tag since the model was last reset. |
| N | Output | The number of values of the specified tag logged since the model was last reset. |
| The following tags appear on the Histogram tab page. | ||
| ... | ||
| RSHR | Output | The number of values (records) of the specified tag logged since the model (histogram) was last reset. |
| Buckets.[Bucket Number]... | ||
| The buckets are simply the intervals on the histogram. The number of buckets = HistoCount + 2 | ||
| Min | Output | The minimum value of the specified tag since the model was last reset for this bucket/interval. |
| Max | Output | The maximum value of the specified tag since the model was last reset for this bucket/interval. |
| Count | Output | The number of values which fit into this bucket/interval. |
Note: If the value of the stattag is not a number (NAN) (shown as a "*"), then this will be counted as outside the range and put into the last bucket/interval.
