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