Companion OPF models for PD initialization constraints

Open
#656 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@lukelowry is already working on this.

Since Nov 13, 2026.

Assessment

This issue has not been assessed yet.

Description

IVP question

Description

We battled with the initialization of governors and exciters and how limit violations are handled during initialization. One of the reasons PowerWorld is configured to adjust limits is because the typical Power Flow formulation does not consider the steady state conditions of saturated exciters and governors (in general). If the user chooses not to adjust the limits, technically that means the power flow solution is not feasible and a different operating point needs to be found. The limits on exciters and governors are nonlinearly dependent on the operating point of the network, and this must be considered to solve the power flow.

To resolve this in GridKit, we will circumvent this by modeling the steady state constraints (i.e., limits!) in a sister/companion OptimalPowerFlow model that constrains the feasible solutions to consider the dynamic model steady state requirements.

e.g.

\begin{aligned}
0 &= -E_\mathrm{fd} +f(I_q, I_d, V_q, V_d) \\
V_R^{\min} &\le g(E_{fd}) \le V_R^{\max}
\end{aligned}

@pelesh If we do this well, we will be able to move the dependent initialization out of PhasorDynamics. Initialization order then becomes irrelevant.

Dominant language
C++
Stars
27
Forks
11
Avg merge
2d 21h
Merged PRs (30d)
15

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ORNL/GridKit

All issues in ORNL/GridKit

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.