Experiment and CMF files


While shock files (*.SHF) and closure files (*.CLS) are useful, experiment files (*.EXP) are the preferred way of managing simulations. They contain a subset of the commands found in CMF files.

An EXP file contains:

full details of a closure

full details of shocks

the name of a parameter file

a solution method

a one-line description of the experiment

When RUNGTAP loads an EXP file it extracts all the EXOGENOUS statements and puts them in the box on the Closure page. It extracts all the SHOCK statements and puts them in the box on the Shocks page. It extracts METHOD and STEPS statements and updates the currently selected solution method accordingly. It extracts the VERBAL DESCRIPTION, if any, and loads it into an edit box on the Solve page. It uses the line file gtapparm = .. to determine which parameter file is to be used. Other statements in the EXP file are ignored {although future versions of RUNGTAP might use some of these; also see notes below on comments}

When RUNGTAP does a simulation it constructs and runs a temporary CMF file as follows. First it takes the entire contents of the CMFSTART file usually present in the version subdirectory. Then it adds various hard-wired file names and the name of the current parameter file. Then it adds METHOD and STEPS statements based on the currently selected solution method. Using the contents of the Description edit box on the Solve page, it adds a VERBAL DESCRIPTION statement. Then it appends the contents of the box on the Closure page, followed by the contents of the box on the Shocks page.



URL of this topic: www.copsmodels.com/webhelp/rungtap/hc_expcmf.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage