FlowPortSensor_ControlLevel information for an outside FlowPort |
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.
While the FlowPortSensor only reports the rate of flow, this component additionally reports the Boolean signals (stopInflow, stopOutflow
) received at the outside FlowPort
.
flowPort |
Type: FlowPort Description: Used to represent stock and flow connections |
|
---|---|---|
stock |
Type: RealOutput Description: Current amount in connected stock |
|
stopInflow |
Type: BooleanOutput Description: Report the signal received |
|
stopOutflow |
Type: BooleanOutput Description: Report the signal received |
BusinessSimulation.MoleculesOfStructure.Transceivers Splitting an arbitrary flow into n subflows |