modelSourceOrSink
Source or sink with regard to a connected stock
Extends from Basics.GenericSourceOrSink (SinkOrSource template with one flow port), Icons.SourceOrSink (General icon for sources or sinks).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Partial model extending from the →GenericSourceOrSink base class. This partial class can be used to model SourceOrSink components using equations to assign a value to the Real variable rate.
Notes
A positive value for rate will fill the connected stock; the reported rate (y, y1, y2) will follow this convention.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.FlowPort | massPort (from GenericSourceOrSink) | Inflow to or outflow from connected stock |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from ThreeSO_rate) | Rate information | |
| RealOutput | y1 (from ThreeSO_rate) | Rate information | |
| RealOutput | y2 (from ThreeSO_rate) | Rate information |