-
Notifications
You must be signed in to change notification settings - Fork 149
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 PSSE raw import for gen_status at load buses #934
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #934 +/- ##
==========================================
- Coverage 94.06% 93.57% -0.50%
==========================================
Files 43 42 -1
Lines 9665 9627 -38
==========================================
- Hits 9091 9008 -83
- Misses 574 619 +45
... and 19 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
@ccoffrin can you review this please? |
Sorry for the delay @KSepetanc. I have no way of verifying these semantics of PSSE. @jd-lara or @frederikgeth are you able to verify this behavior? @KSepetanc, before merging we will need to add a test for this behavior so that we don't have a future regression. |
not able to verify, sorry, but can confirm he actual status of a machine is determined both by its status flag and the bus type code. |
@ccoffrin I can not find any network in the PowerModels test/data/pti that has generator placed at load bus. I am not very comfortable modifying those frankenstein networks (presumably test construct should be something like this (in
|
I have modified Do you think we need to add memento log in |
@ccoffrin do you have someone else how can check this? I would like to close this issue soon. |
Fixes #932 .
PSSE ignores generators at load buses (bus type 1). It does not use this flag to determine if the generator is PV or PQ which is different from Matpower. Instead, it uses
Machine Control Mode
parameter found in panelMachine Data Record -> Wind Data -> Control Mode
or in theMachine
sheet.As such fix needs to be implemented only for PSSE and there are no changes for Matpower. Thus, the only change is in
src\io\psse.jl
.Consider adding
Memento
warning before merging.