3.4.1.5 Quantity Pool

The quantity pool of the quantity module (see Fig. 3.6) stores all quantities in an array where the quantity class identifier (see Section 3.4.1.1) is used as the index of the array. Quantities of the same carrier type, thus, have the same index and are stored in lists. This allows iteration over all quantities which differ only by their carrier type guaranteeing low overhead. This iteration concept is mandatory in several implementations of models in Minimos-NT.

The quantity pool contains all quantities of the current simulation and is implemented as a class which supports interface functions, e.g, to add, remove, or dump quantities. Iterators are implemented to iterate over all quantities used in the current simulation. This is mandatory to write all quantities back to the IO module after successfully solving one simulation point.

Robert Klima 2003-02-06