modelProportionalTransition

Rate of transition is proportional to the amount in stock A

Extends from Icons.UnidirectionalFlow (Icon for unidirectional flow classes), Interfaces.Basics.GenericFlow (Flow Template with two FlowPorts), Interfaces.Basics.ThreeSO_rate (Generic information output for flow elements).

Information

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

The rate of transition from stock A to stock B will be propotional to the amount in stock A:

rate = fractionalRate ⋅ stockA.y

Notes

Since this is a unidirectional flow, the rate of flow will automatically be set to zero (causing an event), if the given rate of transition is a negative value.

See also

Decay, ProportionalSwitching

Parameters

TypeNameDefaultDescription
RatefractionalRateunspecifiedConstant fractional rate of transition (optional)
Structural Parameters
BooleanhasConstantRatefalse= true, if the parameter fractionalRate is to be used instead of the continuous input u

Connectors

TypeNameDefaultDescription
Connectors.FlowPortportA (from GenericFlow)Flow from/to Stock A
Connectors.FlowPortportB (from GenericFlow)Flow to/from Stock B
Interfaces.Connectors.RealInputuFractional rate 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.