Skip to content

Calculate each pollutant's concentration with Output module #395

Answered by bemcdonnell
Karakurko asked this question in Q&A
Discussion options

You must be logged in to vote

@Karakurko, ok i have a very simple work around for you!

You'll need to make a very simple modification to swmm.toolkit python code. Depending if you are using a VENV or just have pyswmm/swmm-toolkit globally navigate to:

... /site-packages/swmm/toolkit/shared_enum.py

Then add these following lines:

class NodeAttribute(Enum, start = 0):
    """Node Attribute enum class.

    .. rubric:: Enum Members

    ========================= ===============================
    :attr:`~INVERT_DEPTH`     water depth above invert
    :attr:`~HYDRAULIC_HEAD`   hydraulic head
    :attr:`~PONDED_VOLUME`    volume stored and ponded
    :attr:`~LATERAL_INFLOW`   lateral inflow rate
    :attr:`~TOTAL_INFLOW` …

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@bemcdonnell
Comment options

@bemcdonnell
Comment options

@Karakurko
Comment options

@bemcdonnell
Comment options

@Karakurko
Comment options

Comment options

You must be logged in to vote
1 reply
@Karakurko
Comment options

Answer selected by Karakurko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants