Skip to main content

Set up an eCalc Model

This section first describes how to create your own eCalc™ model file, which consists of the following six separate sections:

InputFunction
TIME_SERIESInput of time dependent variables. For example, production profiles for an installation
FACILITY_INPUTSInput of generator sets, and facility equipment that consumers either power or fuel (with the exception of compressors that are modelled with compressor charts)
MODELSInput of compressor models that use compressor charts. Gas turbines that are directly coupled to a compressor are also included here
FUEL_TYPESInput of the various fuel types used in the specified installation(s)
VARIABLESInput of variables that can reference to in expressions within the YAML set-up file
INSTALLATIONSThis is essentially the only "output" section in the YAML setup file. All the inputs are specified and related to specific platforms/rigs, and whether or not they consume either power or fuel

All of the above are mandatory inputs for eCalc™ to run, except for models (which is an optional, but still important input) and variables.

The section ends with some general information about File formats and syntax, with some specific details about writing Expressions in the YAML file, and some information about how eCalc™ interprets the time input given in various parts of the YAML file.