Releases: WaterFutures/EPyT-Flow
Releases · WaterFutures/EPyT-Flow
v0.17.1
- ScenarioSimulator:
- Add pattern time step and start to general parameters
- Change the type of initial tank level from int to float
- Change type of source_strength in add_species_injection_source()
- Bugfix: Use 'network_topology' instead of removed 'network_topo'
- Bugfix: Update network topology examples
v0.17.0
- Bugfix ScenarioVisualizer: Support multiple reservoirs, pumps, and tanks
- Bugfix Leak and source pattern: Correctly handle arbitrary pattern time steps
- ScenarioSimulator:
- Bugfix curves in get_topology
- Bugfix invalid pattern in randomize_demands
- Handle mixed pressure units independent of the flow units
- NetworkTopology:
- Convert units of curves
- Bugfix: HEAD curves are in feet/meter
- SCADA data:
- Sensor ordering can be changed
- Do not leak references to internal data
v0.16.1
NOTE: This release fixes a critical security issue that can
lead to remote code execution when deserializing JSON in the REST API or
loading from a file. Thanks to Jarrett Chan (@syphonetic) for reporting it.
- Fix unsafe JSON deserialization
- NetworkTopology:
- Bugfix in to_gis
- Fix broken links to EPANET documentation
v0.16.0
- Drop support of Python 3.9
- Memory efficient serialization of NumPy arrays
- Networktopology:
- Several bug fixes
- Include more attributes
- Add to_inp_file() method
- ScenarioSimulator:
- Several bug fixes
- Add parameter for float precision
- Export NetworkTopology to .inp file if .inp file from ScenarioConfig does not exit
- Fix EPANET-PLUS deprecation warnings
- Reinitialize flows when running a hydraulic simulation
- ModelUncertainty:
- Discard invalid index from demand pattern set
- Moved seeding of RNG to init
- ScenarioControlEnv:
- set_pump_speed now uses link setting instead of pattern
- SensorConfig:
- Introduced a sensor_ordering property of SensorConfig
- Event and control/rule classes:
- Make private attributes protected
- Visuaklization:
- Added dpi parameter to show plot
v0.15.0
- Switch to EPANET-PLUS as the back-end for accessing EPANET-(MSX)
- Support Python 3.14
v0.15.0b1
- Replace EPyT by EPANET-PLUS
v0.14.2
- Downgrade EPANET to 2.2 because of buggy pump states
- Add a function for downloading from Google Drive
- Docs: Group Jupyter notebooks
- ScadaData: Bugfix type of default warnings code
- NetworkTopology: Bugfix regarding tank mixing model
v0.14.1
- Downgrade EPyT dependency (yanked release)
- Upgrade EPANET source code to 2.3
- ModelUncertainty:
- Change class variables from private to protected
- Add undo function and fix re-apply in run_simulation
- ScenarioControlEnv: Add parameter reapply_uncertainties_at_reset
- ScadaData: Set default parameter for end_tim in extract_time_window
- NetworkTopology: Compare adj matrix in eq
v0.14.0
- Bugfix: clip function in Uncertainty class
- ScenarioSimulator:
- Add an attribute for controlling the re-application of uncertainties in simulation runs
- Add custom error/warning handling
- Do not override error/warnings in between report time steps
- Add EPANET-MSX error codes
- Output warnings as a default
- ScadaData:
- Speed up extract_time_window
- Set a default value if no warning codes are given
- Add arsenic contamination example
- Upgrade gcc version on macOS for compiling EPANET
v0.13.1
- Bugfix in simulation: boolean indicating termination