CoupledSourceOrSink

Source or sink process driven by stock info output

Diagram

Information

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

This class extends →StockInfoToFlow and adds components to enable flexible definitions of source or sink classes.

Implementation

DiagramView
ModelDiagram.png

Parameters (3)

hasRateOutput

Value: false

Type: Boolean

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

coefficient

Value: 1

Type: InputType

Description: Constant coefficient

hasFactor

Value: false

Type: Boolean

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

Connectors (6)

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

stockInfoInput

Type: StockInfoInput

Description: Input of record with stock-related information

u

Type: RealInput

Description: Input of factor with regard to coffeficient

one

Type: RealInput

Description: Default factor

Components (3)

parCoefficient

Type: ConstantConverter

Description: Constant coefficient (optional)

actualCoefficient

Type: Product_2

Description: Inputs are multiplied

absoluteSensor1

Type: AbsoluteSensor

Description: Reports basic stock–related information

Extended by (2)

Proportionality

BusinessSimulation.CausalLoop

Rate of change is proportional to that of the influencing stock

Elasticity

BusinessSimulation.CausalLoop

Fractional rate of change is proportional to that of the influencing stock

Revisions

  • Introduced in v2.0.0.