-
Notifications
You must be signed in to change notification settings - Fork 5
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
chore!: energy model type not allowed to change over time #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Some comments:
- Is it needed to document this change? At least in the changelog?
- Breaking changes should be marked with an exclamation point, like fix!, or feat!
src/ecalc/libraries/libecalc/common/libecalc/input/mappers/create_references.py
Outdated
Show resolved
Hide resolved
src/ecalc/libraries/libecalc/common/libecalc/input/mappers/create_references.py
Outdated
Show resolved
Hide resolved
Agree, should documentation be put in a different PR? |
Both are fine by me, I have no preference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice. remember clear changelog, but should hopefully not cause problems, as it "per documentation" shouldnt have been allowed already :)
* up-main: (65 commits) chore(docs): fix equations showing twice (equinor#141) chore: fix spelling errors in changelog chore(main): release 8.3.0 chore: add power adjustment constant also for compressor trains with interstage pressure (equinor#136) chore: fix typing of fluid composition docs: update docs and changelog for energy models (equinor#133) chore!: energy model type not allowed to change over time (equinor#131) docs: fix generic compressor example refactor: move NeqSimfluid creation into NeqSim wrapper chore: add 8.3 changelog chore: add fluid mixing checks ci: update pre-commit settings refactor: imrpove naming and documentation chore: add fluid mixing checks refactor: molar_mass_kg_per_mol is not used in the code fix: wrong standard_conditions_density when mixing two fluids test: add test for fluid stream mixing chore: merge queque fix: parse spaces as thousand separators from excel (equinor#107) refactor: NeqSim mapping (equinor#120) ...
BREAKING CHANGE: Not possible to change energy model
TYPE
over time within one consumer.Why is this pull request needed?
eCalc web is not yet ready to handle results with multiple energy model types, hence it should not be allowed to specify in the yaml model file.
What does this pull request change?
Issues related to this change:
https://github.com/equinor/ecalc-engine/issues/4635