WILL_BE_THE_SAME

From ASCEND
Jump to: navigation, 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.