modelSourceOrSink
Partial source or sink for causal loop diagramming
Extends from TimedSource (Partial class for flow port with timing).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Partial class extending →FlowPort to build processes of growth or decline at the system's border.
Implementation
![]() |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OutputType | rate | unspecified | Constant rate (optional) |
| Structural Parameters | |||
| Boolean | hasRateOutput (from FlowPort) | false | = true, if the rate is reported via real output connectors |
| Boolean | hasConstantRate | true | = true, if rate is a constant parameter |
| Boolean | hasFactor | false | = true, if rate is to be multiplied with input u |
| Timing | |||
| TimingChoices | tc (from TimedSource) | TimingChoices.permanent | Select whether contoll is permanent or timed |
| Time | onTime (from TimedSource) | modelSettings.modelStartTime | Time for component to become effective |
| Time | offTime (from TimedSource) | modelSettings.modelTimeHorizon | Time for component to become ineffective |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlowPort | flowPort (from FlowPort) | Used to represent stock and flow connections | |
| RealInput | u | Factor input | |
| RealInput | u_rate | Rate input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from FlowPort) | Output of current rate of flow | |
| RealOutput | y1 (from FlowPort) | Output of current rate of flow | |
| ModelSettings | modelSettings (from TimedSource) |
Revisions
- Introduced in v2.0.0.
