-
Notifications
You must be signed in to change notification settings - Fork 43
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
sourcegen bounds #121
Comments
Not answering your question, but expanding on this a bit, for some formulations it is important to have rather tight flow bounds on the branches and the slack bus to avoid numerical issues (not forgetting the choice of power base is very important as well). You can set flow limits through the |
@frederikgeth has the gist of it, we used |
If rate_a is defined, it provides a valid bound on the slackbus power as well, not only on the branch flow. Now you need to define both |
I am no sure I follow all the details, but my take is. If you read data from OpenDSS the parser will define a valid bound on the slackbus generator for you (inferred from branch flow limits), becouse it is not standard to provide this from OpenDSS. The parser can reason on the amps limits or the rate limits, whatever is more convenient. If a user defines a problem in the internal dict data, then it is the user's responsibility to put a resonable bound on all generators. Does this ramble answer any of these questions? |
@sanderclaeys @frederikgeth was this issue resolved to your satisfaction, or do we still need to have more discussion? |
The default values for For me it was counter-intuitive that the sourcegen bounds are based on As long as this is explained in the docs eventually, I am good either way. Maybe a good moment to start a list with tricks like this which are needed to get the models to work? |
I can see the point about |
@sanderclaeys, the challenge is that when parsing an OpenDSS file you don't know if the problem being solved will be using In the near term, if there is no problems with the AC formulation, I would suggest reducing these generator bounds only when solving the SDP model. |
@ccoffrin In light of possible future changes that will use @pseudocubic For me this issue can thus be closed without changes. |
For the branches, the power flow bounds are determined from the 'rate_a' property.
The sourcegen bounds are inferred by summing the power flow bounds of all connected branches (and transformers in #117 ). However, in the relevant mehod in opendss.jl, the 'rate_b' property is used.
Is this intentional, and if so, why? This was not the behaviour that I was expecting when imposing line flow limits through the dss file.
The text was updated successfully, but these errors were encountered: