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

Variable Cost Refactor Part 1: Function Data #50

Merged
merged 7 commits into from
Feb 22, 2024

Conversation

GabrielKS
Copy link
Contributor

Draft because I haven't gotten the PSB tests to pass yet, but I am pretty sure this is all the changes we'll need over here.

  • Replace all references to VariableCost, and bare cost constructors, with the FunctionData version
  • Regenerate system JSONs to conform to PSY 4.0.0 format
  • Replace corresponding validation descriptors files with a fresh, up-to-date version created by serializing a system from scratch
  • Miscellaneous typo fixes and such

 - Load and re-serialize systems, relying on PowerSystems' automatic
   conversion to bring them up to date
 - Replace each validation descriptors file with a fresh up-to-date
   version created by serializing a system from scratch
@GabrielKS GabrielKS requested a review from jd-lara February 17, 2024 00:57
Copy link
Member

@jd-lara jd-lara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are a lot of changes, I guess if the tests in PSB pass it can be considered adequate.

@GabrielKS
Copy link
Contributor Author

The PSB tests now pass! A few more FunctionData replacements were necessary.

IS, PSY, and PSB tests pass when using the appropriate branches of each plus PowerSystemsTestData:
Screenshot of passing tests

@GabrielKS GabrielKS requested a review from jd-lara February 22, 2024 09:40
@jd-lara jd-lara merged commit 7262982 into psy4 Feb 22, 2024
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.

2 participants