nominal

From ASCEND
Jump to: navigation, search

The nominal attribute of a real variable in an ASCEND model is used to set the variable's scaling.

Usage:

d_sun IS_A distance; (* distance from Earth to Sun *)
METHODS
METHOD default_self;
   (* set the nominal value of x to 8 light-seconds *)
   x.nominal := 1{LIGHT_C} * 8{s};
END;

See also Scaling, lower_bound, upper_bound, default.