-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hotfix/fix mode station optimization #223
Conversation
…ut_path is of type Path
Reduce log level to differentiate between erros and infos
…x_mode_station_optimization
@@ -171,7 +171,7 @@ def run_optimization(conf, sched=None, scen=None, args=None): | |||
# rotations itself. | |||
rotations_for_opt = optimizer.schedule.rotations.copy() | |||
|
|||
logger.log(msg="Starting greedy station optimization", level=100) | |||
logger.log(msg="Starting greedy station optimization", level=39) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe use a more verbose level? Like logging.WARN?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my thinking was, to not use warn since it might be misleading. Its more like a "mandatory information"
Fixes deprecated variable_name optimizer_config to optimizer_config_path
Added Test for several untested modes.
Fix issue in StationOptimization with timesteps which are not 1 minute
Reduce log level of Simulation states just below the level of logging.ERROR