Replies: 2 comments 5 replies
-
@Yuan4520, how are the pollutants configured inside your INP file? Can you provide some more information on the INP? |
Beta Was this translation helpful? Give feedback.
5 replies
-
@abhiramm7 could you take a look at this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to set the pollutant concentration of node “EGLS24” using the method mentioned in the official documentation, but after setting it, the concentration printed out is not the one I set. What could be the reason for this?
from pyswmm import Simulation, Links, Nodes with Simulation('E:\\for_pyswmm\\test.inp') as sim: EGLS24 = Nodes(sim)['EGLS24'] for step in sim: EGLS24.pollut_quality = ('COD', 100) print(EGLS24.pollut_quality)
output:The repeated occurrences of {'COD': 0.0, 'TN': 0.0, 'TP': 0.0, 'TSS': 0.0, 'NH3-N': 0.0}
Beta Was this translation helpful? Give feedback.
All reactions