|
Other possible conventions |
Top Previous Next |
|
In addition one may develop a number of other conventions. Paul Leiby at Oak Ridge National Laboratory sent me the following
PARAMETER VEHSALES(r) REGIONAL VEHICLE SALES use PARAMETER VEHSALES(r) "Regional vehicle sales ($ millions/yr)"
This will cause the units to be shown with every DISPLAY statement for that parameter or variable, and can be a time-saver when interpreting results or entering data.
Allowing the use of special characters, such as "$", "-" or "&" Applying a distinct separator for the Descriptor field, demarking it and emphasizing that it is a text string
With respect to the last suggestion above such a log can be entered in GAMS statements as is done in the FASOM model using a set specified like
version(*,*,*,*)
and accompanied by commands in the code like
version("filename","may","19","2002")=yes;
then in final model I display the set version so it shows me the time of alterations in the various model components and allows me to make sure my version is synchronized with others.
display version;
One other suggestion
|