Skip to content
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

Merged
merged 10 commits into from
Nov 6, 2024

Conversation

PaulScheerRLI
Copy link
Collaborator

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

@@ -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)
Copy link
Collaborator

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?

Copy link
Collaborator Author

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"

@PaulScheerRLI PaulScheerRLI merged commit ebac950 into dev Nov 6, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants