WILL BE THE SAME

From ASCEND
Revision as of 14:03, 13 May 2010 by UploadBot (talk | contribs) (Restored page from Google Cache, uploaded by John Pye)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WILL_BE_THE_SAME is used in object-oriented modelling to force equality of parameter instances within the WHERE list.


Example:

MODEL constant_flow_rate(
    inlet IS_A steam_stream;
    outlet IS_A mass_rate;

) REFINES steam_equipment(inlet, outlet)
WHERE(
    inlet.mdot, outlet.mdot WILL_BE_THE_SAME

);
    mdot ALIASES inlet.mdot;

    (* ... *)
END constant_flow_rate;

See also WILL_BE, ARE_THE_SAME.