CONTINUOUS_MODEL WatSplit ABSTRACT "n-way SPLIT of a WATer stream w PMT link. No pressure drop. Each outgoing stream may be multiplied by a factor, mult[i], that from the inlet's point of view increases the flow into the outgoing stream. This is used to represent multiple consumers as a single stream. " EQUATIONS SUM i = 1, nOut mult[i]*MOut[i] END_SUM = M_In; LINKS PMT Inlet P, POS_IN M_In, T; FOR i = 1, nOut PMT Outlet[i] P, POS_OUT MOut[i], T; END_FOR; VARIABLES /* type name role def min max description */ Pressure P IN 600 0 BIG "Pressure of entering and leaving water" Temp T IN 15.0 ABS_ZERO BIG "Temperature of entering and leaving water" MassFlow MOut[nOut] IN 0.05 0 BIG "Leaving dry water rate" MassFlow M_In OUT 0.75 0 BIG "Entering dry water rate" MODEL_PARAMETERS /* type name role def min max description */ Int nOut SMP 1 1 BIGINT "Number of outlet streams" PARAMETERS /* type name role def min max description */ Factor mult[nOut] S_P 1 SMALL BIG "Outlet stream multiplier, see abstract" END_MODEL