modelLinearChange

Process of growth or decline at given rate

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 →ExogenousChange component from the SourcesOrSinks package, this component allows to model linear (additive) change at a given a constant 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

DiagramView
ModelDiagram.png

See also

ExponentialChange, LogisticGrowth

Parameters

TypeNameDefaultDescription
OutputTyperate (from SourceOrSink)unspecifiedConstant rate (optional)
Structural Parameters
BooleanhasRateOutput (from FlowPort)false= true, if the rate is reported via real output connectors
BooleanhasConstantRate (from SourceOrSink)true= true, if rate is a constant parameter
BooleanhasFactor (from SourceOrSink)false= true, if rate is to be multiplied with input u
Timing
TimingChoicestc (from TimedSource)TimingChoices.permanentSelect whether contoll is permanent or timed
TimeonTime (from TimedSource)modelSettings.modelStartTimeTime for component to become effective
TimeoffTime (from TimedSource)modelSettings.modelTimeHorizonTime for component to become ineffective

Connectors

TypeNameDefaultDescription
FlowPortflowPort (from FlowPort)Used to represent stock and flow connections
RealInputu (from SourceOrSink)Factor input
RealInputu_rate (from SourceOrSink)Rate input

Components

TypeNameDefaultDescription
RealOutputy (from FlowPort)Output of current rate of flow
RealOutputy1 (from FlowPort)Output of current rate of flow
ModelSettingsmodelSettings (from TimedSource)

Revisions

  • Introduced in v2.0.0.