Releases: equinor/ecalc
Releases · equinor/ecalc
v8.22.0
8.22.0 (2024-09-19)
⚠ BREAKING CHANGES
- Validation is more strict than before.
Features
- validate yaml model (ad95222)
Bug Fixes
Documentation
- improve documentation around PRESSURE_CONTROL (#610) (94dbce9)
- Moved YAML Keywords from level 2 to level 1 section new (#575) (145deab)
- swap order of migration guides (#571) (b1d4e88)
- update changelogs (#587) (0537ce4)
- update notebooks with poetry instructions (9cfcd47)
Miscellaneous Chores
- add .vscode to gitignore under IDE section (#593) (4766fe7)
- cli: make mypy understand frequency type (b784f30)
- fix failing test (9ef52d3)
- spelling (9a67f53)
- update changelog with fix in isvalid for compressor stages (#591) (e924f5f)
- update dependencies (#584) (63839b6)
- update deps week 38 (#616) (fe3a72c)
- update poetry (cb2d954)
- update pre-commit hooks (4254094)
- upgrade dependencies (#595) (11e5e4e)
- upgrade deps (#606) (e24df7e)
Code Refactoring
- add inlet/outlet stream also for compressor train results (#590) (c27e5bd)
- avoid using dtos in core (a3683c1)
- introduce resource protocol (dac5789)
- move target pressure status from stages to compressor train (#589) (098cfa9)
- remove pressure before choking (#609) (02f9099)
- return compressor stage result when only stage is calculated for simplified train (#592) (9ef52d3)
- yaml model class and reader (50f41ab)
Continuous Integration
- cache pre-commit (5448149)
v8.20.5
v8.20.4
v8.20.3
v8.20.2
v8.21.0
8.21.0 (2024-08-26)
⚠ BREAKING CHANGES
- do not allow pressure drop ahead of stage for simplified trains (#570)
- do not allow control margin for simplified variable speed train (#569)
- do not allow 0 efficiency in input chart (#565)
Bug Fixes
Documentation
- update broken links and rename files (#573) (090edbe)
- update changelog manually for 8.19 (#564) (971b4b3)
Miscellaneous Chores
- do not allow 0 efficiency in input chart (#565) (a38bb28)
- do not allow control margin for simplified variable speed train (#569) (82d7e58)
- do not allow pressure drop ahead of stage for simplified trains (#570) (06ef021)
- make sure that pressure calculation tolerances are the same at different places in the code (#532) (736984d)
- ruff manual fixes (d02b41b)
- run ruff on all files (d5ea430)
- run ruff-format all files (6880e12)
- update dependencies through devcalc (6243717)
- update ruff and replace black (a2a3e03)
v8.20.1
v8.20.0
v8.19.0
8.19.0 (2024-07-31)
� BREAKING CHANGES
- New unit-format for venting emitters, aligned to what is used in other parts of yaml-file. ECALC-1059
- add type and multiple emissions for venting emitters (#424)
- include direct emitter results in ltp export (#305)
- remove economy from ecalc (#282)
- graph.components and graph.get_component renamed to nodes and get_node
- add type to consumers in system
- energy model type not allowed to change over time (#131)
Features
- add compressor inlet- and outlet pressures to models/train level (#152) (9b95ee5)
- add control margin to single speed compressor charts (#418) (472e592)
- add eletrical- and mechanical power to asset (#479) (464047f)
- add emitter rate type to venting emitters (#312) (d6e16fa)
- add file context to model validation error (#401) (0a75da4)
- add input compressor pressures to output (#140) (74e3e56)
- add pump results to system v2 (8cf9e1b)
- add stream conditions to compressor v2 (#194) (232f83b)
- add support for system v2 in FDE (e6d1f93)
- add support for temporal operational settings in v2 (f2b217a)
- check that file exist when validating yaml for run (#388) (441722f)
- expose yaml variables (1fe9dd0)
- implement adjustment factors for genset (#555) (4c84931)
- include rate type in header for csv export (#279) (5edd0cc)
- make version comparable (8ea5b2f)
- multiple streams in system (#242) (419c2e9)
- new PfS columns (#429) (a6b198e)
- output pump head to json-file (#49) (60720f4)
- support bfs_tree in graph (a4fff16)
- support name for crossover streams (#236) (c801f3f)
- train v2 yaml and dto (#272) (b0e3466)
- validate expression reference tokens (#404) (2af9d13)
- validate model references and types (dd8d701)
Bug Fixes
- a few things that were left out when the failure_status were refactored (#432) (1e4acce)
- add control margin to compressor stage validation (#405) (0f1e6f8)
- add name constraints to yaml classes (#358) (f586181)
- add pydantic ndarray type (d005ed4)
- add system v2 subcomponents to components list (b61a0fe)
- add system v2 to generator set consumers (#166) (d40558e)
- add volume query for venting emitters oil type (8cca29a)
- allow electrical driven consumers in consumer system v2 (92cb4fa)
- avoid name conflicts with ecalc cli package (#197) (140c448)
- avoid usage of packaging (4121f5b)
- avoid zero discharge pressure after validation of operational conditions (830c75e)
- bug fix to joining results from different temporal models with compressor train models having multiple inlet or outlet streams (#63) (da3144a)
- bug in asset_result_dto (#170) (c45a7ac)
- bug in compressor with turbine models with multiple streams and only one date (#296) (8c2c786)
- cast float to numpy array in function call (#39) (250928c)
- convert numpy to python (2be1736)
- correct changelog for venting emitters (#324) (eff911e)
- correct fallback to pydantic v1 (#332) (4f89e48)
- correct type for total system rate in pump system v2 (#167) (5559cdd)
- custom date format in json (#359) (d62e650)
- deep copy when aggregating model results (#311) (53c8df4)
- detect duplicate keys in yaml file and raise error (#438) (cfeb006)
- do not allow for negative recirculation if rate is above max flow rate for a compressor chart (#403) (86bf31e)
- do not merge model results (#304) (34cebc4)
- do not return actual rate in results for compressor sampled since it can not be calculated (#190) (74fcfd8)
- docs: issue with anchor links in search (70b4f8e)
- don't require HCEXPORT in editor (#254) (e497245)
- don't run pdoc on application module (abbb704)
- ensure regularity is evaluated for all installations when only venting emitters (#468) (0e6b248)
...