modelDecline

A stock is drained at a given rate

Extends from Interfaces.Basics.GenericSourceOrSink (SinkOrSource template with one flow port), Icons.Sink (General icon for sinks).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

Decline can be used to model an outflow from a stock into a sink with infinite capacity outside the border of the system in focus. The rate of flow can either be set by the real input u (hasConstantRate = false) or by the parameter rate (hasConstantRate = true).

Notes

  • The rate of flow has to be non-negative as the connected stock should never be filled. A negative rate of flow will be set to zero internally.

  • If the connected stock might also be filled, →ExogenousChange should be used.

See also

GrowthExogenousChange 

Parameters

TypeNameDefaultDescription
OutputTyperateunspecifiedConstant rate of decline (optional)
Structural Parameters
BooleanhasConstantRatefalse= true, if the constant rate is used instead of an exogenous input u

Connectors

TypeNameDefaultDescription
Connectors.FlowPortmassPort (from GenericSourceOrSink)Inflow to or outflow from connected stock
Interfaces.Connectors.RealInputuRate of decline given as exogenous input

Components

TypeNameDefaultDescription
RealOutputy (from ThreeSO_rate)Rate information
RealOutputy1 (from ThreeSO_rate)Rate information
RealOutputy2 (from ThreeSO_rate)Rate information

Revisions

  • Value for parameter set to unspecified in v2.1.0.