option_general
flow_units, infiltration_model, flow_routing, link_offsets, force_main_equation, allow_ponding, minimum_slope, skip_steady_state, system_flow_tolerance, lateral_flow_tolerance
swmmx Documentation
Getter paths follow m.get.<main_category>.<sub_category>(). They cover input fields, attached records, derived values, and result variables. Result variables require a successful run and become stale after model edits.
lengths = m.get.conduit.length()
length = m.get.conduit.length("P001")
flow = m.get.link.flow(ids=["P001", "P005"], format="df")
node_ids = m.get.node.id()
| Topic | Details |
|---|---|
| Default output | Supported getters return NumPy-style arrays for multi-object values where appropriate. |
format="df" | Return pandas DataFrame/Series output for tabular workflows. |
| Explicit ID missing | Raises UnknownIDError. |
| Empty object collection | All-object getters return an empty result instead of failing. |
| Derived fields | Read from model geometry/options and calculated by swmmx. |
| Result fields | Require a completed run and valid non-stale results. |
option_generalflow_units, infiltration_model, flow_routing, link_offsets, force_main_equation, allow_ponding, minimum_slope, skip_steady_state, system_flow_tolerance, lateral_flow_tolerance
option_processignore_rainfall, ignore_snowmelt, ignore_groundwater, ignore_rdii, ignore_routing, ignore_quality
option_date_timestart_date, start_time, end_date, end_time, report_start_date, report_start_time, report_step, wet_step, dry_step, routing_step, rule_step, sweep_start +2 more
option_dynamic_waveinertial_damping, normal_flow_limited, surcharge_method, variable_step, minimum_step, lengthening_step, minimum_surface_area, head_tolerance, maximum_trials, threads
rain_gageid, count, format, interval, snow_catch_factor, source_type, time_series, filename, station, units, rainfall
subcatchmentid, count, rain_gage, outlet, area, width, slope, impervious_percent, curb_length, snow_pack, tag, polygon +17 more
infiltration_hortonmaximum_rate, minimum_rate, decay, dry_time, maximum_volume
infiltration_green_amptsuction_head, hydraulic_conductivity, initial_moisture_deficit
infiltration_curve_numbercurve_number, conductivity, dry_time
nodeid, count, type, invert_elevation, max_depth, initial_depth, surcharge_depth, ponded_area, tag, coordinate, external_inflow, dry_weather_flow +9 more
junctionid, count, invert_elevation, max_depth, initial_depth, surcharge_depth, ponded_area
outfallid, count, invert_elevation, type, fixed_stage, tidal_curve, time_series, tide_gate, route_to
flow_dividerid, count, invert_elevation, max_depth, initial_depth, surcharge_depth, ponded_area, type, diverted_link, cutoff_flow, diversion_curve, weir_height +1 more
storage_unitid, count, invert_elevation, max_depth, initial_depth, storage_curve_type, storage_curve, area, area_coefficient, area_exponent, area_constant, evaporation_factor +1 more
linkid, count, type, from_node, to_node, inlet_offset, outlet_offset, initial_flow, maximum_flow, flap_gate, tag, vertices +7 more
conduitid, count, from_node, to_node, length, roughness, inlet_offset, outlet_offset, initial_flow, maximum_flow, shape, geometry +18 more
pumpid, count, from_node, to_node, curve, initial_status, startup_depth, shutoff_depth, flow, status, setting, energy
orificeid, count, from_node, to_node, type, shape, height, width, offset, discharge_coefficient, flap_gate, open_close_time +2 more
weirid, count, from_node, to_node, type, crest_height, length, side_slope, discharge_coefficient, flap_gate, end_contractions, end_coefficient +5 more
outletid, count, from_node, to_node, offset, flap_gate, rating_type, curve, coefficient, exponent, flow, setting
cross_sectionlink, shape, geometry_1, geometry_2, geometry_3, geometry_4, barrels, culvert_code, height, width, side_slope, shape_curve
transectid, count, roughness_left, roughness_right, roughness_channel, left_bank, right_bank, stations, elevations, modifiers
curveid, count, type, x, y, points
coordinatenode_coordinates, subcatchment_coordinates, link_vertices, polygons, labels, map_dimensions, map_units
streetid, count, crown_width, curb_height, cross_slope, roughness, depression_storage, gutter_width, gutter_slope, spread
inletid, count, type, grate_length, grate_width, grate_type, curb_length, curb_height, slotted_length, slotted_width, captured_flow
inlet_usagenode, inlet, conduit, number, clogging_factor, flow_restriction
lid_controlid, count, type
lid_surfacestorage_depth, vegetation_fraction, roughness, slope, side_slope
lid_pavementthickness, void_ratio, impervious_surface_fraction, permeability, clogging_factor
lid_soilthickness, porosity, field_capacity, wilting_point, conductivity, conductivity_slope, suction_head
lid_storageheight, void_ratio, seepage_rate, clogging_factor
lid_draincoefficient, exponent, offset_height, delay, open_level, closed_level, control_curve
lid_usagesubcatchment, lid_control, number, area, width, initial_saturation, from_impervious_percent, from_pervious_percent, outlet, drain_to, inflow, evaporation +4 more
aquiferid, count, porosity, wilting_point, field_capacity, conductivity, conductivity_slope, tension_slope, upper_evaporation_fraction, lower_evaporation_depth, lower_groundwater_loss_rate, bottom_elevation +3 more
groundwatersubcatchment, aquifer, node, surface_elevation, a1, b1, a2, b2, a3, fixed_depth, threshold_elevation, lateral_flow_equation +1 more
snow_packid, count, plowable_fraction, impervious_fraction, pervious_fraction, minimum_melt_coefficient, maximum_melt_coefficient, base_temperature, free_water_capacity_fraction, initial_snow_depth, initial_free_water, depth_at_100_percent_cover +7 more
climatetemperature_time_series, evaporation_type, evaporation_constant, evaporation_monthly, evaporation_time_series, evaporation_recovery_pattern, evaporation_dry_only, wind_speed_type, wind_speed_monthly, snowmelt_parameters, areal_depletion_impervious, areal_depletion_pervious
climate_adjustmenttemperature, evaporation, rainfall, conductivity
pollutantid, count, units, rain_concentration, groundwater_concentration, rdii_concentration, decay_coefficient, snow_only, co_pollutant, co_pollutant_fraction, dry_weather_flow_concentration, initial_concentration
land_useid, count, sweeping_interval, sweeping_availability, last_swept
coveragesubcatchment, land_use, percent
loadingsubcatchment, pollutant, initial_buildup
buildupland_use, pollutant, function, maximum_buildup, rate_constant, power, normalizer
washoffland_use, pollutant, function, coefficient, exponent, cleaning_efficiency, bmp_efficiency
treatmentnode, pollutant, expression
time_seriesid, count, datetime, values, filename, description
time_patternid, count, type, multipliers
external_inflownode, constituent, time_series, type, units_factor, scale_factor, baseline, pattern
dry_weather_flownode, constituent, average_value, monthly_pattern, daily_pattern, hourly_pattern, weekend_pattern
rdiinode, unit_hydrograph, sewer_area
unit_hydrographid, count, rain_gage, month, short_term_r, short_term_t, short_term_k, medium_term_r, medium_term_t, medium_term_k, long_term_r, long_term_t +1 more
control_ruleid, count, text, conditions, actions, priority, enabled, action_log
interface_filerainfall, runoff, hotstart, rdii, inflow, outflow, use_file, save_file
system_resultair_temperature, rainfall, snow_depth, evaporation, infiltration, runoff, dry_weather_inflow, groundwater_inflow, rdii_inflow, direct_inflow, total_lateral_inflow, flooding +3 more
summarymodel, counts, options, subcatchment_runoff, subcatchment_washoff, node_depth, node_inflow, node_flooding, node_surcharge, storage_volume, outfall_loading, link_flow +8 more
The full getter notebook is divided into focused pages so the reference is easier to browse.
Calling conventions, IDs, output formats, result requirements, and error behavior.
Open sectionGeneral, process, date/time, and dynamic-wave option getters.
Open sectionClimate, rain gage, subcatchment, infiltration, and LID-related getters.
Open sectionComposite node getters and detailed junction, outfall, divider, and storage-unit fields.
Open sectionComposite link getters plus conduit, pump, orifice, weir, outlet, and cross-section fields.
Open sectionInlets, streets, transects, pollutants, land use, buildup, washoff, and treatment.
Open sectionCurves, time series, inflows, controls, coordinates, summaries, and system results.
Open section