eelib.utils.simulation_setup.helper_create_sim

Helper functions for the generation of new simulations.

Author: elenia@TUBS
Copyright 2024 elenia
This file is part of eELib, which is free software under the terms of the GNU GPL Version 3.

Module Contents

Functions

create_excel_for_models(models_dict[, bool_same_models])

Create excel with sheets for all existing models and their parameters.

read_excel_for_models(→ dict)

Create dict of model data from information in excel on all model types.

create_excel_for_same_models(model_data)

Create excel with sheets for all named models with 1 entity to possibly multiply them.

read_excel_for_same_models(→ dict)

Create dict of model data from existent data and information on same models at loadbuses.

create_model_data_file(model_data[, model_data_path])

Create model data file with information on all model parameterizations.

create_grid_model_config_file(model_data[, config_path])

Create connection file for grid simulations with entities at specific load buses.

create_excel_for_models(models_dict: dict, bool_same_models: bool = False)

Create excel with sheets for all existing models and their parameters.

Parameters:
  • models_dict (dict) – info about existing models and their parameters

  • bool_same_models (bool) – if models can have all the same entities. Defaults to False.

read_excel_for_models(models_dict: dict) dict

Create dict of model data from information in excel on all model types.

Parameters:

models_dict (dict) – info about existing models and their parameters

Returns:

info on all models/entities for the simulation

Return type:

dict

create_excel_for_same_models(model_data: dict)

Create excel with sheets for all named models with 1 entity to possibly multiply them.

Parameters:

model_data (dict) – info on models for the simulation

read_excel_for_same_models(model_data: dict) dict

Create dict of model data from existent data and information on same models at loadbuses.

Parameters:

model_data (dict) – info on models for the simulation

Returns:

info on all entities for the simulation

Return type:

dict

create_model_data_file(model_data: dict, model_data_path='model_data.json')

Create model data file with information on all model parameterizations.

Parameters:
  • model_data (dict) – info on all entities for the simulation

  • model_data_path (str) – path to store model data file. Defaults to “model_data.json”.

create_grid_model_config_file(model_data: dict, config_path: str = 'grid_model_config.json')

Create connection file for grid simulations with entities at specific load buses.

Parameters:
  • model_data (dict) – info on all entities for the simulation and their loadbuses

  • config_path (str) – path to store config file. Defaults to “grid_model_config.json”.