Skip to content
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

a generator isn't quite the same as a negative load in MATPOWER #5

Closed
sharnett opened this issue May 7, 2014 · 9 comments
Closed

Comments

@sharnett
Copy link
Owner

sharnett commented May 7, 2014

Since the voltages are fixed at the generators, but free at the loads. I think. Verify this, then probably convert MATPOWER cases to the Jabr/distribution network style.

@sharnett
Copy link
Owner Author

sharnett commented May 7, 2014

Couple solutions:

  1. (better) add more fixed voltage constraints to Jabr formulation, beyond just u1 = v1^2/sqrt(2)
  2. take original Jabr solution generator voltages, add those to MATPOWER, solve, compare

@sharnett
Copy link
Owner Author

sharnett commented May 8, 2014

I'm looking at case_ieee30_tree.m, where the Jabr method gives a different answer from Newton.

Proposed solution #1 seems to result in an infeasible model. Making them inequality constraints doesn't help. Removing the load flow constraints on the extra generators (so they're all slack buses) makes it feasible again, but the answer is still different from Newton.

I guess I'll try solution #2.

@sharnett
Copy link
Owner Author

sharnett commented May 8, 2014

I think I'll try #3 first: alter MATPOWER case file to remove generators, make all but one bus a load.

@sharnett
Copy link
Owner Author

sharnett commented May 8, 2014

Actually, generators are 'PV' buses -- the reactive power isn't fixed, just the real power and voltage magnitude. But removing only the reactive flow constraint at the extra generators didn't seem to do the trick. Needs further investigation.

@sharnett
Copy link
Owner Author

sharnett commented May 8, 2014

Is it possible that there are multiple solutions? This is no longer a distribution network.

@sharnett
Copy link
Owner Author

sharnett commented May 8, 2014

Look into trying different starting points for both Jabr and MATPOWER.

@sharnett
Copy link
Owner Author

Using the Jabr solution as a starting point for Newton didn't change Newton's answer on case_ieee_30. Can try using the Newton solution as a starting point for Jabr, but that probably won't do it since Jabr is a convex problem. Worth trying anyway.

If that fails, just convert everything to a distribution network, letting voltages vary freely at all buses but one.

@sharnett
Copy link
Owner Author

GOT IT. There were some extra settings in the (shunt susceptances and tap ratios) that I needed to set to zero.

@sharnett
Copy link
Owner Author

Verified on case_ieee30 and case118_v2. I think we might finally be done here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant