-
Notifications
You must be signed in to change notification settings - Fork 9
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
PowerFlows.jl unified develop
branch
#53
base: main
Are you sure you want to change the base?
Conversation
Those sections being
Feature/nr_pf_solver
@GabrielKS bump PSY and PNM versions in this PR for the tests to pass |
Update dependencies
add field "converged" to PowerFlowData, return NaN when not converged
Done. Tests pass at #83 but tests will fail again here because #82 depends on NREL-Sienna/PowerNetworkMatrices.jl#95. |
Add fields to `PowerFlowEvaluationModel`s to support further PSI integration
src/psse_export.jl
Outdated
SBASE = PSY.get_base_power(exporter.system) | ||
REV = 33 | ||
XFRRAT = 0 | ||
NXFRAT = 1 # TODO why? |
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.
@jd-lara what should we have for this?
src/psse_export.jl
Outdated
ZONE = PSSE_DEFAULT # defaults to zone's area | ||
PL, QL, IP, IQ, YP, YQ = _psse_get_load_data(exporter, load) | ||
OWNER = PSSE_DEFAULT # defaults to bus's owner | ||
SCALE = PSSE_DEFAULT # TODO reconsider |
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.
@jd-lara should our loads be marked as scalable?
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.
no, we don't need that for our exporter/models
Yft = SparseArrays.sparse([1:length(fb); 1:length(fb)], [fb; tb], [y11; y12], length(fb), length(buses)) | ||
Ytf = SparseArrays.sparse([1:length(tb); 1:length(tb)], [tb; fb], [y22; y21], length(tb), length(buses)) |
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.
[JuliaFormatter] reported by reviewdog 🐶
Yft = SparseArrays.sparse([1:length(fb); 1:length(fb)], [fb; tb], [y11; y12], length(fb), length(buses)) | |
Ytf = SparseArrays.sparse([1:length(tb); 1:length(tb)], [tb; fb], [y22; y21], length(tb), length(buses)) | |
Yft = SparseArrays.sparse( | |
[1:length(fb); 1:length(fb)], | |
[fb; tb], | |
[y11; y12], | |
length(fb), | |
length(buses), | |
) | |
Ytf = SparseArrays.sparse( | |
[1:length(tb); 1:length(tb)], | |
[tb; fb], | |
[y22; y21], | |
length(tb), | |
length(buses), | |
) |
The
hrgks/psse_exporter_psy4
branch has become a unifieddevelop
-type branch for lots of new PowerFlows.jl functionality. It now contains the PSS/E exporter implementation as well as some new power flow implementations from @rbolgaryn. Pull requests include:PowerFlowData
fields for multi-period AC PF #78plus some more commits only in this branch.