Releases: equinor/ecalc
Releases · equinor/ecalc
v8.6.1
v8.6.0
8.6.0 (2023-11-21)
⚠ BREAKING CHANGES
- remove economy from ecalc (#282)
- graph.components and graph.get_component renamed to nodes and get_node
- add type to consumers in system
Features
- expose yaml variables (1fe9dd0)
- include rate type in header for csv export (#279) (5edd0cc)
- support bfs_tree in graph (a4fff16)
- train v2 yaml and dto (#272) (b0e3466)
Bug Fixes
- ensure that start date in global time vector is consistent with the requested output frequency (#269) (e8ef9b9)
- make iteration loops for simplified train consistent (#263) (b066c74)
- wrong handling of values and timesteps in temporal models (#261) (4e20264)
Documentation
Miscellaneous Chores
- add INVALID_INPUT and INVALID_MAX_RATE (d651ed6)
- add test of get_max_standard_rate for single speed compressor train (d651ed6)
- clean up common module (#277) (e1959ab)
- extend tests of time series resampling (e8ef9b9)
- improve algorithm to generate generic variable speed compressor charts from input points (#276) (b257567)
- make sure no mismatch between timestemps and time series values (#251) (ae6ade9)
- only calculate max standard rate for time steps with valid model input (#252) (d651ed6)
- possibility to include start and end date in resampling (e8ef9b9)
- update changelog for v8.6 release (#288) (af32274)
- update dependencies for new v8.6 release (#289) (5a245a3)
Code Refactoring
- add option to skip header validation on resource files (#260) (883b7e6)
- calculate timesteps separately (#284) (bd9d684)
- collect results in priority optimizer (16b9ccc)
- common consumer system type (fe09263)
- common yaml system v2 class (98198fc)
- consistent naming of nodes in graph (676c7b8)
- generic graph class (6f63e40)
- move into presentation layer (#271) (52530e0)
- remove economy from ecalc (#282) (a50148c)
- rename Stream to StreamConditions (cf908ec)
- rename to component graph (9629f22)
- system v2 stream conditions format (#257) (e228e8b)
- use common consumer system dto class (#267) (3c58b53)
- use PriorityOptimizer outside ConsumerSystem (f1af9e6)
v8.5.1
v8.5.0
8.5.0 (2023-10-30)
Features
- add pump results to system v2 (8cf9e1b)
- add stream conditions to compressor v2 (#194) (232f83b)
- multiple streams in system (#242) (419c2e9)
- support name for crossover streams (#236) (c801f3f)
Bug Fixes
- don't require HCEXPORT in editor (#254) (e497245)
- ensure unique names in system v2 (#238) (3634a9e)
- rate when multiple streams model (#214) (892720e)
- set_regularity fixture (#213) (e9ea04f)
- update ecalc validation for yaml file in web (#243) (2981f2c)
- use file reference instead of urls in docs (#216) (35c4f68)
- wrong data for boilers and heaters in ltp-results (#237) (851e831)
Documentation
- add missing keywords surge control margin (#239) (8b97673)
- update changelog for upcoming release v8.4 (#203) (66671e0)
Miscellaneous Chores
- add init file to ecalc_cli (af6bee9)
- add chart area flag to test of full recirculation (0c45251)
- add check for zero efficiency in stage (3ea3035)
- add dependabot actions monitoring (#219) (d5f5dfd)
- add ModelInputFailureStatus (6b0c728)
- add NO_FLOW ChartAreaFlag (0c45251)
- add rate type to pump model result (#209) (21deeb7)
- cli: add all energy usage models load_results test (#220) (e09febb)
- deps: bump actions/cache from 3.0.11 to 3.3.2 (#223) (087867c)
- deps: bump actions/checkout from 2 to 4 (#221) (bcc2f81)
- deps: bump actions/setup-node from 3 to 4 (cb7e816)
- deps: bump snok/install-poetry from 1.3.3 to 1.3.4 (#222) (80dab72)
- fix tests (6b0c728)
- handle requested pressures correct for compressors without system (#233) (445fc9d)
- handle requested pressures for compressor systems (#215) (6b05439)
- more robust surge control margin calculation (#229) (74b4e59)
- move feature experimental to main method for requested pressures (#230) (00ad854)
- pre-commit (a310df2)
- show correct version (#211) (f8de992)
- update dependencies (#212) (c9b8506)
- update dependencies (#259) (e7f031f)
- update python deps (#247) (514da16)
- update system v2 tests to only use one crossover (#205) (aa65163)
- update zero efficiency error message (#258) (5be6fe4)
- upgrade packages (#255) (035aad1)
- version must be updated in version.py (63eb672)
- warn user about full recirculation of fluids in a compressor stage in a multiple streams and pressures compressor train (#196) (0c45251)
Code Refactoring
- implement evaluate streams in models (#232) (df6b6b0)
- libecalc.core: stream as input (#224) (e06f970)
- move crossover to component_conditions for system v2 (#204) (018b472)
- move RateType into common module (#253) (c7f5a99)
- move validate operational conditions from compressor train, rename to validate model input (#256) (6b0c728)
- remove regularity our of core/domain (#246) (714888b)
- remove temporal operational settings system v2 (#244) (a1d2ce6)
- rename streamCondition to stream (32885b5)
- separate optimization from system (#245) (b580e3d)
- use Graph object to build graph (#250) (ce65dba)
v8.4.4
v8.4.3
v8.4.2
v8.4.1
v8.4.0
8.4.0 (2023-09-25)
Features
- add compressor inlet- and outlet pressures to models/train level (#152) (9b95ee5)
- add input compressor pressures to output (#140) (74e3e56)
- add support for system v2 in FDE (e6d1f93)
- add support for temporal operational settings in v2 (f2b217a)
Bug Fixes
- add system v2 subcomponents to components list (b61a0fe)
- add system v2 to generator set consumers (#166) (d40558e)
- avoid name conflicts with ecalc cli package (#197) (140c448)
- bug in asset_result_dto (#170) (c45a7ac)
- correct type for total system rate in pump system v2 (#167) (5559cdd)
- do not return actual rate in results for compressor sampled since it can not be calculated (#190) (74fcfd8)
- expression type in system v2 (5318fb5)
- forbid extra attributes in TimeSeries (#195) (24c27bb)
- full run with system v2 components (#147) (2279ef4)
- generate system v2 schema (#161) (a27c392)
- handle all situations where zero mass rate is entering a compressor stage in a multiple streams compressor train (#164) (ba9235e)
- handle dates in yaml correctly (e9c28d0)
- issue with crossover rate calculation in system v2 (#188) (623a1cf)
- make ecalc installable again (58693de)
- rate_type was snake_case in json output (#172) (dc82a88)
- requested pressures not always an attribute (#155) (0078405)
- system v2 evaluation (6494257)
- use results base (#199) (cebde33)
- wrongly accessed rate in pump system v2 (56da4b2)
Documentation
- add further explanation to generic workflow (ddcb462)
- add generic workflow (30553e0)
- add powerlossfactor in generic workflow (3d152c8)
- changelog v8.4 add input compressor pressures to output (#150) (46e308f)
- correct order of diagrams (71a07f5)
- make mermaid diagram of workflow render correctly (b1c5b23)
- make mermaid workflow diagram render correctly (7a99b5b)
- update changelog for v8.3 (b424176)
- update workflow with comments (a71abfe)
Miscellaneous Chores
- add pressure drop ahead of stage to inlet pressure before choking (#146) (e5368de)
- add rate type to compressor model results and convert to time series (#187) (c86bf3f)
- add validation for missing headers in csv resource file (#191) (60e8403)
- adding test of full recirculation in multiple streams compressor trains (ba9235e)
- calculate correct standard condition density when mixing two streams (ba9235e)
- clarify neqsim depenedency in ecalc (#198) (d6635a9)
- docs: fix equations showing twice (#141) (2455e34)
- enable mypy for cli (#189) (da713fc)
- fix spelling errors in changelog (de3c2eb)
- remove unnecessary folders (#186) (e861d87)
- rename conflicting file names (#153) (654175e)
- revert nan to num in expressions (#202) (2f95c29)
- update archive (#181) (03abf64)
- update deps to latest (0f30f49)
Code Refactoring
- change typ to rate_type for TimeSeriesRate (#89) (8be87dd)
- generate asset/ecalc model schema (#157) (6818848)
- generate direct emitter schema (#180) (924526a)
- generate facility type schema (#182) (9428979)
- generate fuel consumer schema (#160) (9f580c1)
- generate fuel types schema (#179) (e17ef3b)
- generate generator set schema (#165) (ab25e05)
- generate installation schema (#159) (030a44b)
- generate time series schema (#176) (b02d68d)
- improve error message when wrong CURVE-keyword input to single speed compressor (#173) (9502bcc)
- improve error message when wrong CURVES-keyword input to variable speed compressor (#175) ([714e867](714e867f...
v8.3.0
8.3.0 (2023-08-11)
⚠ BREAKING CHANGES
- energy model type not allowed to change over time (#131)
Features
Bug Fixes
- 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)
- json schema accepts MAXIMUM_DISCHARGE_PRESSURE for single speed train (#86) (a18de1e)
- json schema allow stages to have control_margin and control_margin_unit (#90) (2415534)
- make apply_condition work for 2D numpy arrays also (#78) (bce91cb)
- make sure that suction pressure is less than or equal to discharge pressure for compressor train (#104) (d218273)
- parse scientific notation numbers in expression (#85) (fdf322b)
- parse spaces as thousand separators from excel (#107) (5a3bd6a)
- pump results wrong when resampled (#71) (daffdb3)
- resample emissions correctly to create valid json (3c9b52e)
- result of validation of operational conditions when rate is zero should always be valid (9de403c)
- validate time steps where rate is different from zero, not only when larger than zero (6ce07c4)
- wrong standard_conditions_density when mixing two fluids (a16a695)
Documentation
- fix generic compressor example (38870a3)
- fix links (#116) (62cadfc)
- how to migrate from 8.1 to 8.2 (4d3be58)
- remove unnecessary information from migration guide (4730538)
- specify only gensets for boiler/heater (#53) (2df3bdf)
- update changelog 8.2 with changes for ltp- and stp (#43) (6fe4b77)
- update changelog for 8.2 (3ccea74)
- update docs and changelog for energy models (#133) (8f0d716)
- update documentaion for heaters and boilers (#52) (2bef707)
- update migration guide with ltp- and stp changes (#42) (4b0b230)
Miscellaneous Chores
- add 8.3 changelog (9f4a4af)
- add fluid mixing checks (53c1626)
- add fluid mixing checks (0f3ddca)
- add installation filter to flare nmvoc (#87) (f37b76d)
- add installation filter to remaining ltp-columns (#91) (39df792)
- add power adjustment constant also for compressor trains with interstage pressure (#136) (c8a4861)
- add test for adjust energy usage on multiple streams and pressures compressor trains (c8a4861)
- add test of count_parentheses (0d1ce6f)
- add test of validation of operational conditions when suction pressure exceeds discharge pressure (d218273)
- added changelog entry about interstage pressure fix (#95) (2a1e8b0)
- count parantheses in list of tokens only among the elements that are strings (#94) (0d1ce6f)
- energy model type not allowed to change over time (#131) (670cff2)
- enforce unique fuel type names, and unique emission names within one fuel type (#84) (4ea9c63)
- fix broken link in documentation of GENERATORSETS keyword (#103) (329c8e9)
- fix typing of fluid composition (c0d98b3)
- improve documentation on defining compressor charts using CURVE and CURVES (#97) (1bde68a)
- improve error message when bad yaml file name (#77) (d2eb733)
- merge queque (d4489c6)
- numpy ndarray typing (#46) (9b7b308)
- pin numpy to compatible numpy version (35a3640)
- remove limiting dependency typer-cli (8208444)
- simplify dependencies for use with komodo (39c5c36)
- update dependencies to be aligned with external requirements (fbfbfeb)
- update snapshots after power adjustment constant fix for compressor trains with interstage pressure (c8a4861)
Code Refactoring
- consumer system v2 (248dabb)
- ensure neqsim fluid is contained to FluidStream object (#118) (d1d6ad6)
- enthalpy calculations (#109) (a01a215)
- enthalpy calculations (#110) (cf7d1a9)
- imrpove naming and documentation (94be7fa)
- molar_mass_kg_per_mol is not used in the code (3ea535e)
- move NeqSimfluid creation into NeqSim wrapper (57c4b24)
- NeqSim mapping (#120) ([0a0b2fe](https://g...