Releases: KWR-Water/pysimdeum
Added warm water functionality
Breaking change
Added warm water functionality meaning that pysimdeum
now calculates which part of the waterflow has been heated up and stores this in a separate array.
The consumption data array now has an extra dimension: flowtypes
which has the options totalflow
and hotflow
. The totalflow
contains the total water flow and is what pysimdeum
calculated previously. The hotflow
contains that part of the waterflow that has been heated up.
Because of the extra dimension in the consumption data array this version has a breaking change. Statements like:
tot_cons = consumption.sum(['enduse', 'user']).mean([ 'patterns'])
need to be changed to:
tot_cons = consumption.sum(['enduse', 'user']).sel(flowtypes='totalflow').mean([ 'patterns'])
to achieve the same result.
The .sel(flowtypes='totalflow')
makes sure we select the total flow.
plot and write functions have also been updated.
What's Changed
- Add warm water functionality by @BramHillebrand in #36
Full Changelog: 0.1.6...1.0.0
Added warm water functionality
Breaking change
Added warm water functionality meaning that pysimdeum
now calculates which part of the waterflow has been heated up and stores this in a separate array.
The consumption data array now has an extra dimension: flowtypes
which has the options totalflow
and hotflow
. The totalflow
contains the total water flow and is what pysimdeum
calculated previously. The hotflow
contains that part of the waterflow that has been heated up.
Because of the extra dimension in the consumption data array this version has a breaking change. Statements like:
tot_cons = consumption.sum(['enduse', 'user']).mean([ 'patterns'])
need to be changed to:
tot_cons = consumption.sum(['enduse', 'user']).sel(flowtypes='totalflow').mean([ 'patterns'])
to achieve the same result.
The .sel(flowtypes='totalflow')
makes sure we select the total flow.
plot and write functions have also been updated.
What's Changed
- Add warm water functionality by @BramHillebrand in #36
Full Changelog: 0.1.6...1.0.0
0.1.6 release
Fixes a bug in washingmachine and dishwasher end_use which might occur during multiday simulation
release 0.1.5
Fixes a crash that may appear when dishwasher or washingmachine pattern extend beyond the day boundary in a multiple day simulation
0.1.4 release
Update __init__.py
0.1.3 release
Merge pull request #29 from KWR-Water/BramHillebrand-patch-2 Update __init__.py
0.1.2 release
publish automatically on pypi
Release 0.1.1
Update setup.cfg
0.1.0 version
This release fixes small bugs and creates automatic publishing on pypi with release
Backup
Backup, only, don't delete!