This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The Collector aggregates multiple →StockPort connectors and essentially treats them as if they were connected to one joint reservoir (i.e., a collecting tank). The stock may be filled or drained via any of multiple stock ports (stockMultiPort) or the single stock port (stockPort).
The joint reservoir is internally represented by a stock called collectingReservoir. It is declared with the prefix replaceable and may be redeclared as any of the following stock classes:
collectingReservoir.collectingReservoir will be set as specified by the chosen stock class (e.g., no draining below zero for a MaterialStock) and with regard to the netflow of all flows connected to the stock ports.y_flows given prefix each in v2.2.