modelFlowPortSensor_Control
Level information for an outside FlowPort
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This component is typically used to build submodels where the information regarding the amount in a connected stock needs to be extracted from an outside FlowPort.
For example, the FlowPortSensor is used inside the SourceOrSink component ExponentialGrowth, where the level information is needed for the stock as it will be multiplied with a fractional rate to obtain the actual rate for the component's flow into the stock.
Notes
While the FlowPortSensor only reports the rate of flow, this component additionally reports the Boolean signals (stopInflow, stopOutflow) received at the outside FlowPort.
See also
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.FlowPort | flowPort | ||
| Interfaces.Connectors.RealOutput | stock | Current amount in connected stock | |
| Interfaces.Connectors.BooleanOutput | stopInflow | Report the signal received | |
| Interfaces.Connectors.BooleanOutput | stopOutflow | Report the signal received |