I came across this simulation termination in one of my case studies. I was wondering how up to date are the hints given to the user:
There are several reasons why this could have happened.
- the energy system is not properly connected.
- the capacity of some assets might not have been optimized.
- the demands might not be supplied with the installed capacities in current energy system. Check your maximum power demand and if your energy production assets and/or energy conversion assets have enough capacity to meet the total demand
Traceback
In my case, this error happened because of the constraints I tried to apply, it might be a good thing to add this in the hints?
Full prompt log:
(MVS) C:\Andra\MVS_GitHub> python mvs_tool.py -i C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage -ext csv -o C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\2021-05-17_Electricity_storage -f -pdf
15:54:51-INFO-Path for logging: C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\2021-05-17_Electricity_storage\mvs_logfile.log
15:54:51-INFO-
Multi-Vector Simulation Tool (MVS) V0.5.6dev
Version: 2021-03-04
Part of the toolbox of H2020 project "E-LAND", Integrated multi-vector management system for Energy isLANDs
Coded at: Reiner Lemoine Institute (Berlin)
Contributors: Martha M. Hoffmann
15:54:51-INFO-loading and converting all csv's from C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\csv_elements into one json
15:54:51-WARNING-The parameter dsm in the file C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\csv_elements\energyConsumption.csv is not expected. Expected parameters are: file_name, type_oemof, energyVector, inflow_direction, unit
15:54:51-WARNING-The parameter dispatch_price in the file C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\csv_elements\fixcost.csv is not expected. Expected parameters are: age_installed, development_costs, specific_costs, lifetime, specific_costs_om
15:54:51-WARNING-The parameter store_oemof_results in the file C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\csv_elements\simulation_settings.csv is not expected. Expected parameters are: evaluated_period, output_lp_file, start_date, timestep
15:54:51-INFO-Json file created successfully from csv's and stored into C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\csv_elements\mvs_csv_config.json
15:54:51-INFO-Converted and stored processed simulation data to json: C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\2021-05-17_Electricity_storage\inputs\mvs_config.json
15:54:51-INFO-The energy system modelled includes following energy vectors: H2, Electricity
15:54:51-INFO-Pre-processing all assets in asset group energyProviders.
15:54:51-INFO-Peak demand pricing is taking place 1 times per year, ie. every 12.0 months.
15:54:51-INFO-Asset Electricity DSO_consumption_source was added to the energyProduction assets.
15:54:51-INFO-Pre-processing all assets in asset group energyConversion.
15:54:51-INFO-Pre-processing all assets in asset group energyStorage.
15:54:51-INFO-Pre-processing all assets in asset group energyProduction.
15:54:51-INFO-Provided timeseries of PV (C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\time_series\solar_generation_kWh_kWp_inst.csv) longer than evaluated period. Excess data dropped.
15:54:51-INFO-Provided timeseries of Wind (C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\time_series\wind_generation_kWh_kW_inst.csv) longer than evaluated period. Excess data dropped.
15:54:51-INFO-Pre-processing all assets in asset group energyConsumption.
15:54:51-INFO-Provided timeseries of Electricity demand (C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\Inputs\Inputs-Electricity_storage\time_series\electricity_demand_kWh.csv) longer than evaluated period. Excess data dropped.
15:54:51-INFO-Processed cost data and added economic values.
15:54:51-ERROR-timeseries of non-dispatchable source PV contains values out of bounds [0, 1].
15:54:51-ERROR-Energy system bus National grid bus_pdp has too few assets connected to it. The minimal number of assets that need to be connected so that the bus is not a dead end should be two, excluding the excess sink. These are the connected assets: Electricity DSO_consumption
15:54:52-INFO-Converted and stored processed simulation data to json: C:\Andra\RLI\328_Chile_Hydrogen\02_Walqa_Technology_Park_Spain\03_Simulation\Andra\2021-05-17_Electricity_storage\json_input_processed.json
15:54:52-INFO-Initializing oemof simulation.
15:54:52-INFO-Adding components to oemof energy system model...
15:55:08-INFO-Added maximum emission constraint.
15:55:08-INFO-Starting simulation.
WARNING: Loading a SolverResults object with a warning status into
model=Model;
message from solver=<undefined>
15:56:25-WARNING-Loading a SolverResults object with a warning status into model=Model;
message from solver=<undefined>
15:56:25-ERROR-The following error occurred during the mvs solver: Optimization ended with status warning and termination condition infeasible
There are several reasons why this could have happened.
- the energy system is not properly connected.
- the capacity of some assets might not have been optimized.
- the demands might not be supplied with the installed capacities in current energy system. Check your maximum power demand and if your energy production assets and/or energy conversion assets have enough capacity to meet the total demand
Traceback (most recent call last):
File "mvs_tool.py", line 4, in <module>
main()
File "c:\andra\mvs_github\src\multi_vector_simulator\cli.py", line 175, in main
dict_values, save_energy_system_graph=save_energy_system_graph,
File "c:\andra\mvs_github\src\multi_vector_simulator\D0_modelling_and_optimization.py", line 103, in run_oemof
dict_values, model, local_energy_system
File "c:\andra\mvs_github\src\multi_vector_simulator\D0_modelling_and_optimization.py", line 319, in simulating
raise MVSOemofError(error_message) from None
multi_vector_simulator.utils.exceptions.MVSOemofError: The following error occurred during the mvs solver: Optimization ended with status warning and termination condition infeasible
There are several reasons why this could have happened.
- the energy system is not properly connected.
- the capacity of some assets might not have been optimized.
- the demands might not be supplied with the installed capacities in current energy system. Check your maximum power demand and if your energy production assets and/or energy conversion assets have enough capacity to meet the total demand
I came across this simulation termination in one of my case studies. I was wondering how up to date are the hints given to the user:
In my case, this error happened because of the constraints I tried to apply, it might be a good thing to add this in the hints?
Full prompt log: