apply_hydraulic_scenario#
module wntr.extensions.design_verification.scenarios
- apply_hydraulic_scenario(wn, scenario)[source]#
Apply hydraulic simulation options to an independent network copy.
The verification scenario changes only the WNTR
timeandhydraulicsimulation option groups. The originalWaterNetworkModelis not modified.- Parameters:
wn (WaterNetworkModel) – Original WNTR water-distribution network model.
scenario (HydraulicScenario) – Scenario containing the WNTR simulation options to apply.
- Returns:
scenario_wn (WaterNetworkModel) – Independent network copy containing the selected time and hydraulic simulation options.
audit (dict) – Dictionary recording the original and applied simulation options.
- Return type: