modelUnidirectionalFlow
Interaction with linear and nonlinear terms
Extends from Interfaces.PartialCLD.Flow (Partial interaction for causal loop diagramming).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Using →Transition this component allows to model a transition from stock A (connected to portA) to stock B (connected to portB) at a rate given by the parameter rate. The parameter rate is multiplied either with 1 (hasFactor = false) or an exogenous factor u (hasFactor = true). Upon setting hasRateOutput = true the component will report the current rate of flow via an output connector (y).
Notes
- Using
rate = 1andhasFactor = truea unidirectional flow can be modeled, whose rate is given by the input u. Note that negative values will be clipped to zero as only flows from A to B are permitted. - The parameters
polAandpolBallow to give visual cues with regard to polarity in the diagram.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Rate | rate | 1 | Base rate of flow from A to B |
| Structural Parameters | |||
| Boolean | hasFactor (from Flow) | false | = true, if coefficients are to be multiplied with input u |
| Boolean | hasRateOutput (from Flow) | false | = true, if the rate is reported via real output connectors |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.FlowPort | portA (from Flow) | ||
| Connectors.FlowPort | portB (from Flow) | ||
| Connectors.RealInput | u (from Flow) | Factor input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from Flow) | Output of current rate of flow | |
| RealOutput | y1 (from Flow) | Output of current rate of flow |
Revisions
- Introduced in v2.0.0.
- Fixed that
ratewas not used in v2.1.0