Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Global Settings

Input for setting global parameters for the LtmApi.

Required input

The global settings must include the following required input:

Required input

ParameterTypeDescription
namestringObject name
output_pathstringOutput and runtime directory where LTM will read and write
simulation_periodTxyWith timestamps and optional scenarios, see Simulation period
historical_periodTxyWith timestamps and optional scenarios, see Historical period
timesteps_per_weekintTemporal resolution for each EFI-week (option 1)
intraweek_timestepsTxyTakes timestamps and scenarios (option 2), see LTM-core short-term period

Setting the temporal resolution for each EFI-week must be specified by one of the two attributes:

as explained in LTM-core short-term period.

Minimal example JSON

Minimal example

"global_settings": {
    "name": "fbmc",
    "output_path": "testout_fbmc/",
    "simulation_period": {
        "timestamps": [
            "2024-01-01T00:00:00Z",
            "2026-12-28T00:00:00Z"
        ]
    },
    "historical_period": {
        "timestamps": [
            "1981-01-01T00:00:00Z",
            "1989-01-01T00:00:00Z"
        ]
    },
    "timesteps_per_week": 56
}

Optional input

optional settings include

Global Settings optional input

ParameterTypeDescription
water_value_periodTxySee Water value period
forecast_periodTxyTimestamps and optional scenarios
data_periodTxySee Data period
historical_typestringCalendar system used for historical period, see Historical period
simulation_typestring“serial” or “parallel”, see Simulation modes
model_typestringSpecifies the simulator type. Options are “EOPS” and “EMPS”
ltm_license_file_pathstringPath to LTM license file (relative or absolute)
interest_ratedoubleWeekly discount rate for income/expenses (present value)
generate_output_dirbooleanIf true, creates subdirectories under output_path
#commentstringUser comment
max_iterationsintMax iterations for area water value calculations
precisiondoubleMax allowed deviation in water value calculation
default_max_iterations_batteryintMax iterations for battery areas
default_precision_batterydoubleMax allowed deviation for battery areas
delete_output_dirbooleanDelete runtime directory after execution
ignore_stopwordsbooleanContinue execution despite EMPS/EOPS log errors
allow_validation_failuresbooleanIgnores validation failures
fbmcbooleanActivate Flow-Based Market-Coupling, see FBMC example
fbmc_periodTxyThe period for which the FBMC functionality is active. The period start must always match the simulation period start
jao_data_sourcestringJAO data source (file) with PTDF data. Reads FBMC input files following the JAO data structure on .json format.
export_directory_pathstringDirectory to export to, see Exporting of results
export_settingsvariesSpecifies which data to export, see Exporting of results
export_targetvariesSpecifies exporter target type, see Exporting of results
num_processesintNumber of parallel (MPI) processes
ethadoubleCorrection factor for local transmission losses
metadatajsonUser metadata