Main > Reference Manual > Modeling > Global parameters

A number of global settings and parameters are described here.

Fields

Field Type Description
name normalizedString

Model name.
Default is null.

description string

Free format description.

current dateTime

The 'now' date for the plan.
It distinguishes the past from the future.

logfile normalizedString

File name where all output will be sent to.
If left unspecified, the output appears on the standard output.
If the filename starts with '+' an existing logfile with the same name is being appended to, instead of being overwritten.

Example XML structures

  • Global initialization section
 <plan>
    <name>Demo model</name>
    <description>A demo model demonstrating frePPLe</description>
    <current>2007-01-01T00:00:00</current>
    <logfile>frepple.log</logfile>
 </plan>

Example Python code

  • Global initialization section
    frepple.settings.name = "Plan name"
    frepple.settings.description = "Plan description" 
    frepple.settings.current = datetime.datetime(2007,1,1)
    frepple.settings.logfile = "frepple.log"