modelExponentialChange
Exponential growth or decline process
Extends from SourceOrSink (Partial source or sink for causal loop diagramming).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Using the →ExponentialChange component from the SourcesOrSinks package, this component allows to model exponential change at either a constant fractional rate or at an exogneous rate given by the input u_rate.
The process by default is active over the whole simulation run, but can be restricted to an on-off period using tc = TimingChoices.period and the parameters startTime and stopTime. Any given rate—rate or u_rate—can be modified by multiplication with an optionally given input u.
Implementation
![]() |
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OutputType | rate (from SourceOrSink) | unspecified | Constant rate (optional) |
| Structural Parameters | |||
| Boolean | hasRateOutput (from FlowPort) | false | = true, if the rate is reported via real output connectors |
| Boolean | hasConstantRate (from SourceOrSink) | true | = true, if rate is a constant parameter |
| Boolean | hasFactor (from SourceOrSink) | false | = true, if rate 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 |
| 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 (from SourceOrSink) | Factor input | |
| RealInput | u_rate (from SourceOrSink) | 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.
