Loaders

class trident.loaders.ltmv10.LTMV10ModelLoader(**kwargs: Unpack[LTMV10ModelLoaderParams])

Bases: ModelLoader

Loader for LTMV10 datasets

__init__(**kwargs: Unpack[LTMV10ModelLoaderParams])

Initializes the loader

Parameters:
  • ltmv10_path (str) – Path to the LTMv10 dataset directory

  • load_brensel_arch (bool) – Load the fuel type archive. Assumes the file BRENSEL.ARCH exists.

  • load_emps_water_values (bool) – Load emps water values.

  • check_pump_dummy_discharge (bool) – Ignore upward discharge paths adjacent to pump paths

  • load_thermal (int) – Load market steps that represent thermal plants as thermal plants. Note that in some versions of the LTMV10 dataset format, it is not possible to distinguish thermal plants from other market steps with power type 10. Thermal plants are identified by having either power type 3 or by having power type 10 together with startup costs.

  • load_price_elasticity_from_enmd (bool) – Whether to load price elasticty from .ENMD files. If false, will load price elastic steps from TimeSeries.h5. (deprecated)

  • preprocess_firm_load_with_temperature_correction (bool) – Preprocess firm load time series with temperature corrections from Dellast_data.h5 (deprecated)

  • exogenous_price_dithering (float) – Small offset to exogenous price to avoid simultaneous use of exogenous purchase and sale

  • load_discharge_head_dependencies (bool) – Sets if the loader should load head dependent dishcarge information

create_default_run_config() RunConfig
create_source_map() LTMV10SourceMap
default_params: LTMV10ModelLoaderParams = {'check_pump_dummy_discharge': False, 'exogenous_price_dithering': 0.0001, 'load_brensel_arch': False, 'load_discharge_head_dependencies': False, 'load_emps_water_values': True, 'load_price_elasticity_from_enmd': True, 'load_thermal': False, 'preprocess_firm_load_with_temperature_correction': False}
load_data_set(**kwargs)
load_fbmc(path: str | PathLike, ptdf_filename: str)
load_logical_model() LogicalModelView

Load a LogicalModel from a LTMV10 dataset

Parameters:

path (str) – path to the dataset