nominal

From ASCEND
Revision as of 07:19, 5 July 2011 by Jpye (talk | contribs) (Created page with '{{DISPLAYTITLE:nominal}} The '''nominal''' attribute of a real variable in an ASCEND model is used to set the variable's scaling. Usage: <source lang=a4c> d_sun IS_A distanc…')
(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 Scaling for more information.