modelProportionality
Rate of change is proportional to that of the influencing stock
Extends from Interfaces.PartialCLD.CoupledSourceOrSink (Source or sink process driven by stock info output).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Proportionality expresses the fact that the rate of change for an influenced stock B is proportional to the net rate of change for an influencing stock A, which is connected via the stockInfoInput. The factor of proportionality k is given by the parameter coefficient. The rate of change for the stock B that is connected to the flowPort accordingly is given by the following equation, which uses Newton's dot notation for rates:
Implementation
![]() |
Notes
- The given coefficient can optionally be multiplied by an exogenous input u.
- By setting
coefficient = 1the input u can be used to provide a variable factor of proportionality.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| InputType | coefficient (from CoupledSourceOrSink) | 1 | Constant coefficient |
| Structural Parameters | |||
| Boolean | hasRateOutput (from FlowPort) | false | = true, if the rate is reported via real output connectors |
| Boolean | hasFactor (from CoupledSourceOrSink) | false | = true, if coefficient is to be multiplied with input u |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlowPort | flowPort (from FlowPort) | Used to represent stock and flow connections | |
| Connectors.StockInfoInput | stockInfoInput (from StockInfoToFlow) | ||
| RealInput | u (from CoupledSourceOrSink) | Input of factor with regard to coffeficient |
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 |
Revisions
- Introduced in v2.0.0.
