StockPortConnector for stock components |
|
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The StockPort is a composite connector and consists of an acausal connector with the Real potential variable stock indicating the stored amount in a reservoir and the Real flow variable rate indicating the rate of flow into (rate > 0) or out of (rate < 0) the reservoir.
There are also two Boolean output variables, which indicate whether draining the reservoir (stopOutflow) or filling it (stopInflow) is prohibited. Since a generic reservoir will have two ports it is possible to allow inflows and outflows on both ports (standard) or give the stock a clear direction of flow with one port serving as inflow and the other as outflow connector.
| stock |
Causality: None Type: Real Description: Current amount in the stock |
|---|---|
| stopInflow |
Causality: Output Type: Boolean Description: = true, if nothing can flow into the stock |
| stopOutflow |
Causality: Output Type: Boolean Description: = true, if nothing can flow out of the stock |
| rate |
Type: Real Description: Flow that affects the stock |
|---|
|
BusinessSimulation.CausalLoop Splitting a flow into n flows |
|
|
BusinessSimulation.Flows.Unidirectional Flow is only passed on if it fills the connected stock |
|
|
BusinessSimulation.Flows.Unidirectional Flow is only passed on if it drains the connected stock |
|
|
BusinessSimulation.SourcesOrSinks Reservoir (stock/level) with an infinite capacity |
|
|
BusinessSimulation.MoleculesOfStructure.Incubators Basic model of an account with optional interest |
|
|
BusinessSimulation.MoleculesOfStructure.Incubators A reservoir that aggregates multiple stock ports |
|
|
BusinessSimulation.MoleculesOfStructure.Transceivers Splitting an arbitrary flow into n subflows |
|
|
BusinessSimulation.MoleculesOfStructure.Transceivers A single stock drained by an outflow at a given rate |
|
|
BusinessSimulation.MoleculesOfStructure.Transceivers A chain of serially connected reservoirs |
|
|
BusinessSimulation.Sensors Rate of flow information from stock ports |
|
|
BusinessSimulation.Sensors Rate of flow information from stock ports |
|
|
BusinessSimulation.Interfaces.Basics Generic Stock to collect material or information |
|
|
BusinessSimulation.Interfaces.Basics Generic Stock with internal dynamics |
|
|
BusinessSimulation.Interfaces.Basics |
|
|
BusinessSimulation.Interfaces.Basics |
|
|
BusinessSimulation.Interfaces.PartialCLD Partial model of a delay for CLD+ modeling |
|
|
BusinessSimulation.Interfaces.PartialCLD Partial stock forCLD+ modeling |
|
|
BusinessSimulation.Interfaces.PartialSubsystems Partial subsystem with flexible number of connectors |
|
BusinessSimulation.Interfaces.Connectors Used to represent multiple stock connectors |