modelBasicStock

Unrestricted reservoir to store information

Extends from Icons.Stock (General Icon for stocks), Interfaces.Basics.GenericStock (Generic Stock to collect material or information).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

This is the general, unrestricted reservoir of the system dynamics methodology, it accumulates information transported by flow components connected to the StockPorts.

Parameters

TypeNameDefaultDescription
OutputTypeinitialValue0Initial level (should be different from 0 to find non-trivial steady state solution)
OutputTypemaxValueinfMaximum admissable value
OutputTypeminValue-infMinimum admissable value
Advanced
InitializationOptionsinit (from GenericStock)InitializationOptions.FixedValueProvide InitializationOptions (Free, FixedValue, SteadyState)
BooleanuseAssertfalse= true, if leaving the admissable range is to cause an error or warning
BooleancauseErrortrue= true, if leaving the admissable range is to cause an error instead of simply a warning
Structural Parameters
BooleanhasStockInfoOutput (from GenericStock)false= true, if a StockInfoOutput should be added to the stock

Connectors

TypeNameDefaultDescription
StockPortinflow (from GenericStock)Inflow port of the stock
StockPortoutflow (from GenericStock)Outflow port of the stock
StockInfoOutputy_stockInfo (from GenericStock)Optional StockInfoOutput

Components

TypeNameDefaultDescription
RealOutputy (from ThreeSO)Level or rate information
RealOutputy1 (from ThreeSO)Level or rate information
RealOutputy2 (from ThreeSO)Level or rate information
ModelSettingsmodelSettings

Revisions

  • Display of %initialValue in the Icon removed in v.2.1.0; it is now taken care of in Icons.Stock.