You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PowerSystems allows generators to be connected to PQ buses. So does the PSS/E data format, as far as I can tell. However, when PowerSystems parses such a thing from a PSS/E file, it converts the bus to PV:
@info"active generators found at bus $(bus["bus_i"]), updating to bus type from $(bus["bus_type"]) to 2" maxlog =
Though probably intended as a data cleaning measure (quoth @claytonpbarrows), this strikes me as a bug as it leads to a Sienna system that does not correspond to the valid PSS/E system to the extent possible.
Note that the opposite case, which we also implement — converting a PV bus to PQ if there are no generators connected — is less problematic: the PSS/E spec states that PV buses must have at least one corresponding generator record, so PV buses without generators are invalid and we are free to do whatever we want with them.
I commented out the offending lines of data.jl and the PSY tests still passed, but I'd love to hear from others on the best thing to do here. Here's a minimal PSS/E RAW file that reproduces the issue (bus 1434):
PowerSystems allows generators to be connected to PQ buses. So does the PSS/E data format, as far as I can tell. However, when PowerSystems parses such a thing from a PSS/E file, it converts the bus to PV:
PowerSystems.jl/src/parsers/pm_io/data.jl
Line 1698 in c932c0b
Though probably intended as a data cleaning measure (quoth @claytonpbarrows), this strikes me as a bug as it leads to a Sienna system that does not correspond to the valid PSS/E system to the extent possible.
Note that the opposite case, which we also implement — converting a PV bus to PQ if there are no generators connected — is less problematic: the PSS/E spec states that PV buses must have at least one corresponding generator record, so PV buses without generators are invalid and we are free to do whatever we want with them.
I commented out the offending lines of
data.jl
and the PSY tests still passed, but I'd love to hear from others on the best thing to do here. Here's a minimal PSS/E RAW file that reproduces the issue (bus 1434):The text was updated successfully, but these errors were encountered: