modelElasticity
Fractional 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.
In a dynamic relation, a given elasticity coefficient (coefficient) implies that the fractional rate of change for an influenced stock B is proportional to the fractional rate of change for the influencing stock A, which is connected via the stockInfoInput. The factor of proportionality in this case is called the A-elasticity of B. 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 elasticity coefficient can optionally be multiplied by an exogenous input u.
- By setting
coefficient = 1the input u can be used to provide a variable elasticity coefficient.
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 |
| Boolean | isCCR | true | = true, if the factional rate given is assumed to be a continuously compounding rate else the rate will be converted (growing.isCCR) |
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.
