Skip to main content

Advanced settings

ETM environments

The ETM knows a live and a beta environment. The scenario-tools naturally connect to the first one. In the beta environment experimental features are available for testing, before being included in the live version. This makes the beta version more unstable. You can also run the ETM locally, check the contributors section for more info.

When running any of the scripts in the scenario-tools, you can add the arguments beta or local to create or query scenarios on the ETM beta server or your local machine. The latter assumes your local engine runs at localhost:3000 and local model at localhost:4000, but you can change this in config/settings.yml at any time. I.e.:

pipenv run scenario_from_csv beta

or

python scenario_from_csv.py local

Configuring the tool

You can change three different kinds of settings in the configuration file config/settings.yml: input/output folder settings, settings for when you run the model locally, and CSV settings. Here is a quick overview:

SettingWhat does it do?Default value
input_file_folderLocation of the main input files, this can be a full path to anywhere on your computer.data/input
input_curves_folderLocation of where the curve files you wish to use are stored, this can be a full path to anywhere on your computer.data/input/curves
output_file_folderLocation of where all output files should be written to by the tools. Again, this can be a full path to any folder on your computer.data/output
local_engine_urlThe url to ETEngine that should be used when you use the local option in the tools.http://localhost:3000/api/v3
local_model_urlThe url to ETModel that should be used when you use the local option in the tools.http://localhost:4000
csv_separatorThe separator your CSV files are using. Some European computers use ';' instead of ','.,