Skip to content

refactor: make generic from input compressor charts earlier #868

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

Merged

Conversation

olelod
Copy link
Contributor

@olelod olelod commented Apr 12, 2025

We want the actual compressor model calculations to be performed by timestep, not all time steps at once. For the simplified compressor train, the compressor chart can be generated at run time (generic from input) based on the rate/pressure input. In this PR the generation of the generic from input compressor charts are done as soon as the rate/pressure expressions are evaluated.

Have you remembered and considered?

  • I have remembered to update documentation
  • I have remembered to update manual changelog (docs/drafts/next.draft.md)
  • I have remembered to update migration guide (docs/docs/migration_guides/)
  • I have committed with BREAKING: in footer or ! in header, if breaking
  • I have added tests (if not, comment why)
  • I have used conventional commits syntax (if you squash, make sure that conventional commit is used)
  • I have included the Jira issue ID somewhere in the commit body (ECALC-XXXX)

Why is this pull request needed?

This pull request is needed because of....

What does this pull request change?

Write summary of what this pull request changes if needed.

Issues related to this change:

@olelod olelod force-pushed the refactor/make-generic-from-input-compressor-charts-earlier branch from 299900e to 9066fe3 Compare April 14, 2025 07:17
@olelod olelod marked this pull request as ready for review April 22, 2025 07:44
@olelod olelod requested a review from a team as a code owner April 22, 2025 07:44
refactor: move generation of generic from input chart also for system
@olelod olelod force-pushed the refactor/make-generic-from-input-compressor-charts-earlier branch from 9066fe3 to c8807ce Compare April 22, 2025 07:47
@olelod olelod changed the title Refactor/make generic from input compressor charts earlier refactor: make generic from input compressor charts earlier Apr 22, 2025
@olelod olelod merged commit 710c813 into main Apr 22, 2025
8 checks passed
@olelod olelod deleted the refactor/make-generic-from-input-compressor-charts-earlier branch April 22, 2025 07:55
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