Pysimdeum

Latest version: v1.0.1

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.1

**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 https://github.com/KWR-Water/pysimdeum/pull/36


**Full Changelog**: https://github.com/KWR-Water/pysimdeum/compare/0.1.6...1.0.0

1.0.0

**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 https://github.com/KWR-Water/pysimdeum/pull/36


**Full Changelog**: https://github.com/KWR-Water/pysimdeum/compare/0.1.6...1.0.0

0.1.6

Fixes a bug in washingmachine and dishwasher end_use which might occur during multiday simulation

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

0.1.3

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.