Transition

Flow from stock A to stock B at a given rate

Information

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

This is the prototypical unidirectional flow of matter from stock A to stock B at a given rate. The rate can be either constant (rate) or given by the continuous input u.

Notes

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

See also

SwitchingBrokenTransition

Parameters (2)

rate

Value: unspecified

Type: OutputType

Description: Constant rate of transition (optional)

hasConstantRate

Value: false

Type: Boolean

Description: = true, if the parameter rate is to be used instead of the variable input u

Connectors (8)

portA

Type: FlowPort

Description: Flow from/to Stock A

portB

Type: FlowPort

Description: Flow to/from Stock B

y

Type: RealOutput

Description: Rate information

y1

Type: RealOutput

Description: Rate information

y2

Type: RealOutput

Description: Rate information

u

Type: RealInput

Description: Rate input

constantRate

Type: RealInput

Description: Conditional connector for constant rate input

actualRate

Type: RealInput

Description: Actual rate to use within the component

Used in Examples (4)

SimpleProductionChain

BusinessSimulation.Examples

A first example

SimpleProductionChainII

BusinessSimulation.Examples

Extending the first example to include replacement purchases

SimpleProductionChainIII

BusinessSimulation.Examples

Further extending the first example to explain new product diffusion

AssemblyLine

BusinessSimulation.Examples

Modeling a production process

Used in Components (8)

UnidirectionalFlow

BusinessSimulation.CausalLoop

Interaction with linear and nonlinear terms

Decay

BusinessSimulation.Flows.Unidirectional

Draining a stock with a given average residence time

ProportionalTransition

BusinessSimulation.Flows.Unidirectional

Rate of transition is proportional to the amount in stock A

Decline

BusinessSimulation.SourcesOrSinks

A stock is drained at a given rate

ExponentialGrowth

BusinessSimulation.SourcesOrSinks

Exponential growth of connected stock

Growth

BusinessSimulation.SourcesOrSinks

A stock is filled at a given rate

Reservoir

BusinessSimulation.MoleculesOfStructure.Transceivers

A single stock drained by an outflow at a given rate

Diffusion

BusinessSimulation.MoleculesOfStructure.Actuators

Social diffusion via direct contacts and/or a basic conversion rate

Revisions

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