modelCoupledSourceOrSink

Source or sink process driven by stock info output

Extends from StockInfoToFlow (Partial model with stock info input and flow port).

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

TypeNameDefaultDescription
InputTypecoefficient1Constant coefficient
Structural Parameters
BooleanhasRateOutput (from FlowPort)false= true, if the rate is reported via real output connectors
BooleanhasFactorfalse= true, if coefficient is to be multiplied with input u

Connectors

TypeNameDefaultDescription
FlowPortflowPort (from FlowPort)Used to represent stock and flow connections
Connectors.StockInfoInputstockInfoInput (from StockInfoToFlow)
RealInputuInput of factor with regard to coffeficient

Components

TypeNameDefaultDescription
RealOutputy (from FlowPort)Output of current rate of flow
RealOutputy1 (from FlowPort)Output of current rate of flow

Contents

NameDescription
InputType

Revisions

  • Introduced in v2.0.0.