-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add vg
to sourcegen
#124
Comments
I have been thinking about dropping this check from PowerModels. Thus far, I have not seen any problem formulation that uses it. @frederikgeth, what do you think? This check trys to verify that the voltage setpoint in the given solution |
These parameters are indeed generally not consistent in data sets you find. The check is useful in the context of PQ/PV buses.
A use case for me has been in the context of generator contingencies. If the data is consistent, you can trust that defining the voltage magnitude setpoint at the generators instead of the bus does not result a trivial infeasibility. When you set a generator status to 0 as part of a contingency, its voltage setpoint constraint should also removed, thereby reverting the bus to a PQ bus (if there are no other generators at the bus). A PV bus without a generator connected to it often leads to very weird power flows (if at all feasible). |
The use case totally makes sense to me, but maybe we should only apply this consistency check in that context and not as part of the standard checks that are always performed when we read in data? Also, in the case that two generators are attached to the same bus, is it reasonable for them to have different voltage setpoints? Maybe that is a more general consistency check that we should be doing instead? |
I'm fine with removing the check between the buses and the generators and replacing it with a check of the setpoints amongst the generators for a specific bus (and/or DC lines). I would be a bit sad about removing the check completely, as due to a lack of presolver, I find it is quite time consuming to figure out data inconsistencies through JuMP. |
When it comes to validity checks, the more the merrier. My only sticking point is which to run always and which should be "opt-in". |
Discussion better on PowerModels.jl than here |
PowerModels.check_voltage_setpoints
expects"vg"
on generators, but current implementation of the sourcegen omits this field.The text was updated successfully, but these errors were encountered: