modelLogisticGrowth
Extends from Interfaces.PartialCLD.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 →LogisticGrowth component from the SourcesOrSinks package, this component allows to model a process of s-shaped growth given a constant maximum fractional growth rate rate and a constant carrying capacity (carryingCapacity). Instead of using constant parameters, it is also possible to use variable inputs (u_rate, u_K).
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) |
| CapacityType | carryingCapacity | Carrying capacity | |
| 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 | hasConstantCapacity | true | = true, if the carrying capacity given is given by a constant parameter |
| 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 | |
| Interfaces.Connectors.RealInput | u_K | Carrying capacity |
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) |
Contents
| Name | Description |
|---|---|
| CapacityType |
Revisions
- Introduced in v2.0.0.
