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

More rigorously test power flow in the loop #1224

Open
5 tasks
GabrielKS opened this issue Jan 23, 2025 · 0 comments
Open
5 tasks

More rigorously test power flow in the loop #1224

GabrielKS opened this issue Jan 23, 2025 · 0 comments

Comments

@GabrielKS
Copy link
Contributor

GabrielKS commented Jan 23, 2025

As of 2025-01-23, the only real data test performed in #1040 is that for the first and last timestep in a sample simulation, the active powers in the PSI results match the active powers in the PSS/E export for all thermal generators. We should be testing both more granularly and more completely. In particular, it would be great if these things were tested:

  • That input_key_map is constructed (_make_pf_input_map!) correctly for a wide variety of potential configurations
  • That data is correctly written (update_pf_data!) from the OptimizationContainer to the PowerFlowData (currently unsure what data source to use for reactive power here, but we can at least granularly test active power)
  • That data is correctly written back (calculate_aux_variable_value!) from the PowerFlowData to the OptimizationContainer
  • That final results are consistent beyond just active power (good starting point)
  • What happens when the AC power flow fails to converge
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