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
![]() |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| InputType | coefficient | 1 | Constant coefficient |
| Structural Parameters | |||
| Boolean | hasRateOutput (from FlowPort) | false | = true, if the rate is reported via real output connectors |
| Boolean | hasFactor | false | = true, if coefficient is to be multiplied with input u |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlowPort | flowPort (from FlowPort) | Used to represent stock and flow connections | |
| Connectors.StockInfoInput | stockInfoInput (from StockInfoToFlow) | ||
| RealInput | u | Input of factor with regard to coffeficient |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from FlowPort) | Output of current rate of flow | |
| RealOutput | y1 (from FlowPort) | Output of current rate of flow |
Contents
| Name | Description |
|---|---|
| InputType |
Revisions
- Introduced in v2.0.0.
