XP Software, a provider of water collection system modeling software, announced the release of XPSWMM and XPSTORM v.2010. The release of the new.
Application:Storm Drain Modeling Method:n/a Model Type:1D/2D Developer:XP Solutions Why XPSWMM with WMS? WMS provides a custom interface to XPSWMM model offering a simple way to set model parameters and a graphical user interface to run the model and visualize the results. Gather background data from a variety of sources from GIS to CAD and access online data from numerous databases of maps, images, elevation, land use, and soil data. WMS allows you to interact with models in true 3D taking advantage of optimized OpenGL graphics and to create photo-realistic renderings and animations for PowerPoint, print, and web presentations. XPSWMM Description: xpswmm, developed by XP Solutions, is a comprehensive software package for modeling stormwater, sanitary and river systems.
![Xp Swmm 2010 Xp Swmm 2010](/uploads/1/2/5/4/125406031/816452023.png)
Xpswmm is used by scientists, engineers and managers to develop link-node (1D) and spatially distributed hydraulic models (2D). It simulates natural rainfall-runoff processes and the performance of engineered systems that manage our water resources.
Installation: Windows: As of version 1.0.0.1 SWMM5 is verified to work with Python 3 as well. Now (as of version 1.0.0.1) the package is provided as python Wheel too.
![Xpswmm 2014 Xpswmm 2014](/uploads/1/2/5/4/125406031/570997157.png)
This means for windows the following command should install SWMM5 pip install SWMM5 Alternatively, use the SWMM5-x.y.z.k.win32.exe file downloaded from the repository for click and install. If you have your own C compilers, then SWMM5-x.y.z.k.zip can be used to install as python setup.py install Linux: Download SWMM5-x.y.z.k.zip can be used to install as python setup.py install Or, just with, pip install SWMM5. Usage: New Interface: One should always use the new interface. The old interface (below) is left only for backward compatibility. The key features of new interface are.
More pythonic interface. A number of convenience functions Import new interface and run SWMM from swmm5.swmm5tools import SWMM5Simulation st=SWMM5Simulation('swmm5/examples/simple/swmm5Example.inp') Example 1: Retrive simulation properties. st.SWMM5Version # Version of underlying SWMM5 engine.
'5.1.000' st.SWMM5VERSION # same thing as an integer 51000 st.FlowUnits # Flow units. 'LPS' st.SWMMFlowUnits # returns flow units as an index. Legacy interface Note: This is provided only for backward compatibility. Always use the new interface (above). Import swmm5 module from swmm5 import swmm5 as sw run a sample network ret=sw.RunSwmmDll('./swmm5/examples/simple/swmm5Example.inp','swmm5Example.rpt','swmm5.dat') should return 0 if everything is OK (according to to swmm convension) print (ret) 0 Now it is possible to retrive results. Open the swmm results file sw.OpenSwmmOutFile('swmm5.dat') 0 How many time steps are there?
sw.cvar.SWMMNperiods 360 Let鈥檚 retrive rainfall in the system. Systems rainfall at fifth timestep ret,x=sw.GetSwmmResult(3,0,1,5) print ('%.2f'% x) 7.20.