Computing Outputs Using Stock and Delay Elements
Lesson 2, page 6 of 12
Stock and Delay Elements The basic building blocks with which a GoldSim model is constructed. Each element represents a feature, pararamer, process or event in the model. are specialized Function elements with the unique property that their outputs are influenced by what has happened in the past. That is, unlike standard Function elements, whose outputs at any given time are computed based solely on the current (instantaneous) values of their inputs, the outputs of these elements are determined by the previous values of their inputs. Such elements accumulate past events and provide systems with inertia and memory, and hence are responsible for internally generating the dynamic behavior of a system A subunit of the world separated by a boundary from the rest of the world. The description of the system is comprised of the relations within the system as well as those characterizing the action of the outside world on the system..
An example of a Stock element is the Reservoir A Stock element that integrates and conserves flows of materials.:
A Reservoir accumulates materials, and is useful for representing things like quantities of materials or items (e.g., water, soil, widgets). In its simplest form, a Reservoir requires as inputs an Initial Value, a Rate of Addition and a Rate of Withdrawal, and outputs a Current Value using the following equation:
An example of a Delay element is the Material Delay A Delay element that delays (while conserving) flows of materials..
Delays allow you to represent processes in which the output lags the input. The Material Delay accepts as input a flow of material (e.g., gal/day, $/yr, widgets/hr), moves it through a "conveyor" or "pipeline" (while optionally dispersing it), and then outputs the flow. Such an element can be used to represent such processes as the movement of water through soils or the movement of parts on a conveyor.