Wntr

Latest version: v1.1.0

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

Scan your dependencies

Page 3 of 4

0.4.1

What's Changed
* Added pattern start to the WNTRSimulator by kaklise in https://github.com/USEPA/WNTR/pull/225
* Update to EPANET rules parsing by dbhart in https://github.com/USEPA/WNTR/pull/228
* Added modified resilience index and tank capacity metrics by kaklise in https://github.com/USEPA/WNTR/pull/226
* Min timestep by dbhart in https://github.com/USEPA/WNTR/pull/229
* Added jupyter notebook test script by jckett in https://github.com/USEPA/WNTR/pull/237
* Model JSON format by dbhart in https://github.com/USEPA/WNTR/pull/232
* Update elements.py:TimeSeries.__repr__ by dbhart in https://github.com/USEPA/WNTR/pull/238
* Added ability to easily update Control/Rule parameters by this-josh in https://github.com/USEPA/WNTR/pull/241
* Added seed to sample damage state by kaklise in https://github.com/USEPA/WNTR/pull/246
* Toolkit update by dbhart in https://github.com/USEPA/WNTR/pull/236
* Split/break taking vertices into account by pahbloo in https://github.com/USEPA/WNTR/pull/248
* Fix assert statement in add_tank by dbhart in https://github.com/USEPA/WNTR/pull/251
* Distribute inp files used for testing by michaelbynum in https://github.com/USEPA/WNTR/pull/253

New Contributors
* jckett made their first contribution in https://github.com/USEPA/WNTR/pull/237
* this-josh made their first contribution in https://github.com/USEPA/WNTR/pull/241
* pahbloo made their first contribution in https://github.com/USEPA/WNTR/pull/248

**Full Changelog**: https://github.com/USEPA/WNTR/compare/0.4.0...0.4.1

0.4.0

* Changed network component attribute names related to initial status and initial setting and made simulation results read-only
* Added slots to water network model options to define available option names
* Removed custom handlers from the EPANET bin filer reader
* Added a metric to compute pump energy
* Added type checking for methods used to build water network models
* Updated the WNTRSimulator link results to include setting
* Updated the WNTRSimulator to use start clocktime
* Updated documentation and tests

See [Release Notes](https://wntr.readthedocs.io/en/latest/whatsnew.html) for more details.

0.3.1

- Added option to define convergence error behavior.
- Updated method to add power outage to pumps.
- Added a method to convert controls to rules.
- Updated the expected demand metrics to optionally specify a demand category.
- Added a function to compute valve segment attributes from a valve layer.
- Added a function to generate a randomly ordered colormap.
- Added the ability to define pressure exponents that vary throughout the network (used only by the WNTRSimulator).
- Updated controls to create speed rules for pumps.
- Bug fixes related to the pump energy calculation, value controls read in from EPANET INP files, plotting directed networks with a colorbar, and pattern start time.
- Added NotImplementedError for D-W and C-M headloss when using the WNTRSimulator.
- Updated network component attributes that store simulation results to be read-only.
- Changed results object names for friction factor, link quality, and reaction rate to match names used in EPANET.
- Updated API documentation to include a table of class properties for each network class (Junction, Tank, Pipe, etc.).
- Added support for Python 3.9

See [Release Notes](https://wntr.readthedocs.io/en/latest/whatsnew.html) for more details.

0.3.0

- Added EPANET 2.2 as the default engine in WNTR's EpanetSimulator. EPANET 2.00.12 can still be used for backward compatibility.
WNTR can now run PDD hydraulic simulation using EPANET or using the custom WNTRSimulator. This update also allows users to simulate tank overflow using the EpanetSimulator.
- Model options have been updated to better align with EPANET nomenclature.
- Added support for multi-point pump curves in the WNTRSimulator.
- Added support for tank volume curves in the WNTRSimulator.
- Updated tests
- Updated documentation

See [Release Notes](https://wntr.readthedocs.io/en/latest/whatsnew.html) for more details.

0.2.3

- Fixed bug in reset_initial_values. The method now resets controls and additional network attributes needed to reset the model to initial conditions.
- Fixed bug for valve settings in the EPANET INP file writer
- Fixed bug in emitter coefficient unit conversion
- Included conda install instructions
- Added methods to add and remove fire fighting demand to a junction
- Added pipe criticality and fire flow examples
- Minor updates to support NetworkX 2.5
- Added binaries for Python 3.8
- Added testing capabilities through GitHub Actions. This includes a quick check run on Linux using Python 3.8 and a complete build run on Windows, Linux, and MacOS using Python 3.6, 3.7 and 3.8. The GitHub Action tests are initiated after push and pull requests to the master and dev branches.
- Updated tests
- Updated documentation

0.2.2.1

This is a bug-fix release and includes updates to assign demand and WNTRSimulator controls, see [WNTR version 0.2.2.1 Release Notes](https://wntr.readthedocs.io/en/latest/whatsnew.html) for more details.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.