Recent Releases of pyswmm

pyswmm - v2.0.1

Forgot to issue this release to GitHub (this is from a few months ago). This is already on PyPI

  • Fixes object id lookup where object does not exist.
  • updates to CI

Natural Resources - Water Supply and Quality - Python
Published by bemcdonnell 7 months ago

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 inside EPA-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 and Simulation._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.4.0

Version 1.4.0 (2023/03/28)

New Features

  • added pip extras to enable easily installing pyswmm with different versions of swmm-toolkit/OWA SWMM

Natural Resources - Water Supply and Quality - Python
Published by karosc about 2 years ago

pyswmm - v1.3.0

Version 1.3.0 (2023/01/24)

Issues Closed

Bugs 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

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 - v1.0.1

Version 1.0.1 (2021-01-13)

Issues Closed

Bugs fixed

  • Issue 267 - Add swmm-toolkit package as an install_require in setup.py

In this release 1 issue was closed.

Natural Resources - Water Supply and Quality - Python
Published by jennwuu over 4 years ago

pyswmm - v1.0.0

Version 1.0.0 (2021-01-12)

Issues Closed

Enhancements

Maintenance

Deprecated

In this release 3 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 4 years ago

pyswmm - v0.6.2

Version 0.6.2 (2020/08/04)

Updating release version.

Natural Resources - Water Supply and Quality - Python
Published by katmratliff over 4 years ago

pyswmm - v0.6.1

Version 0.6.1 (2020/08/04)

Pull Requests Merged

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.6.0

Version 0.6.0 (2019-10-19)

Pull Requests Merged

In this release 1 pull request was closed.

Natural Resources - Water Supply and Quality - Python
Published by jennwuu over 5 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.1

Version 0.5.1 (2019/08/26)

Pull Requests Merged

  • PR 208 - update SWMM5 libraries compiled with optimizer flags (209)

In this release 1 pull request was 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

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