Specifying Discrete Additions and Withdrawals to a Pool

In addition to continuous Inflows and Outflow Requests, Pools can also accept discrete changes. In particular, Pools actually compute their Quantity by accounting for discrete changes as follows:

where the sums of the Discrete Additions and Discrete Withdrawals include all that have occurred by time tn.

Discrete Additions and Withdrawals are specified by checking the Additions and/or Withdrawals boxes (in the Discrete Additions & Withdrawal Requests section) and by specifying a link to a discrete change signal A discrete signal that contains information regarding the response to an event. with an Add instruction:

Note that if you check a Additions or Withdrawals checkbox, GoldSim will add new outputs to the element (for Additions, Discrete_Overflow if there is an Upper Bound defined, and for Withdrawals, Discrete_Withdrawals).

An example model which illustrates the use of a discrete additions and withdrawals for a Pool A stock element that integrates and conserves flows of materials. A Pool is a more powerful version of a Reservoir (it has additional features to more easily accommodate multiple inflows and outflows). element (PoolAdvanced.gsm) can be found in the General Examples/Stocks folder in your GoldSim directory (accessed by selecting File | Open Example... from the main menu).