LinearChange

Process of growth or decline at given rate

Diagram

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 (7)

hasRateOutput

Value: false

Type: Boolean

Description: = true, if the rate is reported via real output connectors

tc

Value: TimingChoices.permanent

Type: TimingChoices

Description: Select whether contoll is permanent or timed

onTime

Value: modelSettings.modelStartTime

Type: Time (s)

Description: Time for component to become effective

offTime

Value: modelSettings.modelTimeHorizon

Type: Time (s)

Description: Time for component to become ineffective

rate

Value: unspecified

Type: OutputType

Description: Constant rate (optional)

hasConstantRate

Value: true

Type: Boolean

Description: = true, if rate is a constant parameter

hasFactor

Value: false

Type: Boolean

Description: = true, if rate is to be multiplied with input u

Connectors (5)

flowPort

Type: FlowPort

Description: Used to represent stock and flow connections

y

Type: RealOutput

Description: Output of current rate of flow

y1

Type: RealOutput

Description: Output of current rate of flow

u

Type: RealInput

Description: Factor input

u_rate

Type: RealInput

Description: Rate input

Components (7)

modelSettings

Type: ModelSettings

Description: Setting important global variables within a model

onOff

Type: PulseInput

Description: Generate pulse or pulse-train signal of real input

permanent

Type: ConstantConverter

Description: A constant value is turned into a constant signal

parFactor

Type: ConstantConverter

Description: A constant value is turned into a constant signal

actualRate

Type: Product_3

Description: Inputs are multiplied

parRate

Type: ConstantConverter

Description: A constant value is turned into a constant signal

linearlyChanging

Type: ExogenousChange

Description: A stock is filled or drained at a given rate

Revisions

  • Introduced in v2.0.0.