-
Notifications
You must be signed in to change notification settings - Fork 81
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
Repair StandardLoad parsing from .mat/.raw files #1065
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1065 +/- ##
==========================================
+ Coverage 85.18% 85.25% +0.06%
==========================================
Files 170 170
Lines 7702 7695 -7
==========================================
- Hits 6561 6560 -1
+ Misses 1141 1135 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@HaleyRoss can you add a test for this please? |
@@ -485,7 +483,7 @@ function make_thermal_gen(gen_name::AbstractString, d::Dict, bus::ACBus, sys_mba | |||
thermal_gen = ThermalStandard(; | |||
name = gen_name, | |||
status = Bool(d["gen_status"]), | |||
available = true, | |||
available = Bool(d["gen_status"]), |
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.
good catch
Removed if statement from the read_loads!() function that caused StandardLoads being read from .mat and .raw files to be dropped if the constant_active_power and constant_reactive_power arguments were 0.
This is correcting issue #1032