SourceOrSink

Partial source or sink for causal loop diagramming

Diagram

Information

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

Partial class extending →FlowPort to build processes of growth or decline at the system's border.

Implementation

DiagramView
ModelDiagram.png

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

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

Extended by (3)

LogisticGrowth

BusinessSimulation.CausalLoop

S-shaped logistic growth process

LinearChange

BusinessSimulation.CausalLoop

Process of growth or decline at given rate

ExponentialChange

BusinessSimulation.CausalLoop

Exponential growth or decline process

Revisions

  • Introduced in v2.0.0.