Consumption array has an extra dimension: flowtypes. This has the values totalflow and hotflow. totalflow is the total water consumption while hotflow is just the heated part of the waterflow.
Each end use has, when applicable, a temperature set of the water outflow from which the percentage of hot waterflow (also with a fixed temperature) is calculated.
plot and write functions have been updated.
This is a breaking change. Due to the addition of an extra dimension to the consumption data array statements like (as in the example) tot_cons = consumption.sum(['enduse', 'user']).mean([ 'patterns']) need to be replaced by: tot_cons = consumption.sum(['enduse', 'user']).sel(flowtypes='totalflow').mean([ 'patterns']) to get the same results. the .sel(flowtypes='totalflow') part selects the totalflow array. by replacing this by .sel(flowtypes='hotflow') you gain access to just the hot water flow.
Added warm water functionality
Consumption array has an extra dimension:
flowtypes
. This has the valuestotalflow
andhotflow
.totalflow
is the total water consumption whilehotflow
is just the heated part of the waterflow.Each
end use
has, when applicable, a temperature set of the water outflow from which the percentage of hot waterflow (also with a fixed temperature) is calculated.plot and write functions have been updated.
This is a breaking change. Due to the addition of an extra dimension to the consumption data array statements like (as in the example)
tot_cons = consumption.sum(['enduse', 'user']).mean([ 'patterns'])
need to be replaced by:tot_cons = consumption.sum(['enduse', 'user']).sel(flowtypes='totalflow').mean([ 'patterns'])
to get the same results. the.sel(flowtypes='totalflow')
part selects the totalflow array. by replacing this by.sel(flowtypes='hotflow')
you gain access to just the hot water flow.