Open, validate, and run
Open an INP file, validate it, run the engine, and inspect the log.
View 01_open_validate_run.py
swmmx Documentation
The repository includes simple teaching scripts, fuller standard examples, and generated API notebooks. Run scripts from the repository root so they can find examples/example.inp.
python examples/01_open_validate_run.py
python examples/standard/01_open_validate_run.py
jupyter notebook examples/11_all_get_functions.ipynbOpen an INP file, validate it, run the engine, and inspect the log.
View 01_open_validate_run.pyClone and edit conduit geometry for scenario comparison.
View 02_modify_conduit_diameters_compare.pyUse the step iterator to monitor simulation progress.
View 03_step_by_step_runs_dynamic_control.pyRender network maps with static and data-driven styles.
View 04_plot_layout_examples.pyPlot node, link, and system result variables.
View 05_plot_timeseries_examples.pyDraw longitudinal paths with optional HGL overlays.
View 06_plot_profile_examples.pyExport model and result tables to external formats.
View 07_export_examples.pyUse pre-run and post-run time vectors plus object counts.
View 08_time_and_count_functions.pyInspect and edit parameters through the dotted API.
View 09_get_set_examples.pyCreate nodes, links, rainfall data, and subcatchments.
View 10_create_model_from_scratch_add_remove.pyReference notebook generated from the package API surface.
Open notebookReference notebook generated from the package API surface.
Open notebookReference notebook generated from the package API surface.
Open notebookReference notebook generated from the package API surface.
Open notebookReference notebook generated from the package API surface.
Open notebookReference notebook generated from the package API surface.
Open notebook