EnergyModelsX / EnergyModelsBase.jl

MIT License
8 stars 0 forks source link

Added conditional argument to remove TimeProfile checks #19

Closed JulStraus closed 8 months ago

JulStraus commented 8 months ago

The check on the TimeProfile can be annoying in certain cases, specifically when testing a new Node. It is now possible via a conditional argument check_timeprofiles=true in the create_model and run_model functions.

Setting the value to false will result in a warning, but allow to utilize wrong time structures.

In addition, a bug was fixed when the StrategicProfile was shorter than the used TimeStructure. In this case the checks errored at a point where they should not.