Skip to content

Commit a036046

Browse files
chore(main): release 8.2.2
1 parent 250928c commit a036046

File tree

3 files changed

+74
-2
lines changed

3 files changed

+74
-2
lines changed

docs/docs/changelog/changelog.md

+72
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,77 @@
11
# Changelog
22

3+
## [8.2.2](https://github.com/equinor/ecalc/compare/v8.2.1...v8.2.2) (2023-05-28)
4+
5+
6+
### Bug Fixes
7+
8+
* allow electrical driven consumers in consumer system v2 ([92cb4fa](https://github.com/equinor/ecalc/commit/92cb4faa7bfa525af6527892eab2dd38606b2033))
9+
* cast float to numpy array in function call ([#39](https://github.com/equinor/ecalc/issues/39)) ([250928c](https://github.com/equinor/ecalc/commit/250928c2b573f6148129ec32bc54932cbb2cb4a0))
10+
* **NeqSim Wrapper:** inconsistent return type ([9482421](https://github.com/equinor/ecalc/commit/94824210b4c2da666d9280ee581e3a98463e4742))
11+
* output emissions in fixed and predicted order ([059dab5](https://github.com/equinor/ecalc/commit/059dab592bf396eb20d4b825b8358fc10793ca5d))
12+
13+
14+
### Continuous Integration
15+
16+
* enable mypy for neqsim wrapper ([871c038](https://github.com/equinor/ecalc/commit/871c038c756ba40fc1c43bfbee7f83b0f4fd5390))
17+
* parallelize tests in docker ([4e73b68](https://github.com/equinor/ecalc/commit/4e73b680147c558e4e7cb0d44a78cfaa0e1a357f))
18+
* remove docker tests ([a2b5c1a](https://github.com/equinor/ecalc/commit/a2b5c1a7158d81094982724a63748ca4798f14ca))
19+
* use xdist to parallelize test suite ([2895ae7](https://github.com/equinor/ecalc/commit/2895ae7361878ea94d0d5be4a04a6ffbe0067b3d))
20+
21+
22+
### Tests
23+
24+
* compare consumer system v1 vs v2 both fuel and power consumers ([74fafce](https://github.com/equinor/ecalc/commit/74fafce276b93c9495bcfa1c2800c2a866bfa388))
25+
26+
27+
### Code Refactoring
28+
29+
* even more typing! ([a7b22e2](https://github.com/equinor/ecalc/commit/a7b22e23fa73d4e0cd35750f7ea6cea5e52f8abd))
30+
* fix more typing ([08394a3](https://github.com/equinor/ecalc/commit/08394a3ce3969976674532ccf8c3876265315035))
31+
* make units lowercase in function names ([272f0d7](https://github.com/equinor/ecalc/commit/272f0d7274986bc54c0717e7964d5a48c9a06723))
32+
* raise exceptions from error ([ee6e474](https://github.com/equinor/ecalc/commit/ee6e4742da1c3201abe8969d2dfedb1c2d4b369b))
33+
* remove duplicate function for converting to standard rate ([93de4f4](https://github.com/equinor/ecalc/commit/93de4f4d10b10763428d933e7afc3dea277a31ac))
34+
* remove unused code ([7ccf2c1](https://github.com/equinor/ecalc/commit/7ccf2c1dfd6d51242032d1b7bf45c52f6b7e90f5))
35+
* rename function variables ([c56693a](https://github.com/equinor/ecalc/commit/c56693a9e982c7e2275cc277939624c7812e9b65))
36+
* typing and typos ([936b941](https://github.com/equinor/ecalc/commit/936b9417da0723871d6c46f258d256a8967f934c))
37+
38+
39+
### Documentation
40+
41+
* add docstrings to undocumented functions ([064adfa](https://github.com/equinor/ecalc/commit/064adfa204c2c9f21588c30dc2c2cf3d2375c8a7))
42+
* update compressor pressure control ([#14](https://github.com/equinor/ecalc/issues/14)) ([1da1999](https://github.com/equinor/ecalc/commit/1da1999ac4dfaf21abd50e9d9ecc94102a0427e2))
43+
44+
45+
### Miscellaneous Chores
46+
47+
* add consumer function utils ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
48+
* add consumer system v2 sub results ([b78b035](https://github.com/equinor/ecalc/commit/b78b03504c4a46114062aded6661f00400c6ca06))
49+
* add testing of condition in consumer system consumer function ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
50+
* capture return values from a decorated function ([09ef23e](https://github.com/equinor/ecalc/commit/09ef23e92bf2755c7b83c7de5e9cbe9ee862db05)), closes [#4489](https://github.com/equinor/ecalc/issues/4489)
51+
* capture valid neqsim states ([f9c8b09](https://github.com/equinor/ecalc/commit/f9c8b09f36d1f9a965b94cd32ef2d7b47c910a75))
52+
* change to absolute image links in readme ([#16](https://github.com/equinor/ecalc/issues/16)) ([9a54f51](https://github.com/equinor/ecalc/commit/9a54f516613509bd6d5595f8afc1e5dce7ac860a))
53+
* conditions in tabular consumer function ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
54+
* correct link to documentation from README.md ([f185a7f](https://github.com/equinor/ecalc/commit/f185a7f8c389d4f9f5e087b68bfc83cc4fddad74))
55+
* coverage from coverage.py is not directly supported ([8e76c8a](https://github.com/equinor/ecalc/commit/8e76c8ab90d455613868e4343d6a2f61ccfb2a68))
56+
* enable B904 ([65ac18b](https://github.com/equinor/ecalc/commit/65ac18ba23178c57886c1a77b74b2ee52c6d7a60))
57+
* evaluate consumer system v2 consumers according to input order ([0088232](https://github.com/equinor/ecalc/commit/00882321d823f74cf37f0b42e9771775b8eb34db))
58+
* fix badges ([dd2fd6b](https://github.com/equinor/ecalc/commit/dd2fd6be194d306ae1ef969b13c43aea7352db58))
59+
* migration guide changed resampling method ([#38](https://github.com/equinor/ecalc/issues/38)) ([d4f11dc](https://github.com/equinor/ecalc/commit/d4f11dc49ce5eef29f6982f9514f6664ef18c764))
60+
* move conditioning for consumer system consumer function ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
61+
* move conditions for compressor consumer function ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
62+
* move conditions for direct consumer function ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
63+
* move conditions in pump consumer function ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
64+
* move evaluation of conditions before calculations ([#24](https://github.com/equinor/ecalc/issues/24)) ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
65+
* remove energy usage before conditioning from tests ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
66+
* remove energy_usage_before_conditioning from results ([50e2d66](https://github.com/equinor/ecalc/commit/50e2d667a37fc5f09a4c76615be0b21a42e2c703))
67+
* set power to zero when rate (and fuel consumption) is zero ([#27](https://github.com/equinor/ecalc/issues/27)) ([1ee5bfd](https://github.com/equinor/ecalc/commit/1ee5bfd2af30482683698172cd2a9c512f793b77))
68+
* typo ([9c3af00](https://github.com/equinor/ecalc/commit/9c3af00b4bcf5e3e57a99c97d3cc9028faeca307))
69+
* typo ([389db6f](https://github.com/equinor/ecalc/commit/389db6f29e7a7ff9044b7bac5fb0e6fddba1687d))
70+
* update dependencies to latest compatible ([5809862](https://github.com/equinor/ecalc/commit/58098624c64693d20591bc96d79c2cbc61e3b5a6))
71+
* update description etc in readme ([f37dbb7](https://github.com/equinor/ecalc/commit/f37dbb7b97ade6c358b89e288ba644b06d546187))
72+
* update docstring for numeric_methods ([be435c3](https://github.com/equinor/ecalc/commit/be435c3c96bc378614c4f761410c005be77025a4))
73+
* update test snapshots ([1ee5bfd](https://github.com/equinor/ecalc/commit/1ee5bfd2af30482683698172cd2a9c512f793b77))
74+
375
## 8.2.1 (2023-05-09)
476

577

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "libecalc"
33
# DO_NOT_EDIT: Version number automatically changed in CICD
4-
version = "8.2.1" # x-release-please-version
4+
version = "8.2.2" # x-release-please-version
55
# END_DO_NOT_EDIT
66
description = "eCalc™ is a software tool for calculation of energy demand and greenhouse gas (GHG) emissions from oil and gas production and processing."
77
keywords = ["energy", "emission", "scientific", "engineering"]

src/ecalc/libraries/libecalc/common/libecalc/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from libecalc.common.version import Version
22

33
# DO NOT EDIT - replaced in CI
4-
__version__ = "8.2.1" # x-release-please-version
4+
__version__ = "8.2.2" # x-release-please-version
55
# END DO NOT EDIT
66

77

0 commit comments

Comments
 (0)