nominal

From ASCEND
Revision as of 07:21, 5 July 2011 by Jpye (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.