SCADA Input
Description of the SCADA Input component functionality in Schematic Editor
Description
SCADA input component outputs a value defined during a simulation. The component automatically adds a control widget in the Model Settings panel. This way, the value of the component can be changed during the simulation using widgets and HIL API command (set_scada_input_value()).
In TyphoonSim, SCADA input component outputs value defined as default value.
Ports
- Output (out)
- The output that is defined during the simulation.
- Supported types: uint, int and real.
- The output type is determined by the Signal type property.
- Vector support: no.
- Supported types: uint, int and real.
- The output that is defined during the simulation.
General (Tab)
- Signal type
- Select the type of the output signal. Supported signal types are real, int, and uint.
- Min
- Type in the minimum value allowed to be set on the SCADA input component.
- Minimum possible values are:
- 0 for uint
- -2147483648 for int
- -3.4028235e+38 for real
- Max
- Type in the maximum value allowed to be set on the SCADA input component.
- Maximum possible values are:
- 4294967295 for uint
- 2147483647 for int
- 3.4028235e+38 for real
- Default value
- Type in the initial value of SCADA Input.
- In real-time simulation, default value is applied during model load to HIL Device. It is not applied during Model Reload.
- In TyphoonSim, default value will be applied as output value of the component.
- Unit
- Type in the unit of the signal set on the SCADA Input component.
- In real-time simulation, this is just a label that will be shown next to the control widget of the related SCADA Input in the Model Settings panel.
- In TyphoonSim, this property will have no effect in simulation.
- Execution rate
- Type in the desired signal processing execution rate. This value must be compatible with other signal processing components of the same circuit: the value must be a multiple of the fastest execution rate in the circuit. There can be up to four different execution rates. To specify the execution rate, you can use either decimal (e.g. 0.001) or exponential values (e.g. 1e-3) in seconds. Alternatively, you can type in ‘inherit’ in which case the component will be assigned execution rate based on the execution rate of the components it is receiving input from.
Extras (Tab)
The Extras tab gives you the opportunity to set Signal Access Management for the component.
Signal visibility is calculated based on the 'signal_access' property and whether or not
a parent component in its hierarchy is locked or not. Components that are not contained
within locked components expose their signals regardless of the 'signal_access'
property. The 'signal_access' property can have one of three values:
- Public - Components marked as public expose their signals on all levels.
- Protected - Components marked as protected will hide their signals to components outside of their first locked parent component.
- Inherit - Components marked as inherit will take the nearest parent 'signal_access' property value that is set to a value other than inherit.