SWMM5 compiled libraries. This module provides the user with some options for selecting the SWMM5 engine.
Set the SWMM5 DLL.
This method allows the user to define the engine they would like to use for the simulation. It is important to understand that previous verisons of EPA-SWMM5 do not have the expanded toolkit functionality. Therefore, only basic functionality for running a simulation is available.
To use this, the user should copy and rename their SWMM5 DLL into the
site-packages/pyswmm/lib/windowsdirectory. The example below outlines the steps. This should be done before Simulation is imported.
>>> import pyswmm >>> pyswmm.lib.use("swmm5") >>> >>> from pyswmm import Simulation