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

Implement power flow-specific (re)active power limits proxies #79

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

GabrielKS
Copy link
Contributor

Fixes #39 by implementing the functions get_reactive_power_limits_for_power_flow and get_active_power_limits_for_power_flow. In all normal cases, these just redirect to PSY's get_reactive_power_limits and get_active_power_limits. In a few special cases, each either detailed at #39 (comment) or already implemented elsewhere in the codebase, they instead return a proxy value to effect the behavior we want.

@GabrielKS GabrielKS self-assigned this Jan 16, 2025
@jd-lara
Copy link
Member

jd-lara commented Jan 16, 2025

@GabrielKS does this need a release of PSY?

@GabrielKS
Copy link
Contributor Author

@GabrielKS does this need a release of PSY?

No, this PR is independent of PSY. There are still those bugs we identified in PSY but these don't call the problematic methods over there.

The test failure is coming from fast_deepcopy_system, which will need a PSY release before hrgks/psse_exporter_psy4 is merged into main, but not before gks/principled_power_limits is merged into hrgks/psse_exporter_psy4.

@jd-lara jd-lara merged commit a080b9b into hrgks/psse_exporter_psy4 Jan 16, 2025
3 of 6 checks passed
@jd-lara jd-lara deleted the gks/principled_power_limits branch January 16, 2025 17:14
@GabrielKS GabrielKS linked an issue Jan 16, 2025 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

"get_reactive_power_limits not implemented for RenewableNonDispatch"
2 participants