marmot.formatters.formatreeds_india.ProcessReEDSIndia#
- class ProcessReEDSIndia(input_folder: pathlib.Path, output_file_path: pathlib.Path, *args, process_subset_years: typing.Optional[list] = None, region_mapping: pandas.core.frame.DataFrame = Empty DataFrame Columns: [] Index: [], **kwargs)[source]#
Bases:
marmot.formatters.formatreeds.ProcessReEDS
Process ReEDS India specific data from a ReEDS India result set.
- Parameters
input_folder (Path) – Folder containing csv files.
output_file_path (Path) – Path to formatted h5 output file.
process_subset_years (list, optional) – If provided only process years specified. Defaults to None.
region_mapping (pd.DataFrame, optional) – DataFrame to map custom regions/zones to create custom aggregations. Defaults to pd.DataFrame().
**kwargs – These parameters will be passed to the Process class.
Methods
Attributes
Prefix of gdx results file
Maps simulation model property names to Marmot property names
UNITS_CONVERSION
Dictionary to convert units to standard values used by Marmot
data_collection
Dictionary input file names to full filename path
get_input_data_paths
Gets a list of input gdx files within the scenario folders
input_folder
Path to input folder
property_units
Gets the property units from data, e.g MW, MWh
Get the ReEDSIndiaPropertyColumns dataclass
wind_resource_to_pca
Get the wind resource (s) to pca/region mapping
- PROPERTY_MAPPING: dict = {'generator_curt_out': 'generator_Curtailment', 'generator_gen_out': 'generator_Generation', 'generator_rescap': 'generator_Installed_Capacity', 'generator_resgen': 'generator_Generation_Annual', 'generator_stor_charge': 'generator_Pump_Load', 'line_CAPTRAN': 'line_Import_Limit', 'line_FLOW': 'line_Flow', 'region_load_mw': 'region_Demand', 'region_load_rt': 'region_Demand_Annual', 'reserves_generators_OPRES': 'reserves_generators_Provision'}#
Maps simulation model property names to Marmot property names
- GDX_RESULTS_PREFIX = 'output_'#
Prefix of gdx results file
- EXTRA_PROPERTIES_CLASS#
alias of
marmot.formatters.formatextra.ExtraReEDSIndiaProperties
- property reeds_prop_cols: marmot.formatters.formatreeds_india.ReEDSIndiaPropertyColumns#
Get the ReEDSIndiaPropertyColumns dataclass
- Returns
ReEDSIndiaPropertyColumns