-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: Make ReEDS parser compatible with new cost functions #44
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #44 +/- ##
==========================================
+ Coverage 60.86% 62.18% +1.32%
==========================================
Files 29 29
Lines 3020 3115 +95
==========================================
+ Hits 1838 1937 +99
+ Misses 1182 1178 -4 ☔ View full report in Codecov by Sentry. |
List of changes: - Added new function called `haskey` for dictionaries with testing, - Updated cost function exporting to match changes on infrasys, - Updated pyproject to include new test marks, - Updated model to include operational cost
match cost["class_type"]: | ||
case "ThermalGenerationCost": | ||
if shut_down := cost.get("start_up"): | ||
component["Start Cost"] = shut_down |
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.
why not name the variable here start_up?
small comments but LGTM |
No description provided.