Recent Releases of pyswmm
pyswmm - v2.0.0
PySWMM-v2.0 is out!
Happy 10th Anniversary, PySWMM! In celebration of this release and this milestone in this decade-long endeavor, we have introduced so much new functionality to the tool.
Added
- Step-Advance now leverages the
swmm_stride
entry point insideEPA-SWMM
to give discrete control over model time-stepping (#481) - New and more Pythonic ways to pull time series data from the Output files (#511)
- Simulation "State Manager" which is setup to throw an exception if the user tries to instantiate more than one
Simulation
Object at a time (#513) - Token-based parameter modifiers for pre-simulation model changes. This makes this project easily suitable to embed into optimization with 100% coverage of the INP file for mutable parameters (#512).
Changed
- Major rewrite of LID and Most of the Documentation (#499).
- Added Deprecation Warning for internal class variables
Simulation._isOpen
andSimulation._isStarted
(#513).
Removed
Simulation.initial_conditions()
and prescribed migration approach inside documentation` (#513).
Natural Resources - Water Supply and Quality
- Python
Published by bemcdonnell about 1 year ago

pyswmm - v1.5.1
PySWMM-v1.5.1!!!
Many updates to the documentation and a nice link to our new Swag Store!
Get yourself a Hoodie and a coffee cup to weather this cold season (OR the cool sunglasses if you're South of the Equator enjoying the sun). All proceeds go toward the costs of the services required to maintain PySWMM and its family projects. "This is my GOOD side" and Don't you forget it!
Release Info
Patch requirements.txt
with packaging
This release introduces the new features for using a different hot start file before starting your simulation and saving a new hotstart file during a running simulation at any point in time. It's so simple to use!!!
with Simulation("input_file.inp") as sim:
# To use a hot start file different from the one declared in the INP,
# call the following method before starting your simulation.
sim.use_hotstart("path_to_hot_start_to_use.hsf")
for ind, step in enumerate(sim):
if ind == 25: # at 25th simulation iteration step...
# during the simulation.. save a hot start with this method
sim.save_hotstart("path_to_hotstart_file.hsf")
Natural Resources - Water Supply and Quality
- Python
Published by bemcdonnell over 1 year ago

pyswmm - v1.5.0
PySWMM-v1.5.0!!!
Many updates to the documentation and a nice link to our new Swag Store!
Get yourself a Hoodie and a coffee cup to weather this cold season (OR the cool sunglasses if you're South of the Equator enjoying the sun). All proceeds go toward the costs of the services required to maintain PySWMM and its family projects. "This is my GOOD side" and Don't you forget it!
Release Info
This release introduces the new features for using a different hot start file before starting your simulation and saving a new hotstart file during a running simulation at any point in time. It's so simple to use!!!
with Simulation("input_file.inp") as sim:
# To use a hot start file different from the one declared in the INP,
# call the following method before starting your simulation.
sim.use_hotstart("path_to_hot_start_to_use.hsf")
for ind, step in enumerate(sim):
if ind == 25: # at 25th simulation iteration step...
# during the simulation.. save a hot start with this method
sim.save_hotstart("path_to_hotstart_file.hsf")
Natural Resources - Water Supply and Quality
- Python
Published by bemcdonnell over 1 year ago

pyswmm - v1.3.0
Version 1.3.0 (2023/01/24)
Issues Closed
Bugs fixed
- Issue 360 - node hrt accessor fixed
Pull Requests Merged
- Unit test with OWA SWMM 5.1.15
- PR 374 - debug LID tutorial code
- PR 377 - updates to readme.md for pyswmm.org website
- PR 393 - updates to readme.md for pyswmm youtube channel
- PR 392 - overhaul pyswmm sphinx docs
Natural Resources - Water Supply and Quality
- Python
Published by karosc about 2 years ago

pyswmm - v1.2.0
ππ¨ pyswmm v.1.2.0 π¨π
Huge shoutout to @bemason and @karosc for their amazing work in this release ππΌ. Kudos to @jennwuu and @bemcdonnell for their persistent effort in maintaining pyswmm π«Άπ½.
Version 1.2.0 is our best version of pyswmm yet. In this release, we have added the feature for updating pollutants during a simulation. This feature unlocks a new avenue of water quality modeling in SWMM. We are no longer restricted to the default pollutant models in SWMM. We can now represent almost any pollutant model in SWMM via Python π₯³.
Furthermore, this feature extends pollutant modeling to Links as well. This feature would let us model water quality dynamics like sediment resuspension in channels. We are excited to see all the amazing things the community will do with this new version of pyswmm π.
We have also improved the robustness of pyswmm and addressed a few π in this release.
Natural Resources - Water Supply and Quality
- Python
Published by abhiramm7 over 2 years ago

pyswmm - v1.1.1
Version 1.1.1 (2022/01/11)
Issues Closed
Bugs fixed
- Issue 312 - Pip install pyswmm does not install julian
In this release 1 issue was closed.
Pull Requests Merged
In this release 1 pull request was closed.
Natural Resources - Water Supply and Quality
- Python
Published by jennwuu over 3 years ago

pyswmm - v1.1.0
Version 1.1.0 (2022/01/09)
Issues Closed
Documentation
New Features
- Issue 274 - Port SWMM output functions into PySWMM from swmm-python
Bugs fixed
- Issue 268 - readthedocs build is broken
In this release 4 issues were closed.
Pull Requests Merged
In this release 1 pull request was closed.
Natural Resources - Water Supply and Quality
- Python
Published by jennwuu over 3 years ago

pyswmm - v0.6.1
Version 0.6.1 (2020/08/04)
Pull Requests Merged
- PR 217 - add node, link water quality getters, by @katmratliff (206)
In this release 1 pull request was closed.
Also includes the addition of paper for The Journal of Open Source Software.
Natural Resources - Water Supply and Quality
- Python
Published by katmratliff over 4 years ago

pyswmm - v0.5.2
Version 0.5.2 (2019-10-08)
Pull Requests Merged
- PR 212 - change single ptr struct to double ptr struct for ctypes for subcatch (211)
- PR 208 - update SWMM5 libraries compiled with optimizer flags (209)
In this release 2 pull requests were closed.
Natural Resources - Water Supply and Quality
- Python
Published by jennwuu over 5 years ago

pyswmm - v0.5.0
Version 0.5.0 (2019/07/26)
Issues Closed
New Features
Bugs fixed
- Issue 192 - latest version of v0.4.9.dev0 seems unstable (PR 152)
- Issue 172 -
error_check
swallows exceptions and converts them to warnings (PR 173) - Issue 164 - pump_statistics['max_flowrate'] gives zero division error (PR 204)
- Issue 146 - Fix linux / osx CI
In this release 6 issues were closed.
Pull Requests Merged
- PR 204 - Bug Fix Issue 164 (164)
- PR 203 - Merge develop to master (201, 200)
- PR 198 - Merging Abhi's Raingage API work (199, 155)
- PR 191 - Eliminating VCOMP DLL Not Found on Windows (186, 153)
- PR 175 - doc update simulation to sim
- PR 173 - Make _error_check throw exception for all errcodes (172)
- PR 170 - add getters for pollutant surface buildup and ponded concentration in subcatchments
- PR 165 - Simple ci (166)
- PR 163 - Update system.py docs (162)
- PR 154 - Updated Linux Binary (133)
- PR 152 - LID Support (197, 196, 194, 192)
- PR 151 - Updated Node Tests with Assertion Checks (150)
- PR 109 - Adding Code of Conduct to Project
In this release 13 pull requests were closed.
Natural Resources - Water Supply and Quality
- Python
Published by bemcdonnell almost 6 years ago
