modelTransition

Flow from stock A to stock B at a given rate

Extends from Interfaces.PartialFlows.UnidirectionalFlow (Flow from Stock A to Stock B).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

This is the prototypical unidirectional flow of matter from stock A to stock B at a given rate. The rate can be either constant (rate) or given by the continuous input u.

Notes

Since this is a unidirectional flow the rate of flow will always be set to zero (causing an event) if the given rate of transition is a negative value.

See also

SwitchingBrokenTransition

Parameters

TypeNameDefaultDescription
OutputTyperateunspecifiedConstant rate of transition (optional)
Structural Parameters
BooleanhasConstantRatefalse= true, if the parameter rate is to be used instead of the variable input u

Connectors

TypeNameDefaultDescription
Connectors.FlowPortportA (from GenericFlow)Flow from/to Stock A
Connectors.FlowPortportB (from GenericFlow)Flow to/from Stock B
Interfaces.Connectors.RealInputuRate input

Components

TypeNameDefaultDescription
RealOutputy (from ThreeSO_rate)Rate information
RealOutputy1 (from ThreeSO_rate)Rate information
RealOutputy2 (from ThreeSO_rate)Rate information

Revisions

  • Value for parameter set to unspecified in v2.1.0.