grid-parity-exchange / Egret

Tools for building power systems optimization problems
Other
133 stars 54 forks source link

more robust handling of voltage angle difference limits #267

Closed michaelbynum closed 2 years ago

michaelbynum commented 2 years ago

Summary/Motivation:

The computation of bounds for the auxiliary variables c = v_f * v_t * cos(dt) and s = vf * vt * sin(dt) had bugs. This PR uses interval arithmetic to improve the robustness of these computations and adds tests.

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.