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

TypeNameDefaultDescription
Connectors.FlowPortmassPort (from GenericSourceOrSink)Inflow to or outflow from connected stock

Components

TypeNameDefaultDescription
RealOutputy (from ThreeSO_rate)Rate information
RealOutputy1 (from ThreeSO_rate)Rate information
RealOutputy2 (from ThreeSO_rate)Rate information