HydPy 6.2.dev1__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hydpy/__init__.py +275 -0
- hydpy/aliases.py +2554 -0
- hydpy/auxs/__init__.py +0 -0
- hydpy/auxs/anntools.py +1305 -0
- hydpy/auxs/armatools.py +883 -0
- hydpy/auxs/calibtools.py +3337 -0
- hydpy/auxs/interptools.py +1094 -0
- hydpy/auxs/iuhtools.py +543 -0
- hydpy/auxs/networktools.py +597 -0
- hydpy/auxs/ppolytools.py +809 -0
- hydpy/auxs/quadtools.py +61 -0
- hydpy/auxs/roottools.py +228 -0
- hydpy/auxs/smoothtools.py +273 -0
- hydpy/auxs/statstools.py +2125 -0
- hydpy/auxs/validtools.py +81 -0
- hydpy/conf/HydPyConfigBase.xsd +68637 -0
- hydpy/conf/HydPyConfigBase.xsdt +358 -0
- hydpy/conf/HydPyConfigMultipleRuns.xsd +25 -0
- hydpy/conf/HydPyConfigSingleRun.xsd +24 -0
- hydpy/conf/__init__.py +0 -0
- hydpy/conf/a_coefficients_explicit_lobatto_sequence.npy +0 -0
- hydpy/conf/support_points_for_smoothpar_logistic2.npy +0 -0
- hydpy/config.py +42 -0
- hydpy/core/__init__.py +0 -0
- hydpy/core/aliastools.py +214 -0
- hydpy/core/autodoctools.py +1947 -0
- hydpy/core/auxfiletools.py +1169 -0
- hydpy/core/devicetools.py +3810 -0
- hydpy/core/exceptiontools.py +269 -0
- hydpy/core/filetools.py +1985 -0
- hydpy/core/hydpytools.py +3089 -0
- hydpy/core/importtools.py +1398 -0
- hydpy/core/indextools.py +345 -0
- hydpy/core/itemtools.py +1849 -0
- hydpy/core/masktools.py +460 -0
- hydpy/core/modeltools.py +4868 -0
- hydpy/core/netcdftools.py +2683 -0
- hydpy/core/objecttools.py +2023 -0
- hydpy/core/optiontools.py +1045 -0
- hydpy/core/parametertools.py +4674 -0
- hydpy/core/printtools.py +222 -0
- hydpy/core/propertytools.py +643 -0
- hydpy/core/pubtools.py +254 -0
- hydpy/core/selectiontools.py +1571 -0
- hydpy/core/sequencetools.py +4476 -0
- hydpy/core/seriestools.py +339 -0
- hydpy/core/testtools.py +2483 -0
- hydpy/core/timetools.py +3567 -0
- hydpy/core/typingtools.py +333 -0
- hydpy/core/variabletools.py +2615 -0
- hydpy/cythons/__init__.py +24 -0
- hydpy/cythons/annutils.pxd +33 -0
- hydpy/cythons/annutils.pyi +25 -0
- hydpy/cythons/annutils.pyx +120 -0
- hydpy/cythons/autogen/__init__.py +0 -0
- hydpy/cythons/autogen/annutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/annutils.pxd +42 -0
- hydpy/cythons/autogen/annutils.pyx +129 -0
- hydpy/cythons/autogen/c_arma.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_arma.pxd +179 -0
- hydpy/cythons/autogen/c_arma.pyx +356 -0
- hydpy/cythons/autogen/c_arma_rimorido.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_arma_rimorido.pxd +179 -0
- hydpy/cythons/autogen/c_arma_rimorido.pyx +356 -0
- hydpy/cythons/autogen/c_conv.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_conv.pxd +198 -0
- hydpy/cythons/autogen/c_conv.pyx +491 -0
- hydpy/cythons/autogen/c_conv_idw.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_conv_idw.pxd +124 -0
- hydpy/cythons/autogen/c_conv_idw.pyx +264 -0
- hydpy/cythons/autogen/c_conv_idw_ed.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_conv_idw_ed.pxd +197 -0
- hydpy/cythons/autogen/c_conv_idw_ed.pyx +481 -0
- hydpy/cythons/autogen/c_conv_nn.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_conv_nn.pxd +120 -0
- hydpy/cythons/autogen/c_conv_nn.pyx +224 -0
- hydpy/cythons/autogen/c_dam.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam.pxd +805 -0
- hydpy/cythons/autogen/c_dam.pyx +1477 -0
- hydpy/cythons/autogen/c_dam_llake.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_llake.pxd +364 -0
- hydpy/cythons/autogen/c_dam_llake.pyx +705 -0
- hydpy/cythons/autogen/c_dam_lreservoir.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_lreservoir.pxd +365 -0
- hydpy/cythons/autogen/c_dam_lreservoir.pyx +708 -0
- hydpy/cythons/autogen/c_dam_lretention.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_lretention.pxd +340 -0
- hydpy/cythons/autogen/c_dam_lretention.pyx +625 -0
- hydpy/cythons/autogen/c_dam_pump.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_pump.pxd +402 -0
- hydpy/cythons/autogen/c_dam_pump.pyx +724 -0
- hydpy/cythons/autogen/c_dam_pump_sluice.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_pump_sluice.pxd +452 -0
- hydpy/cythons/autogen/c_dam_pump_sluice.pyx +829 -0
- hydpy/cythons/autogen/c_dam_sluice.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_sluice.pxd +404 -0
- hydpy/cythons/autogen/c_dam_sluice.pyx +726 -0
- hydpy/cythons/autogen/c_dam_v001.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_v001.pxd +452 -0
- hydpy/cythons/autogen/c_dam_v001.pyx +816 -0
- hydpy/cythons/autogen/c_dam_v002.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_v002.pxd +394 -0
- hydpy/cythons/autogen/c_dam_v002.pyx +703 -0
- hydpy/cythons/autogen/c_dam_v003.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_v003.pxd +417 -0
- hydpy/cythons/autogen/c_dam_v003.pyx +744 -0
- hydpy/cythons/autogen/c_dam_v004.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_v004.pxd +486 -0
- hydpy/cythons/autogen/c_dam_v004.pyx +891 -0
- hydpy/cythons/autogen/c_dam_v005.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dam_v005.pxd +524 -0
- hydpy/cythons/autogen/c_dam_v005.pyx +928 -0
- hydpy/cythons/autogen/c_dummy.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dummy.pxd +151 -0
- hydpy/cythons/autogen/c_dummy.pyx +263 -0
- hydpy/cythons/autogen/c_dummy_interceptedwater.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dummy_interceptedwater.pxd +69 -0
- hydpy/cythons/autogen/c_dummy_interceptedwater.pyx +104 -0
- hydpy/cythons/autogen/c_dummy_node2node.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dummy_node2node.pxd +89 -0
- hydpy/cythons/autogen/c_dummy_node2node.pyx +148 -0
- hydpy/cythons/autogen/c_dummy_snowalbedo.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dummy_snowalbedo.pxd +69 -0
- hydpy/cythons/autogen/c_dummy_snowalbedo.pyx +104 -0
- hydpy/cythons/autogen/c_dummy_snowcover.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dummy_snowcover.pxd +69 -0
- hydpy/cythons/autogen/c_dummy_snowcover.pyx +104 -0
- hydpy/cythons/autogen/c_dummy_snowycanopy.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dummy_snowycanopy.pxd +69 -0
- hydpy/cythons/autogen/c_dummy_snowycanopy.pyx +104 -0
- hydpy/cythons/autogen/c_dummy_soilwater.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_dummy_soilwater.pxd +69 -0
- hydpy/cythons/autogen/c_dummy_soilwater.pyx +104 -0
- hydpy/cythons/autogen/c_evap.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap.pxd +1029 -0
- hydpy/cythons/autogen/c_evap.pyx +2601 -0
- hydpy/cythons/autogen/c_evap_aet_hbv96.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_aet_hbv96.pxd +227 -0
- hydpy/cythons/autogen/c_evap_aet_hbv96.pyx +584 -0
- hydpy/cythons/autogen/c_evap_aet_minhas.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_aet_minhas.pxd +193 -0
- hydpy/cythons/autogen/c_evap_aet_minhas.pyx +478 -0
- hydpy/cythons/autogen/c_evap_aet_morsim.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_aet_morsim.pxd +681 -0
- hydpy/cythons/autogen/c_evap_aet_morsim.pyx +1642 -0
- hydpy/cythons/autogen/c_evap_pet_ambav1.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_pet_ambav1.pxd +532 -0
- hydpy/cythons/autogen/c_evap_pet_ambav1.pyx +1296 -0
- hydpy/cythons/autogen/c_evap_pet_hbv96.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_pet_hbv96.pxd +179 -0
- hydpy/cythons/autogen/c_evap_pet_hbv96.pyx +328 -0
- hydpy/cythons/autogen/c_evap_pet_m.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_pet_m.pxd +124 -0
- hydpy/cythons/autogen/c_evap_pet_m.pyx +214 -0
- hydpy/cythons/autogen/c_evap_pet_mlc.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_pet_mlc.pxd +126 -0
- hydpy/cythons/autogen/c_evap_pet_mlc.pyx +214 -0
- hydpy/cythons/autogen/c_evap_ret_fao56.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_ret_fao56.pxd +305 -0
- hydpy/cythons/autogen/c_evap_ret_fao56.pyx +624 -0
- hydpy/cythons/autogen/c_evap_ret_io.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_ret_io.pxd +112 -0
- hydpy/cythons/autogen/c_evap_ret_io.pyx +176 -0
- hydpy/cythons/autogen/c_evap_ret_tw2002.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_evap_ret_tw2002.pxd +139 -0
- hydpy/cythons/autogen/c_evap_ret_tw2002.pyx +273 -0
- hydpy/cythons/autogen/c_exch.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_exch.pxd +230 -0
- hydpy/cythons/autogen/c_exch.pyx +462 -0
- hydpy/cythons/autogen/c_exch_branch_hbv96.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_exch_branch_hbv96.pxd +134 -0
- hydpy/cythons/autogen/c_exch_branch_hbv96.pyx +255 -0
- hydpy/cythons/autogen/c_exch_waterlevel.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_exch_waterlevel.pxd +54 -0
- hydpy/cythons/autogen/c_exch_waterlevel.pyx +78 -0
- hydpy/cythons/autogen/c_exch_weir_hbv96.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_exch_weir_hbv96.pxd +156 -0
- hydpy/cythons/autogen/c_exch_weir_hbv96.pyx +282 -0
- hydpy/cythons/autogen/c_ga.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_ga.pxd +353 -0
- hydpy/cythons/autogen/c_ga.pyx +1204 -0
- hydpy/cythons/autogen/c_ga_garto.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_ga_garto.pxd +330 -0
- hydpy/cythons/autogen/c_ga_garto.pyx +1105 -0
- hydpy/cythons/autogen/c_ga_garto_submodel1.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_ga_garto_submodel1.pxd +236 -0
- hydpy/cythons/autogen/c_ga_garto_submodel1.pyx +944 -0
- hydpy/cythons/autogen/c_gland.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_gland.pxd +437 -0
- hydpy/cythons/autogen/c_gland.pyx +726 -0
- hydpy/cythons/autogen/c_gland_gr4.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_gland_gr4.pxd +382 -0
- hydpy/cythons/autogen/c_gland_gr4.pyx +605 -0
- hydpy/cythons/autogen/c_gland_gr5.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_gland_gr5.pxd +368 -0
- hydpy/cythons/autogen/c_gland_gr5.pyx +568 -0
- hydpy/cythons/autogen/c_gland_gr6.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_gland_gr6.pxd +420 -0
- hydpy/cythons/autogen/c_gland_gr6.pyx +673 -0
- hydpy/cythons/autogen/c_hland.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_hland.pxd +855 -0
- hydpy/cythons/autogen/c_hland.pyx +2486 -0
- hydpy/cythons/autogen/c_hland_96.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_hland_96.pxd +631 -0
- hydpy/cythons/autogen/c_hland_96.pyx +1724 -0
- hydpy/cythons/autogen/c_hland_96c.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_hland_96c.pxd +621 -0
- hydpy/cythons/autogen/c_hland_96c.pyx +1822 -0
- hydpy/cythons/autogen/c_hland_96p.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_hland_96p.pxd +683 -0
- hydpy/cythons/autogen/c_hland_96p.pyx +1911 -0
- hydpy/cythons/autogen/c_kinw.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_kinw.pxd +509 -0
- hydpy/cythons/autogen/c_kinw.pyx +965 -0
- hydpy/cythons/autogen/c_kinw_williams.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_kinw_williams.pxd +409 -0
- hydpy/cythons/autogen/c_kinw_williams.pyx +763 -0
- hydpy/cythons/autogen/c_kinw_williams_ext.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_kinw_williams_ext.pxd +220 -0
- hydpy/cythons/autogen/c_kinw_williams_ext.pyx +440 -0
- hydpy/cythons/autogen/c_lland.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_lland.pxd +1386 -0
- hydpy/cythons/autogen/c_lland.pyx +3679 -0
- hydpy/cythons/autogen/c_lland_dd.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_lland_dd.pxd +679 -0
- hydpy/cythons/autogen/c_lland_dd.pyx +1719 -0
- hydpy/cythons/autogen/c_lland_knauf.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_lland_knauf.pxd +1096 -0
- hydpy/cythons/autogen/c_lland_knauf.pyx +2784 -0
- hydpy/cythons/autogen/c_lland_knauf_ic.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_lland_knauf_ic.pxd +1369 -0
- hydpy/cythons/autogen/c_lland_knauf_ic.pyx +3625 -0
- hydpy/cythons/autogen/c_meteo.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo.pxd +469 -0
- hydpy/cythons/autogen/c_meteo.pyx +879 -0
- hydpy/cythons/autogen/c_meteo_clear_glob_io.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_clear_glob_io.pxd +75 -0
- hydpy/cythons/autogen/c_meteo_clear_glob_io.pyx +107 -0
- hydpy/cythons/autogen/c_meteo_glob_fao56.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_glob_fao56.pxd +209 -0
- hydpy/cythons/autogen/c_meteo_glob_fao56.pyx +339 -0
- hydpy/cythons/autogen/c_meteo_glob_io.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_glob_io.pxd +63 -0
- hydpy/cythons/autogen/c_meteo_glob_io.pyx +91 -0
- hydpy/cythons/autogen/c_meteo_glob_morsim.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_glob_morsim.pxd +289 -0
- hydpy/cythons/autogen/c_meteo_glob_morsim.pyx +527 -0
- hydpy/cythons/autogen/c_meteo_precip_io.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_precip_io.pxd +112 -0
- hydpy/cythons/autogen/c_meteo_precip_io.pyx +176 -0
- hydpy/cythons/autogen/c_meteo_psun_sun_glob_io.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_psun_sun_glob_io.pxd +87 -0
- hydpy/cythons/autogen/c_meteo_psun_sun_glob_io.pyx +123 -0
- hydpy/cythons/autogen/c_meteo_sun_fao56.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_sun_fao56.pxd +209 -0
- hydpy/cythons/autogen/c_meteo_sun_fao56.pyx +343 -0
- hydpy/cythons/autogen/c_meteo_sun_morsim.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_sun_morsim.pxd +286 -0
- hydpy/cythons/autogen/c_meteo_sun_morsim.pyx +519 -0
- hydpy/cythons/autogen/c_meteo_temp_io.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_meteo_temp_io.pxd +112 -0
- hydpy/cythons/autogen/c_meteo_temp_io.pyx +176 -0
- hydpy/cythons/autogen/c_musk.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_musk.pxd +282 -0
- hydpy/cythons/autogen/c_musk.pyx +605 -0
- hydpy/cythons/autogen/c_musk_classic.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_musk_classic.pxd +138 -0
- hydpy/cythons/autogen/c_musk_classic.pyx +226 -0
- hydpy/cythons/autogen/c_musk_mct.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_musk_mct.pxd +282 -0
- hydpy/cythons/autogen/c_musk_mct.pyx +609 -0
- hydpy/cythons/autogen/c_rconc.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_rconc.pxd +119 -0
- hydpy/cythons/autogen/c_rconc.pyx +174 -0
- hydpy/cythons/autogen/c_rconc_nash.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_rconc_nash.pxd +111 -0
- hydpy/cythons/autogen/c_rconc_nash.pyx +185 -0
- hydpy/cythons/autogen/c_rconc_uh.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_rconc_uh.pxd +92 -0
- hydpy/cythons/autogen/c_rconc_uh.pyx +125 -0
- hydpy/cythons/autogen/c_sw1d.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d.pxd +511 -0
- hydpy/cythons/autogen/c_sw1d.pyx +1263 -0
- hydpy/cythons/autogen/c_sw1d_channel.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_channel.pxd +119 -0
- hydpy/cythons/autogen/c_sw1d_channel.pyx +300 -0
- hydpy/cythons/autogen/c_sw1d_gate_out.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_gate_out.pxd +240 -0
- hydpy/cythons/autogen/c_sw1d_gate_out.pyx +476 -0
- hydpy/cythons/autogen/c_sw1d_lias.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_lias.pxd +320 -0
- hydpy/cythons/autogen/c_sw1d_lias.pyx +619 -0
- hydpy/cythons/autogen/c_sw1d_lias_sluice.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_lias_sluice.pxd +325 -0
- hydpy/cythons/autogen/c_sw1d_lias_sluice.pyx +644 -0
- hydpy/cythons/autogen/c_sw1d_network.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_network.pxd +90 -0
- hydpy/cythons/autogen/c_sw1d_network.pyx +246 -0
- hydpy/cythons/autogen/c_sw1d_pump.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_pump.pxd +256 -0
- hydpy/cythons/autogen/c_sw1d_pump.pyx +502 -0
- hydpy/cythons/autogen/c_sw1d_q_in.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_q_in.pxd +224 -0
- hydpy/cythons/autogen/c_sw1d_q_in.pyx +383 -0
- hydpy/cythons/autogen/c_sw1d_q_out.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_q_out.pxd +224 -0
- hydpy/cythons/autogen/c_sw1d_q_out.pyx +383 -0
- hydpy/cythons/autogen/c_sw1d_storage.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_storage.pxd +193 -0
- hydpy/cythons/autogen/c_sw1d_storage.pyx +349 -0
- hydpy/cythons/autogen/c_sw1d_weir_out.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_sw1d_weir_out.pxd +212 -0
- hydpy/cythons/autogen/c_sw1d_weir_out.pyx +404 -0
- hydpy/cythons/autogen/c_test.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_test.pxd +175 -0
- hydpy/cythons/autogen/c_test.pyx +348 -0
- hydpy/cythons/autogen/c_test_discontinous.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_test_discontinous.pxd +146 -0
- hydpy/cythons/autogen/c_test_discontinous.pyx +256 -0
- hydpy/cythons/autogen/c_test_stiff0d.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_test_stiff0d.pxd +146 -0
- hydpy/cythons/autogen/c_test_stiff0d.pyx +250 -0
- hydpy/cythons/autogen/c_test_stiff1d.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_test_stiff1d.pxd +145 -0
- hydpy/cythons/autogen/c_test_stiff1d.pyx +294 -0
- hydpy/cythons/autogen/c_whmod.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_whmod.pxd +482 -0
- hydpy/cythons/autogen/c_whmod.pyx +1156 -0
- hydpy/cythons/autogen/c_whmod_rural.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_whmod_rural.pxd +411 -0
- hydpy/cythons/autogen/c_whmod_rural.pyx +982 -0
- hydpy/cythons/autogen/c_whmod_urban.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_whmod_urban.pxd +482 -0
- hydpy/cythons/autogen/c_whmod_urban.pyx +1155 -0
- hydpy/cythons/autogen/c_wland.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_wland.pxd +842 -0
- hydpy/cythons/autogen/c_wland.pyx +1890 -0
- hydpy/cythons/autogen/c_wland_gd.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_wland_gd.pxd +829 -0
- hydpy/cythons/autogen/c_wland_gd.pyx +1847 -0
- hydpy/cythons/autogen/c_wland_wag.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_wland_wag.pxd +810 -0
- hydpy/cythons/autogen/c_wland_wag.pyx +1780 -0
- hydpy/cythons/autogen/c_wq.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_wq.pxd +275 -0
- hydpy/cythons/autogen/c_wq.pyx +652 -0
- hydpy/cythons/autogen/c_wq_trapeze.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_wq_trapeze.pxd +170 -0
- hydpy/cythons/autogen/c_wq_trapeze.pyx +400 -0
- hydpy/cythons/autogen/c_wq_trapeze_strickler.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_wq_trapeze_strickler.pxd +243 -0
- hydpy/cythons/autogen/c_wq_trapeze_strickler.pyx +578 -0
- hydpy/cythons/autogen/c_wq_walrus.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/c_wq_walrus.pxd +61 -0
- hydpy/cythons/autogen/c_wq_walrus.pyx +82 -0
- hydpy/cythons/autogen/configutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/configutils.pxd +17 -0
- hydpy/cythons/autogen/configutils.pyx +119 -0
- hydpy/cythons/autogen/interfaceutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/interfaceutils.pxd +31 -0
- hydpy/cythons/autogen/interfaceutils.pyx +82 -0
- hydpy/cythons/autogen/interputils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/interputils.pxd +42 -0
- hydpy/cythons/autogen/interputils.pyx +118 -0
- hydpy/cythons/autogen/masterinterface.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/masterinterface.pxd +153 -0
- hydpy/cythons/autogen/masterinterface.pyx +222 -0
- hydpy/cythons/autogen/pointerutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/pointerutils.pxd +31 -0
- hydpy/cythons/autogen/pointerutils.pyx +650 -0
- hydpy/cythons/autogen/ppolyutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/ppolyutils.pxd +35 -0
- hydpy/cythons/autogen/ppolyutils.pyx +59 -0
- hydpy/cythons/autogen/quadutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/quadutils.pxd +26 -0
- hydpy/cythons/autogen/quadutils.pyx +973 -0
- hydpy/cythons/autogen/rootutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/rootutils.pxd +28 -0
- hydpy/cythons/autogen/rootutils.pyx +109 -0
- hydpy/cythons/autogen/sequenceutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/sequenceutils.pxd +45 -0
- hydpy/cythons/autogen/sequenceutils.pyx +101 -0
- hydpy/cythons/autogen/smoothutils.cp313-win_amd64.pyd +0 -0
- hydpy/cythons/autogen/smoothutils.pxd +29 -0
- hydpy/cythons/autogen/smoothutils.pyx +833 -0
- hydpy/cythons/configutils.pxd +8 -0
- hydpy/cythons/configutils.pyi +5 -0
- hydpy/cythons/configutils.pyx +110 -0
- hydpy/cythons/interfaceutils.pxd +22 -0
- hydpy/cythons/interfaceutils.pyi +15 -0
- hydpy/cythons/interfaceutils.pyx +73 -0
- hydpy/cythons/interputils.pxd +33 -0
- hydpy/cythons/interputils.pyi +32 -0
- hydpy/cythons/interputils.pyx +109 -0
- hydpy/cythons/modelutils.py +2990 -0
- hydpy/cythons/pointerutils.pxd +22 -0
- hydpy/cythons/pointerutils.pyi +89 -0
- hydpy/cythons/pointerutils.pyx +641 -0
- hydpy/cythons/ppolyutils.pxd +26 -0
- hydpy/cythons/ppolyutils.pyi +21 -0
- hydpy/cythons/ppolyutils.pyx +50 -0
- hydpy/cythons/quadutils.pxd +17 -0
- hydpy/cythons/quadutils.pyi +13 -0
- hydpy/cythons/quadutils.pyx +964 -0
- hydpy/cythons/rootutils.pxd +19 -0
- hydpy/cythons/rootutils.pyi +21 -0
- hydpy/cythons/rootutils.pyx +100 -0
- hydpy/cythons/sequenceutils.pxd +36 -0
- hydpy/cythons/sequenceutils.pyi +7 -0
- hydpy/cythons/sequenceutils.pyx +92 -0
- hydpy/cythons/smoothutils.pxd +20 -0
- hydpy/cythons/smoothutils.pyi +15 -0
- hydpy/cythons/smoothutils.pyx +824 -0
- hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/land_dill_assl.py +13 -0
- hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/land_lahn_kalk.py +13 -0
- hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/land_lahn_leun.py +14 -0
- hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/land_lahn_marb.py +13 -0
- hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/stream_dill_assl_lahn_leun.py +5 -0
- hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/stream_lahn_leun_lahn_kalk.py +5 -0
- hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/stream_lahn_marb_lahn_leun.py +5 -0
- hydpy/data/HydPy-H-Lahn/control/default/land.py +9 -0
- hydpy/data/HydPy-H-Lahn/control/default/land_dill_assl.py +57 -0
- hydpy/data/HydPy-H-Lahn/control/default/land_lahn_kalk.py +57 -0
- hydpy/data/HydPy-H-Lahn/control/default/land_lahn_leun.py +56 -0
- hydpy/data/HydPy-H-Lahn/control/default/land_lahn_marb.py +57 -0
- hydpy/data/HydPy-H-Lahn/control/default/stream_dill_assl_lahn_leun.py +7 -0
- hydpy/data/HydPy-H-Lahn/control/default/stream_lahn_leun_lahn_kalk.py +7 -0
- hydpy/data/HydPy-H-Lahn/control/default/stream_lahn_marb_lahn_leun.py +7 -0
- hydpy/data/HydPy-H-Lahn/multiple_runs.xml +309 -0
- hydpy/data/HydPy-H-Lahn/multiple_runs_alpha.xml +71 -0
- hydpy/data/HydPy-H-Lahn/network/default/headwaters.py +11 -0
- hydpy/data/HydPy-H-Lahn/network/default/nonheadwaters.py +11 -0
- hydpy/data/HydPy-H-Lahn/network/default/streams.py +8 -0
- hydpy/data/HydPy-H-Lahn/series/default/dill_assl_obs_q.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/evap_pet_hbv96_input_normalairtemperature.nc +0 -0
- hydpy/data/HydPy-H-Lahn/series/default/evap_pet_hbv96_input_normalevapotranspiration.nc +0 -0
- hydpy/data/HydPy-H-Lahn/series/default/hland_96_input_p.nc +0 -0
- hydpy/data/HydPy-H-Lahn/series/default/hland_96_input_t.nc +0 -0
- hydpy/data/HydPy-H-Lahn/series/default/lahn_kalk_obs_q.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/lahn_leun_obs_q.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/lahn_marb_obs_q.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_dill_assl_evap_pet_hbv96_input_normalairtemperature.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_dill_assl_evap_pet_hbv96_input_normalevapotranspiration.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_dill_assl_hland_96_input_p.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_dill_assl_hland_96_input_t.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_kalk_evap_pet_hbv96_input_normalairtemperature.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_kalk_evap_pet_hbv96_input_normalevapotranspiration.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_kalk_hland_96_input_p.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_kalk_hland_96_input_t.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_leun_evap_pet_hbv96_input_normalairtemperature.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_leun_evap_pet_hbv96_input_normalevapotranspiration.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_leun_hland_96_input_p.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_leun_hland_96_input_t.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_marb_evap_pet_hbv96_input_normalairtemperature.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_marb_evap_pet_hbv96_input_normalevapotranspiration.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_marb_hland_96_input_p.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/land_lahn_marb_hland_96_input_t.asc +11387 -0
- hydpy/data/HydPy-H-Lahn/series/default/obs_q.nc +0 -0
- hydpy/data/HydPy-H-Lahn/single_run.xml +152 -0
- hydpy/data/HydPy-H-Lahn/single_run.xmlt +143 -0
- hydpy/data/__init__.py +17 -0
- hydpy/docs/__init__.py +0 -0
- hydpy/docs/autofigs/__init__.py +0 -0
- hydpy/docs/bib/__init__.py +0 -0
- hydpy/docs/bib/refs.bib +566 -0
- hydpy/docs/combine_docversions.py +133 -0
- hydpy/docs/draw_model_sketches.py +1301 -0
- hydpy/docs/enable_autodoc.py +7 -0
- hydpy/docs/figs/HydPy-G-GR4.png +0 -0
- hydpy/docs/figs/HydPy-G-GR5.png +0 -0
- hydpy/docs/figs/HydPy-G-GR6.png +0 -0
- hydpy/docs/figs/HydPy-H-HBV96-COSERO.png +0 -0
- hydpy/docs/figs/HydPy-H-HBV96-PREVAH.png +0 -0
- hydpy/docs/figs/HydPy-H-HBV96.png +0 -0
- hydpy/docs/figs/HydPy-H-Lahn.png +0 -0
- hydpy/docs/figs/HydPy-KinW-Williams.png +0 -0
- hydpy/docs/figs/HydPy-L-DD.png +0 -0
- hydpy/docs/figs/HydPy-W-Wag.png +0 -0
- hydpy/docs/figs/HydPy_Logo.png +0 -0
- hydpy/docs/figs/HydPy_Logo_Text.png +0 -0
- hydpy/docs/figs/IDLE-editor.png +0 -0
- hydpy/docs/figs/IDLE-shell.png +0 -0
- hydpy/docs/figs/LAWA_river-basin-bumbers.png +0 -0
- hydpy/docs/figs/__init__.py +0 -0
- hydpy/docs/html_/__init__.py +0 -0
- hydpy/docs/polish_html.py +57 -0
- hydpy/docs/prepare.py +224 -0
- hydpy/docs/publish_docs.py +53 -0
- hydpy/docs/rst/HydPy-ARMA.rst +27 -0
- hydpy/docs/rst/HydPy-Conv.rst +22 -0
- hydpy/docs/rst/HydPy-Dam.rst +79 -0
- hydpy/docs/rst/HydPy-Dummy.rst +21 -0
- hydpy/docs/rst/HydPy-Evap.rst +26 -0
- hydpy/docs/rst/HydPy-Exch.rst +36 -0
- hydpy/docs/rst/HydPy-G.rst +40 -0
- hydpy/docs/rst/HydPy-GA.rst +34 -0
- hydpy/docs/rst/HydPy-H.rst +24 -0
- hydpy/docs/rst/HydPy-KinW.rst +32 -0
- hydpy/docs/rst/HydPy-L.rst +42 -0
- hydpy/docs/rst/HydPy-Meteo.rst +28 -0
- hydpy/docs/rst/HydPy-Musk.rst +21 -0
- hydpy/docs/rst/HydPy-Rconc.rst +17 -0
- hydpy/docs/rst/HydPy-SW1D.rst +49 -0
- hydpy/docs/rst/HydPy-Test.rst +19 -0
- hydpy/docs/rst/HydPy-W.rst +20 -0
- hydpy/docs/rst/HydPy-WHMod.rst +19 -0
- hydpy/docs/rst/HydPy-WQ.rst +20 -0
- hydpy/docs/rst/__init__.py +0 -0
- hydpy/docs/rst/additional_repositories.rst +40 -0
- hydpy/docs/rst/auxiliaries.rst +31 -0
- hydpy/docs/rst/continuous_integration.rst +75 -0
- hydpy/docs/rst/core.rst +75 -0
- hydpy/docs/rst/cythons.rst +47 -0
- hydpy/docs/rst/definitions.rst +506 -0
- hydpy/docs/rst/developer_guide.rst +54 -0
- hydpy/docs/rst/example_projects.rst +40 -0
- hydpy/docs/rst/execution.rst +22 -0
- hydpy/docs/rst/framework_tools.rst +56 -0
- hydpy/docs/rst/how_to_read_the_reference_manual.rst +156 -0
- hydpy/docs/rst/hydpydependencies.rst +55 -0
- hydpy/docs/rst/index.rst +125 -0
- hydpy/docs/rst/installation.rst +155 -0
- hydpy/docs/rst/model_families.rst +79 -0
- hydpy/docs/rst/model_overview.rst +291 -0
- hydpy/docs/rst/modelimports.rst +10 -0
- hydpy/docs/rst/options.rst +119 -0
- hydpy/docs/rst/programming_style.rst +572 -0
- hydpy/docs/rst/project_structure.rst +520 -0
- hydpy/docs/rst/quickstart.rst +304 -0
- hydpy/docs/rst/reference_manual.rst +29 -0
- hydpy/docs/rst/required_tools.rst +50 -0
- hydpy/docs/rst/simulation.rst +514 -0
- hydpy/docs/rst/submodel_interfaces.rst +32 -0
- hydpy/docs/rst/tests_and_documentation.rst +85 -0
- hydpy/docs/rst/user_guide.rst +38 -0
- hydpy/docs/rst/version_control.rst +116 -0
- hydpy/docs/rst/zbibliography.rst +8 -0
- hydpy/docs/sphinx/__init__.py +0 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/changes/frameset.html +11 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/changes/rstsource.html +15 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/changes/versionchanges.html +33 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/defindex.html +35 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/domainindex.html +56 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/genindex-single.html +63 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/genindex-split.html +41 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/genindex.html +76 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/globaltoc.html +11 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/layout.html +221 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/localtoc.html +15 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/opensearch.xml +13 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/page.html +13 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/relations.html +23 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/search.html +65 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/searchbox.html +21 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/searchfield.html +23 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/sourcelink.html +18 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/basic.css_t +925 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/doctools.js +156 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/documentation_options.js_t +13 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/file.png +0 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/language_data.js_t +26 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/minus.png +0 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/plus.png +0 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/searchtools.js +574 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/static/sphinx_highlight.js +154 -0
- hydpy/docs/sphinx/_themes/basic_hydpy/theme.conf +16 -0
- hydpy/docs/sphinx/_themes/classic_hydpy/layout.html +23 -0
- hydpy/docs/sphinx/_themes/classic_hydpy/static/classic.css_t +358 -0
- hydpy/docs/sphinx/_themes/classic_hydpy/static/sidebar.js_t +72 -0
- hydpy/docs/sphinx/_themes/classic_hydpy/theme.conf +32 -0
- hydpy/docs/sphinx/conf.py +398 -0
- hydpy/docs/sphinx/defaultlinks_extension.py +36 -0
- hydpy/docs/sphinx/integrationtest_extension.py +104 -0
- hydpy/docs/sphinx/projectstructure_extension.py +58 -0
- hydpy/docs/sphinx/submodelgraph_extension.py +53 -0
- hydpy/exe/__init__.py +0 -0
- hydpy/exe/commandtools.py +651 -0
- hydpy/exe/hyd.py +277 -0
- hydpy/exe/modelimports.py +41 -0
- hydpy/exe/replacetools.py +216 -0
- hydpy/exe/servertools.py +2348 -0
- hydpy/exe/xmltools.py +3280 -0
- hydpy/interfaces/__init__.py +0 -0
- hydpy/interfaces/aetinterfaces.py +94 -0
- hydpy/interfaces/dischargeinterfaces.py +45 -0
- hydpy/interfaces/petinterfaces.py +117 -0
- hydpy/interfaces/precipinterfaces.py +42 -0
- hydpy/interfaces/radiationinterfaces.py +79 -0
- hydpy/interfaces/rconcinterfaces.py +30 -0
- hydpy/interfaces/routinginterfaces.py +324 -0
- hydpy/interfaces/soilinterfaces.py +96 -0
- hydpy/interfaces/stateinterfaces.py +98 -0
- hydpy/interfaces/tempinterfaces.py +46 -0
- hydpy/models/__init__.py +0 -0
- hydpy/models/arma/__init__.py +14 -0
- hydpy/models/arma/arma_control.py +383 -0
- hydpy/models/arma/arma_derived.py +204 -0
- hydpy/models/arma/arma_fluxes.py +41 -0
- hydpy/models/arma/arma_inlets.py +11 -0
- hydpy/models/arma/arma_logs.py +19 -0
- hydpy/models/arma/arma_model.py +461 -0
- hydpy/models/arma/arma_outlets.py +11 -0
- hydpy/models/arma_rimorido.py +381 -0
- hydpy/models/conv/__init__.py +12 -0
- hydpy/models/conv/conv_control.py +303 -0
- hydpy/models/conv/conv_derived.py +271 -0
- hydpy/models/conv/conv_fluxes.py +54 -0
- hydpy/models/conv/conv_inlets.py +11 -0
- hydpy/models/conv/conv_model.py +687 -0
- hydpy/models/conv/conv_outlets.py +11 -0
- hydpy/models/conv_idw.py +120 -0
- hydpy/models/conv_idw_ed.py +184 -0
- hydpy/models/conv_nn.py +112 -0
- hydpy/models/dam/__init__.py +16 -0
- hydpy/models/dam/dam_aides.py +17 -0
- hydpy/models/dam/dam_control.py +346 -0
- hydpy/models/dam/dam_derived.py +559 -0
- hydpy/models/dam/dam_factors.py +46 -0
- hydpy/models/dam/dam_fluxes.py +179 -0
- hydpy/models/dam/dam_inlets.py +29 -0
- hydpy/models/dam/dam_logs.py +52 -0
- hydpy/models/dam/dam_model.py +5011 -0
- hydpy/models/dam/dam_outlets.py +23 -0
- hydpy/models/dam/dam_receivers.py +41 -0
- hydpy/models/dam/dam_senders.py +23 -0
- hydpy/models/dam/dam_solver.py +75 -0
- hydpy/models/dam/dam_states.py +11 -0
- hydpy/models/dam_llake.py +499 -0
- hydpy/models/dam_lreservoir.py +548 -0
- hydpy/models/dam_lretention.py +343 -0
- hydpy/models/dam_pump.py +278 -0
- hydpy/models/dam_pump_sluice.py +339 -0
- hydpy/models/dam_sluice.py +319 -0
- hydpy/models/dam_v001.py +1127 -0
- hydpy/models/dam_v002.py +381 -0
- hydpy/models/dam_v003.py +422 -0
- hydpy/models/dam_v004.py +665 -0
- hydpy/models/dam_v005.py +479 -0
- hydpy/models/dummy/__init__.py +15 -0
- hydpy/models/dummy/dummy_control.py +22 -0
- hydpy/models/dummy/dummy_fluxes.py +11 -0
- hydpy/models/dummy/dummy_inlets.py +11 -0
- hydpy/models/dummy/dummy_inputs.py +41 -0
- hydpy/models/dummy/dummy_model.py +196 -0
- hydpy/models/dummy/dummy_outlets.py +11 -0
- hydpy/models/dummy_interceptedwater.py +85 -0
- hydpy/models/dummy_node2node.py +83 -0
- hydpy/models/dummy_snowalbedo.py +84 -0
- hydpy/models/dummy_snowcover.py +84 -0
- hydpy/models/dummy_snowycanopy.py +86 -0
- hydpy/models/dummy_soilwater.py +85 -0
- hydpy/models/evap/__init__.py +13 -0
- hydpy/models/evap/evap_control.py +354 -0
- hydpy/models/evap/evap_derived.py +236 -0
- hydpy/models/evap/evap_factors.py +188 -0
- hydpy/models/evap/evap_fixed.py +68 -0
- hydpy/models/evap/evap_fluxes.py +150 -0
- hydpy/models/evap/evap_inputs.py +54 -0
- hydpy/models/evap/evap_logs.py +91 -0
- hydpy/models/evap/evap_masks.py +48 -0
- hydpy/models/evap/evap_model.py +9170 -0
- hydpy/models/evap/evap_parameters.py +149 -0
- hydpy/models/evap/evap_sequences.py +32 -0
- hydpy/models/evap/evap_states.py +18 -0
- hydpy/models/evap_aet_hbv96.py +372 -0
- hydpy/models/evap_aet_minhas.py +331 -0
- hydpy/models/evap_aet_morsim.py +627 -0
- hydpy/models/evap_pet_ambav1.py +483 -0
- hydpy/models/evap_pet_hbv96.py +147 -0
- hydpy/models/evap_pet_m.py +94 -0
- hydpy/models/evap_pet_mlc.py +107 -0
- hydpy/models/evap_ret_fao56.py +265 -0
- hydpy/models/evap_ret_io.py +74 -0
- hydpy/models/evap_ret_tw2002.py +165 -0
- hydpy/models/exch/__init__.py +14 -0
- hydpy/models/exch/exch_control.py +262 -0
- hydpy/models/exch/exch_derived.py +36 -0
- hydpy/models/exch/exch_factors.py +26 -0
- hydpy/models/exch/exch_fluxes.py +48 -0
- hydpy/models/exch/exch_inlets.py +11 -0
- hydpy/models/exch/exch_logs.py +12 -0
- hydpy/models/exch/exch_model.py +451 -0
- hydpy/models/exch/exch_outlets.py +17 -0
- hydpy/models/exch/exch_receivers.py +17 -0
- hydpy/models/exch_branch_hbv96.py +186 -0
- hydpy/models/exch_waterlevel.py +73 -0
- hydpy/models/exch_weir_hbv96.py +609 -0
- hydpy/models/ga/__init__.py +14 -0
- hydpy/models/ga/ga_aides.py +17 -0
- hydpy/models/ga/ga_control.py +208 -0
- hydpy/models/ga/ga_derived.py +77 -0
- hydpy/models/ga/ga_fluxes.py +83 -0
- hydpy/models/ga/ga_inputs.py +26 -0
- hydpy/models/ga/ga_logs.py +17 -0
- hydpy/models/ga/ga_model.py +2952 -0
- hydpy/models/ga/ga_states.py +87 -0
- hydpy/models/ga_garto.py +1001 -0
- hydpy/models/ga_garto_submodel1.py +79 -0
- hydpy/models/gland/__init__.py +14 -0
- hydpy/models/gland/gland_control.py +90 -0
- hydpy/models/gland/gland_derived.py +113 -0
- hydpy/models/gland/gland_fluxes.py +137 -0
- hydpy/models/gland/gland_inputs.py +12 -0
- hydpy/models/gland/gland_model.py +1439 -0
- hydpy/models/gland/gland_outlets.py +11 -0
- hydpy/models/gland/gland_states.py +90 -0
- hydpy/models/gland_gr4.py +501 -0
- hydpy/models/gland_gr5.py +463 -0
- hydpy/models/gland_gr6.py +487 -0
- hydpy/models/hland/__init__.py +20 -0
- hydpy/models/hland/hland_aides.py +19 -0
- hydpy/models/hland/hland_constants.py +37 -0
- hydpy/models/hland/hland_control.py +1530 -0
- hydpy/models/hland/hland_derived.py +683 -0
- hydpy/models/hland/hland_factors.py +57 -0
- hydpy/models/hland/hland_fixed.py +42 -0
- hydpy/models/hland/hland_fluxes.py +279 -0
- hydpy/models/hland/hland_inputs.py +19 -0
- hydpy/models/hland/hland_masks.py +107 -0
- hydpy/models/hland/hland_model.py +4664 -0
- hydpy/models/hland/hland_outlets.py +11 -0
- hydpy/models/hland/hland_parameters.py +227 -0
- hydpy/models/hland/hland_sequences.py +382 -0
- hydpy/models/hland/hland_states.py +236 -0
- hydpy/models/hland_96.py +1812 -0
- hydpy/models/hland_96c.py +1196 -0
- hydpy/models/hland_96p.py +1204 -0
- hydpy/models/kinw/__init__.py +18 -0
- hydpy/models/kinw/kinw_aides.py +306 -0
- hydpy/models/kinw/kinw_control.py +270 -0
- hydpy/models/kinw/kinw_derived.py +197 -0
- hydpy/models/kinw/kinw_fixed.py +33 -0
- hydpy/models/kinw/kinw_fluxes.py +37 -0
- hydpy/models/kinw/kinw_inlets.py +11 -0
- hydpy/models/kinw/kinw_model.py +3026 -0
- hydpy/models/kinw/kinw_outlets.py +11 -0
- hydpy/models/kinw/kinw_solver.py +45 -0
- hydpy/models/kinw/kinw_states.py +17 -0
- hydpy/models/kinw_williams.py +1299 -0
- hydpy/models/kinw_williams_ext.py +768 -0
- hydpy/models/lland/__init__.py +42 -0
- hydpy/models/lland/lland_aides.py +38 -0
- hydpy/models/lland/lland_constants.py +88 -0
- hydpy/models/lland/lland_control.py +1329 -0
- hydpy/models/lland/lland_derived.py +380 -0
- hydpy/models/lland/lland_factors.py +18 -0
- hydpy/models/lland/lland_fixed.py +128 -0
- hydpy/models/lland/lland_fluxes.py +626 -0
- hydpy/models/lland/lland_inlets.py +12 -0
- hydpy/models/lland/lland_inputs.py +33 -0
- hydpy/models/lland/lland_logs.py +17 -0
- hydpy/models/lland/lland_masks.py +212 -0
- hydpy/models/lland/lland_model.py +7690 -0
- hydpy/models/lland/lland_outlets.py +12 -0
- hydpy/models/lland/lland_parameters.py +195 -0
- hydpy/models/lland/lland_sequences.py +67 -0
- hydpy/models/lland/lland_states.py +280 -0
- hydpy/models/lland_dd.py +2270 -0
- hydpy/models/lland_knauf.py +2156 -0
- hydpy/models/lland_knauf_ic.py +1920 -0
- hydpy/models/meteo/__init__.py +12 -0
- hydpy/models/meteo/meteo_control.py +154 -0
- hydpy/models/meteo/meteo_derived.py +159 -0
- hydpy/models/meteo/meteo_factors.py +88 -0
- hydpy/models/meteo/meteo_fixed.py +19 -0
- hydpy/models/meteo/meteo_fluxes.py +46 -0
- hydpy/models/meteo/meteo_inputs.py +47 -0
- hydpy/models/meteo/meteo_logs.py +30 -0
- hydpy/models/meteo/meteo_model.py +2904 -0
- hydpy/models/meteo/meteo_parameters.py +14 -0
- hydpy/models/meteo/meteo_sequences.py +22 -0
- hydpy/models/meteo_clear_glob_io.py +77 -0
- hydpy/models/meteo_glob_fao56.py +217 -0
- hydpy/models/meteo_glob_io.py +68 -0
- hydpy/models/meteo_glob_morsim.py +444 -0
- hydpy/models/meteo_precip_io.py +76 -0
- hydpy/models/meteo_psun_sun_glob_io.py +83 -0
- hydpy/models/meteo_sun_fao56.py +188 -0
- hydpy/models/meteo_sun_morsim.py +466 -0
- hydpy/models/meteo_temp_io.py +76 -0
- hydpy/models/musk/__init__.py +15 -0
- hydpy/models/musk/musk_control.py +328 -0
- hydpy/models/musk/musk_derived.py +32 -0
- hydpy/models/musk/musk_factors.py +53 -0
- hydpy/models/musk/musk_fluxes.py +24 -0
- hydpy/models/musk/musk_inlets.py +11 -0
- hydpy/models/musk/musk_masks.py +15 -0
- hydpy/models/musk/musk_model.py +838 -0
- hydpy/models/musk/musk_outlets.py +11 -0
- hydpy/models/musk/musk_sequences.py +88 -0
- hydpy/models/musk/musk_solver.py +68 -0
- hydpy/models/musk/musk_states.py +64 -0
- hydpy/models/musk_classic.py +228 -0
- hydpy/models/musk_mct.py +1247 -0
- hydpy/models/rconc/__init__.py +12 -0
- hydpy/models/rconc/rconc_control.py +473 -0
- hydpy/models/rconc/rconc_derived.py +76 -0
- hydpy/models/rconc/rconc_fluxes.py +19 -0
- hydpy/models/rconc/rconc_logs.py +74 -0
- hydpy/models/rconc/rconc_model.py +260 -0
- hydpy/models/rconc/rconc_states.py +11 -0
- hydpy/models/rconc_nash.py +48 -0
- hydpy/models/rconc_uh.py +53 -0
- hydpy/models/sw1d/__init__.py +17 -0
- hydpy/models/sw1d/sw1d_control.py +356 -0
- hydpy/models/sw1d/sw1d_derived.py +85 -0
- hydpy/models/sw1d/sw1d_factors.py +78 -0
- hydpy/models/sw1d/sw1d_fixed.py +12 -0
- hydpy/models/sw1d/sw1d_fluxes.py +55 -0
- hydpy/models/sw1d/sw1d_inlets.py +17 -0
- hydpy/models/sw1d/sw1d_model.py +3385 -0
- hydpy/models/sw1d/sw1d_outlets.py +11 -0
- hydpy/models/sw1d/sw1d_receivers.py +11 -0
- hydpy/models/sw1d/sw1d_senders.py +11 -0
- hydpy/models/sw1d/sw1d_states.py +23 -0
- hydpy/models/sw1d_channel.py +2051 -0
- hydpy/models/sw1d_gate_out.py +599 -0
- hydpy/models/sw1d_lias.py +105 -0
- hydpy/models/sw1d_lias_sluice.py +531 -0
- hydpy/models/sw1d_network.py +1219 -0
- hydpy/models/sw1d_pump.py +448 -0
- hydpy/models/sw1d_q_in.py +79 -0
- hydpy/models/sw1d_q_out.py +81 -0
- hydpy/models/sw1d_storage.py +78 -0
- hydpy/models/sw1d_weir_out.py +75 -0
- hydpy/models/test/__init__.py +14 -0
- hydpy/models/test/test_control.py +28 -0
- hydpy/models/test/test_fluxes.py +17 -0
- hydpy/models/test/test_model.py +201 -0
- hydpy/models/test/test_solver.py +48 -0
- hydpy/models/test/test_states.py +17 -0
- hydpy/models/test_discontinous.py +46 -0
- hydpy/models/test_stiff0d.py +47 -0
- hydpy/models/test_stiff1d.py +42 -0
- hydpy/models/whmod/__init__.py +21 -0
- hydpy/models/whmod/whmod_constants.py +77 -0
- hydpy/models/whmod/whmod_control.py +333 -0
- hydpy/models/whmod/whmod_derived.py +210 -0
- hydpy/models/whmod/whmod_factors.py +9 -0
- hydpy/models/whmod/whmod_fluxes.py +105 -0
- hydpy/models/whmod/whmod_inputs.py +15 -0
- hydpy/models/whmod/whmod_masks.py +178 -0
- hydpy/models/whmod/whmod_model.py +2091 -0
- hydpy/models/whmod/whmod_parameters.py +155 -0
- hydpy/models/whmod/whmod_sequences.py +193 -0
- hydpy/models/whmod/whmod_states.py +73 -0
- hydpy/models/whmod_rural.py +794 -0
- hydpy/models/whmod_urban.py +1011 -0
- hydpy/models/wland/__init__.py +43 -0
- hydpy/models/wland/wland_aides.py +55 -0
- hydpy/models/wland/wland_constants.py +103 -0
- hydpy/models/wland/wland_control.py +508 -0
- hydpy/models/wland/wland_derived.py +330 -0
- hydpy/models/wland/wland_factors.py +11 -0
- hydpy/models/wland/wland_fixed.py +12 -0
- hydpy/models/wland/wland_fluxes.py +166 -0
- hydpy/models/wland/wland_inputs.py +33 -0
- hydpy/models/wland/wland_masks.py +54 -0
- hydpy/models/wland/wland_model.py +3755 -0
- hydpy/models/wland/wland_outlets.py +11 -0
- hydpy/models/wland/wland_parameters.py +214 -0
- hydpy/models/wland/wland_sequences.py +108 -0
- hydpy/models/wland/wland_solver.py +45 -0
- hydpy/models/wland/wland_states.py +56 -0
- hydpy/models/wland_gd.py +888 -0
- hydpy/models/wland_wag.py +1244 -0
- hydpy/models/wq/__init__.py +14 -0
- hydpy/models/wq/wq_control.py +117 -0
- hydpy/models/wq/wq_derived.py +182 -0
- hydpy/models/wq/wq_factors.py +79 -0
- hydpy/models/wq/wq_fluxes.py +17 -0
- hydpy/models/wq/wq_model.py +1889 -0
- hydpy/models/wq_trapeze.py +168 -0
- hydpy/models/wq_trapeze_strickler.py +101 -0
- hydpy/models/wq_walrus.py +57 -0
- hydpy/py.typed +0 -0
- hydpy/tests/.coveragerc +22 -0
- hydpy/tests/__init__.py +0 -0
- hydpy/tests/check_consistency.py +32 -0
- hydpy/tests/hydpydoctestcustomize.pth +1 -0
- hydpy/tests/hydpydoctestcustomize.py +15 -0
- hydpy/tests/iotesting/__init__.py +0 -0
- hydpy/tests/run_doctests.py +233 -0
- hydpy-6.2.dev1.data/scripts/hyd.py +277 -0
- hydpy-6.2.dev1.dist-info/LICENSE +165 -0
- hydpy-6.2.dev1.dist-info/METADATA +163 -0
- hydpy-6.2.dev1.dist-info/RECORD +890 -0
- hydpy-6.2.dev1.dist-info/WHEEL +5 -0
- hydpy-6.2.dev1.dist-info/licenses_hydpy_installer.txt +42 -0
- hydpy-6.2.dev1.dist-info/top_level.txt +1 -0
hydpy/models/dam_v005.py
ADDED
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
# pylint: disable=line-too-long, unused-wildcard-import
|
|
2
|
+
"""
|
|
3
|
+
Application model |dam_v005| extends |dam_v001| with two features enabling
|
|
4
|
+
collaboration with other dam models for better drought and flood prevention.
|
|
5
|
+
|
|
6
|
+
Like |dam_v001|, |dam_v005| tries to increase the discharge at a remote location in the
|
|
7
|
+
channel downstream during low flow conditions and sometimes fails due to its limited
|
|
8
|
+
storage content. The first additional feature of |dam_v005| is that it passes the
|
|
9
|
+
information on its anticipated failure to another remote location. This information
|
|
10
|
+
enables other models to jump in when necessary.
|
|
11
|
+
|
|
12
|
+
The second additional feature of |dam_v005| is that it receives input from two
|
|
13
|
+
additional inlet nodes, one passing "supply discharge" and the other one "relief
|
|
14
|
+
discharge". We understand "supply discharge" as water delivered from a remote location
|
|
15
|
+
to increase the storage content of |dam_v005| when necessary (during droughts). In
|
|
16
|
+
contrast, relief discharge serves to relieve the other location (possibly another dam)
|
|
17
|
+
during floods. |dam_v005| calculates both the desirable supply discharge and the
|
|
18
|
+
acceptable relief discharge and passes that information to a single or two separate
|
|
19
|
+
remote locations.
|
|
20
|
+
|
|
21
|
+
The following explanations focus on these differences. For further information on
|
|
22
|
+
using |dam_v005|, please read the documentation on model |dam_v001|. Besides that, see
|
|
23
|
+
the documentation on |dam_v002| and |dam_v004|, which are possible counterparts for
|
|
24
|
+
|dam_v005|.
|
|
25
|
+
|
|
26
|
+
Integration tests
|
|
27
|
+
=================
|
|
28
|
+
|
|
29
|
+
.. how_to_understand_integration_tests::
|
|
30
|
+
|
|
31
|
+
The following integration tests build on some of the examples demonstrating the
|
|
32
|
+
functionality of model |dam_v001|. To achieve comparability, we define identical
|
|
33
|
+
parameter values, initial conditions, and input time series. The following
|
|
34
|
+
explanations focus on the differences between applications models |dam_v005| and
|
|
35
|
+
|dam_v001|.
|
|
36
|
+
|
|
37
|
+
The following time-related setup is identical to the one of |dam_v001|:
|
|
38
|
+
|
|
39
|
+
>>> from hydpy import pub
|
|
40
|
+
>>> pub.timegrids = "01.01.2000", "21.01.2000", "1d"
|
|
41
|
+
|
|
42
|
+
Due to the high complexity of |dam_v005| and our test setting, which includes two
|
|
43
|
+
instances of another model type (|arma_rimorido|), we need to define lots of |Node|
|
|
44
|
+
objects:
|
|
45
|
+
|
|
46
|
+
>>> from hydpy import Node
|
|
47
|
+
>>> inflow = Node("inflow", variable="Q")
|
|
48
|
+
>>> outflow = Node("outflow", variable="Q")
|
|
49
|
+
>>> natural = Node("natural", variable="Q")
|
|
50
|
+
>>> remote = Node("remote", variable="Q")
|
|
51
|
+
>>> actual_supply = Node("actual_supply", variable="S")
|
|
52
|
+
>>> required_supply = Node("required_supply", variable="S")
|
|
53
|
+
>>> allowed_relief = Node("allowed_relief", variable="R")
|
|
54
|
+
>>> actual_relief = Node("actual_relief", variable="R")
|
|
55
|
+
>>> demand = Node("demand", variable="D")
|
|
56
|
+
>>> from hydpy import Element
|
|
57
|
+
>>> dam = Element("dam",
|
|
58
|
+
... inlets=(inflow, actual_supply, actual_relief),
|
|
59
|
+
... outlets=outflow,
|
|
60
|
+
... receivers=remote,
|
|
61
|
+
... senders=(demand, required_supply, allowed_relief))
|
|
62
|
+
>>> stream1 = Element("stream1", inlets=outflow, outlets=remote)
|
|
63
|
+
>>> stream2 = Element("stream2", inlets=natural, outlets=remote)
|
|
64
|
+
|
|
65
|
+
The nodes `inflow` and `outflow` handle the "normal" discharge into and out of the dam.
|
|
66
|
+
Node `outflow` passes its values to the routing element `stream1`. The second routing
|
|
67
|
+
element, `stream2`, represents a natural tributary and receives the "natural" discharge
|
|
68
|
+
of the subcatchment downstream of the dam provided by the `natural` node. Both routing
|
|
69
|
+
elements give their outflow to node `remote`, representing the cross-section downstream
|
|
70
|
+
where discharge should not undercut a certain threshold. So far, the setting is
|
|
71
|
+
identical to the one of the documentation on |dam_v001|.
|
|
72
|
+
|
|
73
|
+
|dam_v005| needs to connect to two additional inlet nodes and three sender nodes. The
|
|
74
|
+
input nodes `actual_supply` and `actual_relief` handle the actual supply and relief
|
|
75
|
+
discharge from remote locations. The sender nodes `required_supply` and
|
|
76
|
+
`allowed_relief` inform other models of the currently required supply and the allowed
|
|
77
|
+
relief. The sender node `demand` tells other models about the estimated demand for
|
|
78
|
+
water at the cross-section downstream that it cannot currently release itself.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
To enable |dam_v005| to connect the different involved sequences and nodes correctly,
|
|
82
|
+
we need to give suitable |Node.variable| values to the |Node| instances. We use the
|
|
83
|
+
string literal "Q" for the inflow and the outflow node, "S" for both supply nodes, "R"
|
|
84
|
+
for both relief nodes, and "D" for node `demand`. See the documentation on method
|
|
85
|
+
|Model.connect| for alternatives and more detailed explanations.
|
|
86
|
+
|
|
87
|
+
As mentioned above, |dam_v002| and |dam_v004| are good counterparts for |dam_v005|.
|
|
88
|
+
Including them in the following examples would lead to a better agreement with typical
|
|
89
|
+
use cases of |dam_v005|. However, we do not want to further bloat up the already
|
|
90
|
+
scenario setting. Hence, we prefer to apply a predefined discharge time series instead
|
|
91
|
+
of dynamically calculating the remote location discharges.
|
|
92
|
+
|
|
93
|
+
We configure both |arma_rimorido| models, the |IntegrationTest| object, and the initial
|
|
94
|
+
conditions precisely as in the |dam_v001| examples:
|
|
95
|
+
|
|
96
|
+
>>> from hydpy import prepare_model
|
|
97
|
+
>>> stream2.model = prepare_model("arma_rimorido")
|
|
98
|
+
>>> stream2.model.parameters.control.responses(((), (1.0,)))
|
|
99
|
+
>>> stream2.model.parameters.update()
|
|
100
|
+
|
|
101
|
+
>>> stream1.model = prepare_model("arma_rimorido")
|
|
102
|
+
>>> stream1.model.parameters.control.responses(((), (0.2, 0.4, 0.3, 0.1)))
|
|
103
|
+
>>> stream1.model.parameters.update()
|
|
104
|
+
|
|
105
|
+
>>> from hydpy.models.dam_v005 import *
|
|
106
|
+
>>> parameterstep("1d")
|
|
107
|
+
>>> dam.model = model
|
|
108
|
+
|
|
109
|
+
>>> from hydpy import IntegrationTest
|
|
110
|
+
>>> test = IntegrationTest(dam)
|
|
111
|
+
>>> test.dateformat = "%d.%m."
|
|
112
|
+
>>> test.plotting_options.axis1 = fluxes.inflow, fluxes.outflow
|
|
113
|
+
>>> test.plotting_options.axis2 = states.watervolume
|
|
114
|
+
|
|
115
|
+
>>> test.inits=((states.watervolume, 0.0),
|
|
116
|
+
... (logs.loggedadjustedevaporation, 0.0),
|
|
117
|
+
... (logs.loggedtotalremotedischarge, 1.9),
|
|
118
|
+
... (logs.loggedoutflow, 0.0),
|
|
119
|
+
... (stream1.model.sequences.logs.login, 0.0))
|
|
120
|
+
|
|
121
|
+
The following control parameters are common to both models. We apply the same values:
|
|
122
|
+
|
|
123
|
+
>>> watervolume2waterlevel(PPoly.from_data(xs=[0.0, 1.0], ys=[0.0, 0.25]))
|
|
124
|
+
>>> waterlevel2flooddischarge(PPoly.from_data(xs=[0.0], ys=[0.0]))
|
|
125
|
+
>>> catchmentarea(86.4)
|
|
126
|
+
>>> nmblogentries(1)
|
|
127
|
+
>>> remotedischargeminimum(1.4)
|
|
128
|
+
>>> remotedischargesafety(0.5)
|
|
129
|
+
>>> neardischargeminimumthreshold(0.2)
|
|
130
|
+
>>> neardischargeminimumtolerance(0.2)
|
|
131
|
+
>>> waterlevelminimumthreshold(0.0)
|
|
132
|
+
>>> waterlevelminimumtolerance(0.0)
|
|
133
|
+
>>> restricttargetedrelease(True)
|
|
134
|
+
>>> surfacearea(1.44)
|
|
135
|
+
>>> correctionprecipitation(1.2)
|
|
136
|
+
>>> correctionevaporation(1.2)
|
|
137
|
+
>>> weightevaporation(0.8)
|
|
138
|
+
>>> thresholdevaporation(0.0)
|
|
139
|
+
>>> toleranceevaporation(0.001)
|
|
140
|
+
|
|
141
|
+
|dam_v005| implements six additional control parameters, three for calculating the
|
|
142
|
+
required supply (|HighestRemoteSupply|, |WaterLevelSupplyThreshold|, and
|
|
143
|
+
|WaterLevelSupplyTolerance|) and three for calculating the allowed relief
|
|
144
|
+
(|HighestRemoteRelief|, |WaterLevelReliefThreshold|, and |WaterLevelReliefTolerance|):
|
|
145
|
+
|
|
146
|
+
>>> highestremotesupply(1.0)
|
|
147
|
+
>>> waterlevelsupplythreshold(0.2)
|
|
148
|
+
>>> waterlevelsupplytolerance(0.05)
|
|
149
|
+
>>> highestremoterelief(5.0)
|
|
150
|
+
>>> waterlevelreliefthreshold(0.5)
|
|
151
|
+
>>> waterlevelrelieftolerance(0.05)
|
|
152
|
+
|
|
153
|
+
We define identical time series for the subcatchment's discharge time series:
|
|
154
|
+
|
|
155
|
+
>>> natural.sequences.sim.series = [1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0, 1.0,
|
|
156
|
+
... 1.0, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8]
|
|
157
|
+
|
|
158
|
+
In the initial examples on |dam_v001|, the model receives a constant inflow of 1.0 m³/s
|
|
159
|
+
from its single inlet node. To work with the same input sum and prove that all node
|
|
160
|
+
connections work correctly, we set the "normal" inflow, the actual supply, and the
|
|
161
|
+
actual relief discharge to a constant value of 1/3 m³/s:
|
|
162
|
+
|
|
163
|
+
>>> inflow.sequences.sim.series = 1.0/3.0
|
|
164
|
+
>>> actual_supply.sequences.sim.series = 1.0/3.0
|
|
165
|
+
>>> actual_relief.sequences.sim.series = 1.0/3.0
|
|
166
|
+
|
|
167
|
+
.. _dam_v005_smooth_near_minimum:
|
|
168
|
+
|
|
169
|
+
smooth near minimum
|
|
170
|
+
___________________
|
|
171
|
+
|
|
172
|
+
This example extends the :ref:`dam_v001_smooth_near_minimum` example of application
|
|
173
|
+
model |dam_v001|.
|
|
174
|
+
|
|
175
|
+
All results achieved for the water level and the outflow agree exactly, confirming
|
|
176
|
+
that |dam_v005| captures the relevant functionalities of |dam_v001| correctly. From
|
|
177
|
+
the results specific to |dam_v005|, inspecting those of sequence |RequiredRemoteSupply|
|
|
178
|
+
is most insightful. At the beginning of the simulation period, they reflect the value
|
|
179
|
+
of parameter |HighestRemoteSupply| (1.0 m³/s). When the water level reaches the value
|
|
180
|
+
of parameter |WaterLevelSupplyThreshold| (0.2 m, which corresponds to a water volume of
|
|
181
|
+
0.8 million m³), the required remote release decreases and finally reaches 0.0 m³/s.
|
|
182
|
+
This transition happens over a relatively long period due to the large value of the
|
|
183
|
+
smoothing parameter |WaterLevelSupplyTolerance| (0.05 m):
|
|
184
|
+
|
|
185
|
+
.. integration-test::
|
|
186
|
+
|
|
187
|
+
>>> test("dam_v005_smooth_near_minimum")
|
|
188
|
+
| date | waterlevel | precipitation | adjustedprecipitation | potentialevaporation | adjustedevaporation | actualevaporation | inflow | totalremotedischarge | naturalremotedischarge | remotedemand | remotefailure | requiredremoterelease | allowedremoterelief | requiredremotesupply | requiredrelease | targetedrelease | actualrelease | missingremoterelease | flooddischarge | outflow | watervolume | actual_relief | actual_supply | allowed_relief | demand | inflow | natural | outflow | remote | required_supply |
|
|
189
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
190
|
+
| 01.01. | 0.017055 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.842088 | 1.9 | 0.0 | -0.5 | 0.005 | 5.0 | 1.0 | 0.210526 | 0.210526 | 0.210438 | 0.0 | 0.0 | 0.210438 | 0.068218 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.8 | 0.210438 | 1.842088 | 1.0 |
|
|
191
|
+
| 02.01. | 0.034099 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.826356 | 1.631649 | 0.0 | -0.442088 | 0.008454 | 5.0 | 1.0 | 0.210905 | 0.210905 | 0.210905 | 0.0 | 0.0 | 0.210905 | 0.136396 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.7 | 0.210905 | 1.826356 | 1.0 |
|
|
192
|
+
| 03.01. | 0.05114 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.789703 | 1.615451 | 0.0 | -0.426356 | 0.009744 | 5.0 | 0.999999 | 0.21105 | 0.21105 | 0.21105 | 0.0 | 0.0 | 0.21105 | 0.204561 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.6 | 0.21105 | 1.789703 | 0.999999 |
|
|
193
|
+
| 04.01. | 0.068172 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.711032 | 1.578654 | 0.0 | -0.389703 | 0.013541 | 5.0 | 0.999995 | 0.211486 | 0.211486 | 0.211486 | 0.0 | 0.0 | 0.211486 | 0.272689 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.5 | 0.211486 | 1.711032 | 0.999995 |
|
|
194
|
+
| 05.01. | 0.085167 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.611636 | 1.499546 | 0.0 | -0.311032 | 0.027123 | 5.0 | 0.999974 | 0.213183 | 0.213183 | 0.213183 | 0.0 | 0.0 | 0.213183 | 0.34067 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.4 | 0.213183 | 1.611636 | 0.999974 |
|
|
195
|
+
| 06.01. | 0.102036 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.513633 | 1.398453 | 0.001547 | -0.211636 | 0.064097 | 5.0 | 0.999877 | 0.219047 | 0.219047 | 0.219047 | 0.0 | 0.0 | 0.219047 | 0.408144 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.3 | 0.219047 | 1.513633 | 0.999877 |
|
|
196
|
+
| 07.01. | 0.117514 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.429412 | 1.294586 | 0.105414 | -0.113633 | 0.235573 | 5.0 | 0.99949 | 0.283449 | 0.283449 | 0.283449 | 0.0 | 0.0 | 0.283449 | 0.470054 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.2 | 0.283449 | 1.429412 | 0.99949 |
|
|
197
|
+
| 08.01. | 0.128848 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.395462 | 1.145963 | 0.254037 | -0.029412 | 0.470453 | 5.0 | 0.998556 | 0.475248 | 0.475248 | 0.475248 | 0.0 | 0.0 | 0.475248 | 0.515393 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.1 | 0.475248 | 1.395462 | 0.998556 |
|
|
198
|
+
| 09.01. | 0.134566 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.444094 | 0.920213 | 0.479787 | 0.004538 | 0.734999 | 5.0 | 0.997561 | 0.735279 | 0.735279 | 0.735279 | 0.0 | 0.0 | 0.735279 | 0.538265 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.0 | 0.735279 | 1.444094 | 0.997561 |
|
|
199
|
+
| 10.01. | 0.136915 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.643284 | 0.708815 | 0.691185 | -0.044094 | 0.891212 | 5.0 | 0.996975 | 0.891263 | 0.891263 | 0.891263 | 0.0 | 0.0 | 0.891263 | 0.54766 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.0 | 0.891263 | 1.643284 | 0.996975 |
|
|
200
|
+
| 11.01. | 0.143466 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.763953 | 0.75202 | 0.64798 | -0.243284 | 0.696269 | 5.0 | 0.99449 | 0.696694 | 0.696694 | 0.696694 | 0.0 | 0.0 | 0.696694 | 0.573865 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.0 | 0.696694 | 1.763953 | 0.99449 |
|
|
201
|
+
| 12.01. | 0.157152 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.692862 | 1.067259 | 0.332741 | -0.363953 | 0.349774 | 5.0 | 0.980882 | 0.366387 | 0.366387 | 0.366387 | 0.0 | 0.0 | 0.366387 | 0.628609 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.0 | 0.366387 | 1.692862 | 0.980882 |
|
|
202
|
+
| 13.01. | 0.173822 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.590339 | 1.326474 | 0.073526 | -0.292862 | 0.105265 | 5.0 | 0.917269 | 0.22825 | 0.22825 | 0.22825 | 0.0 | 0.0 | 0.22825 | 0.695289 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.1 | 0.22825 | 1.590339 | 0.917269 |
|
|
203
|
+
| 14.01. | 0.190453 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.516899 | 1.36209 | 0.03791 | -0.190339 | 0.11198 | 5.0 | 0.706288 | 0.230069 | 0.230069 | 0.230069 | 0.0 | 0.0 | 0.230069 | 0.761811 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.2 | 0.230069 | 1.516899 | 0.706288 |
|
|
204
|
+
| 15.01. | 0.205867 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.554419 | 1.28683 | 0.11317 | -0.116899 | 0.24046 | 5.0 | 0.368383 | 0.286388 | 0.286388 | 0.286388 | 0.0 | 0.0 | 0.286388 | 0.823467 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.3 | 0.286388 | 1.554419 | 0.368383 |
|
|
205
|
+
| 16.01. | 0.221423 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.662362 | 1.26803 | 0.13197 | -0.154419 | 0.229367 | 5.0 | 0.122517 | 0.279806 | 0.279806 | 0.279806 | 0.0 | 0.0 | 0.279806 | 0.885691 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.4 | 0.279806 | 1.662362 | 0.122517 |
|
|
206
|
+
| 17.01. | 0.238313 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.764455 | 1.382556 | 0.017444 | -0.262362 | 0.058606 | 5.0 | 0.028719 | 0.218048 | 0.218048 | 0.218048 | 0.0 | 0.0 | 0.218048 | 0.953252 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.5 | 0.218048 | 1.764455 | 0.028719 |
|
|
207
|
+
| 18.01. | 0.255336 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.842178 | 1.546408 | 0.0 | -0.364455 | 0.016957 | 5.0 | 0.006148 | 0.211892 | 0.211892 | 0.211892 | 0.0 | 0.0 | 0.211892 | 1.021345 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.6 | 0.211892 | 1.842178 | 0.006148 |
|
|
208
|
+
| 19.01. | 0.272381 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.920333 | 1.630286 | 0.0 | -0.442178 | 0.008447 | 5.0 | 0.00129 | 0.210904 | 0.210904 | 0.210904 | 0.0 | 0.0 | 0.210904 | 1.089522 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.7 | 0.210904 | 1.920333 | 0.00129 |
|
|
209
|
+
| 20.01. | 0.289435 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 2.011821 | 1.709429 | 0.0 | -0.520333 | 0.004155 | 5.0 | 0.000269 | 0.210435 | 0.210435 | 0.210435 | 0.0 | 0.0 | 0.210435 | 1.157741 | 0.333333 | 0.333333 | 5.0 | 0.0 | 0.333333 | 1.8 | 0.210435 | 2.011821 | 0.000269 |
|
|
210
|
+
|
|
211
|
+
.. _dam_v005_restriction_enabled:
|
|
212
|
+
|
|
213
|
+
restriction enabled
|
|
214
|
+
___________________
|
|
215
|
+
|
|
216
|
+
This example extends the :ref:`dam_v001_restriction_enabled` example of application
|
|
217
|
+
model |dam_v001|. It confirms that the restriction on releasing water when there is
|
|
218
|
+
little inflow works as explained for model |dam_v001|. In addition, it shows that
|
|
219
|
+
|dam_v005| uses sequence |MissingRemoteRelease| to indicate when the |ActualRelease| is
|
|
220
|
+
smaller than the estimated |RequiredRemoteRelease| and passes this information to the
|
|
221
|
+
`demand` node:
|
|
222
|
+
|
|
223
|
+
>>> inflow.sequences.sim.series[:10] = 1.0
|
|
224
|
+
>>> inflow.sequences.sim.series[10:] = 0.1
|
|
225
|
+
>>> actual_supply.sequences.sim.series = 0.0
|
|
226
|
+
>>> actual_relief.sequences.sim.series = 0.0
|
|
227
|
+
>>> neardischargeminimumtolerance(0.0)
|
|
228
|
+
|
|
229
|
+
.. integration-test::
|
|
230
|
+
|
|
231
|
+
>>> test("dam_v005_restriction_enabled")
|
|
232
|
+
| date | waterlevel | precipitation | adjustedprecipitation | potentialevaporation | adjustedevaporation | actualevaporation | inflow | totalremotedischarge | naturalremotedischarge | remotedemand | remotefailure | requiredremoterelease | allowedremoterelief | requiredremotesupply | requiredrelease | targetedrelease | actualrelease | missingremoterelease | flooddischarge | outflow | watervolume | actual_relief | actual_supply | allowed_relief | demand | inflow | natural | outflow | remote | required_supply |
|
|
233
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
234
|
+
| 01.01. | 0.017282 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.839983 | 1.9 | 0.0 | -0.5 | 0.005 | 5.0 | 1.0 | 0.2 | 0.2 | 0.199917 | 0.0 | 0.0 | 0.199917 | 0.069127 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.8 | 0.199917 | 1.839983 | 1.0 |
|
|
235
|
+
| 02.01. | 0.034562 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.819967 | 1.640067 | 0.0 | -0.439983 | 0.008616 | 5.0 | 1.0 | 0.2 | 0.2 | 0.2 | 0.0 | 0.0 | 0.2 | 0.138247 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.7 | 0.2 | 1.819967 | 1.0 |
|
|
236
|
+
| 03.01. | 0.051842 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.779975 | 1.619967 | 0.0 | -0.419967 | 0.010321 | 5.0 | 0.999999 | 0.2 | 0.2 | 0.2 | 0.0 | 0.0 | 0.2 | 0.207367 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.6 | 0.2 | 1.779975 | 0.999999 |
|
|
237
|
+
| 04.01. | 0.069122 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.699992 | 1.579975 | 0.0 | -0.379975 | 0.014769 | 5.0 | 0.999994 | 0.2 | 0.2 | 0.2 | 0.0 | 0.0 | 0.2 | 0.276487 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.5 | 0.2 | 1.699992 | 0.999994 |
|
|
238
|
+
| 05.01. | 0.086402 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.6 | 1.499992 | 0.0 | -0.299992 | 0.029846 | 5.0 | 0.999971 | 0.2 | 0.2 | 0.2 | 0.0 | 0.0 | 0.2 | 0.345607 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.4 | 0.2 | 1.6 | 0.999971 |
|
|
239
|
+
| 06.01. | 0.103682 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.5 | 1.4 | 0.0 | -0.2 | 0.068641 | 5.0 | 0.999857 | 0.2 | 0.2 | 0.2 | 0.0 | 0.0 | 0.2 | 0.414727 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.3 | 0.2 | 1.5 | 0.999857 |
|
|
240
|
+
| 07.01. | 0.120042 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.408516 | 1.3 | 0.1 | -0.1 | 0.242578 | 5.0 | 0.999357 | 0.242578 | 0.242578 | 0.242578 | 0.0 | 0.0 | 0.242578 | 0.480168 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.2 | 0.242578 | 1.408516 | 0.999357 |
|
|
241
|
+
| 08.01. | 0.131398 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.371888 | 1.165937 | 0.234063 | -0.008516 | 0.474285 | 5.0 | 0.998176 | 0.474285 | 0.474285 | 0.474285 | 0.0 | 0.0 | 0.474285 | 0.52559 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.1 | 0.474285 | 1.371888 | 0.998176 |
|
|
242
|
+
| 09.01. | 0.136052 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.43939 | 0.897603 | 0.502397 | 0.028112 | 0.784512 | 5.0 | 0.997205 | 0.784512 | 0.784512 | 0.784512 | 0.0 | 0.0 | 0.784512 | 0.544208 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.0 | 0.784512 | 1.43939 | 0.997205 |
|
|
243
|
+
| 10.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.67042 | 0.654878 | 0.745122 | -0.03939 | 0.95036 | 5.0 | 0.996916 | 0.95036 | 0.95036 | 0.95036 | 0.0 | 0.0 | 0.95036 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.0 | 1.0 | 1.0 | 0.95036 | 1.67042 | 0.996916 |
|
|
244
|
+
| 11.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.682926 | 0.720061 | 0.679939 | -0.27042 | 0.71839 | 5.0 | 0.996916 | 0.71839 | 0.1 | 0.1 | 0.61839 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.61839 | 0.1 | 1.0 | 0.1 | 1.682926 | 0.996916 |
|
|
245
|
+
| 12.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.423559 | 1.582926 | 0.0 | -0.282926 | 0.034564 | 5.0 | 0.996916 | 0.2 | 0.1 | 0.1 | 0.0 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.0 | 0.1 | 1.0 | 0.1 | 1.423559 | 0.996916 |
|
|
246
|
+
| 13.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.285036 | 1.323559 | 0.076441 | -0.023559 | 0.299482 | 5.0 | 0.996916 | 0.299482 | 0.1 | 0.1 | 0.199482 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.199482 | 0.1 | 1.1 | 0.1 | 1.285036 | 0.996916 |
|
|
247
|
+
| 14.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.3 | 1.185036 | 0.214964 | 0.114964 | 0.585979 | 5.0 | 0.996916 | 0.585979 | 0.1 | 0.1 | 0.485979 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.485979 | 0.1 | 1.2 | 0.1 | 1.3 | 0.996916 |
|
|
248
|
+
| 15.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.4 | 1.2 | 0.2 | 0.1 | 0.557422 | 5.0 | 0.996916 | 0.557422 | 0.1 | 0.1 | 0.457422 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.457422 | 0.1 | 1.3 | 0.1 | 1.4 | 0.996916 |
|
|
249
|
+
| 16.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.5 | 1.3 | 0.1 | 0.0 | 0.35 | 5.0 | 0.996916 | 0.35 | 0.1 | 0.1 | 0.25 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.25 | 0.1 | 1.4 | 0.1 | 1.5 | 0.996916 |
|
|
250
|
+
| 17.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.6 | 1.4 | 0.0 | -0.1 | 0.142578 | 5.0 | 0.996916 | 0.2 | 0.1 | 0.1 | 0.042578 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.042578 | 0.1 | 1.5 | 0.1 | 1.6 | 0.996916 |
|
|
251
|
+
| 18.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.7 | 1.5 | 0.0 | -0.2 | 0.068641 | 5.0 | 0.996916 | 0.2 | 0.1 | 0.1 | 0.0 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.0 | 0.1 | 1.6 | 0.1 | 1.7 | 0.996916 |
|
|
252
|
+
| 19.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.8 | 1.6 | 0.0 | -0.3 | 0.029844 | 5.0 | 0.996916 | 0.2 | 0.1 | 0.1 | 0.0 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.0 | 0.1 | 1.7 | 0.1 | 1.8 | 0.996916 |
|
|
253
|
+
| 20.01. | 0.137124 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 1.9 | 1.7 | 0.0 | -0.4 | 0.012348 | 5.0 | 0.996916 | 0.2 | 0.1 | 0.1 | 0.0 | 0.0 | 0.1 | 0.548497 | 0.0 | 0.0 | 5.0 | 0.0 | 0.1 | 1.8 | 0.1 | 1.9 | 0.996916 |
|
|
254
|
+
|
|
255
|
+
.. _dam_v005_smooth_stage_minimum:
|
|
256
|
+
|
|
257
|
+
smooth stage minimum
|
|
258
|
+
____________________
|
|
259
|
+
|
|
260
|
+
This example extends the :ref:`dam_v001_smooth_stage_minimum` example of application
|
|
261
|
+
model |dam_v001|. We update parameters |WaterLevelMinimumThreshold| and
|
|
262
|
+
|WaterLevelMinimumTolerance|, as well as the time series of the "normal" inflow,
|
|
263
|
+
accordingly:
|
|
264
|
+
|
|
265
|
+
>>> neardischargeminimumthreshold(0.0)
|
|
266
|
+
>>> waterlevelminimumtolerance(0.01)
|
|
267
|
+
>>> waterlevelminimumthreshold(0.005)
|
|
268
|
+
>>> inflow.sequences.sim.series = numpy.linspace(0.2, 0.0, 20)
|
|
269
|
+
|
|
270
|
+
There is also a perfect agreement between |dam_v001| and |dam_v005| for the given case
|
|
271
|
+
where the available water storage is too limited to reease enough discharge:
|
|
272
|
+
|
|
273
|
+
.. integration-test::
|
|
274
|
+
|
|
275
|
+
>>> test("dam_v005_smooth_stage_minimum")
|
|
276
|
+
| date | waterlevel | precipitation | adjustedprecipitation | potentialevaporation | adjustedevaporation | actualevaporation | inflow | totalremotedischarge | naturalremotedischarge | remotedemand | remotefailure | requiredremoterelease | allowedremoterelief | requiredremotesupply | requiredrelease | targetedrelease | actualrelease | missingremoterelease | flooddischarge | outflow | watervolume | actual_relief | actual_supply | allowed_relief | demand | inflow | natural | outflow | remote | required_supply |
|
|
277
|
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
278
|
+
| 01.01. | 0.004295 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.2 | 1.800227 | 1.9 | 0.0 | -0.5 | 0.005 | 5.0 | 1.0 | 0.005 | 0.005 | 0.001137 | 0.003863 | 0.0 | 0.001137 | 0.017182 | 0.0 | 0.0 | 5.0 | 0.003863 | 0.2 | 1.8 | 0.001137 | 1.800227 | 1.0 |
|
|
279
|
+
| 02.01. | 0.00822 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.189474 | 1.702016 | 1.79909 | 0.0 | -0.400227 | 0.012323 | 5.0 | 1.0 | 0.012323 | 0.012323 | 0.007804 | 0.004519 | 0.0 | 0.007804 | 0.032878 | 0.0 | 0.0 | 5.0 | 0.004519 | 0.189474 | 1.7 | 0.007804 | 1.702016 | 1.0 |
|
|
280
|
+
| 03.01. | 0.011516 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.178947 | 1.608725 | 1.694212 | 0.0 | -0.302016 | 0.029329 | 5.0 | 1.0 | 0.029329 | 0.029329 | 0.026311 | 0.003018 | 0.0 | 0.026311 | 0.046066 | 0.0 | 0.0 | 5.0 | 0.003018 | 0.178947 | 1.6 | 0.026311 | 1.608725 | 1.0 |
|
|
281
|
+
| 04.01. | 0.013813 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.168421 | 1.525402 | 1.582414 | 0.0 | -0.208725 | 0.064029 | 5.0 | 1.0 | 0.064029 | 0.064029 | 0.062116 | 0.001913 | 0.0 | 0.062116 | 0.055251 | 0.0 | 0.0 | 5.0 | 0.001913 | 0.168421 | 1.5 | 0.062116 | 1.525402 | 1.0 |
|
|
282
|
+
| 05.01. | 0.014668 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.157895 | 1.457183 | 1.463286 | 0.0 | -0.125402 | 0.120018 | 5.0 | 1.0 | 0.120018 | 0.120018 | 0.118314 | 0.001704 | 0.0 | 0.118314 | 0.05867 | 0.0 | 0.0 | 5.0 | 0.001704 | 0.157895 | 1.4 | 0.118314 | 1.457183 | 1.0 |
|
|
283
|
+
| 06.01. | 0.01262 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.147368 | 1.417026 | 1.338869 | 0.061131 | -0.057183 | 0.246912 | 5.0 | 1.0 | 0.246912 | 0.246912 | 0.242169 | 0.004743 | 0.0 | 0.242169 | 0.05048 | 0.0 | 0.0 | 5.0 | 0.004743 | 0.147368 | 1.3 | 0.242169 | 1.417026 | 1.0 |
|
|
284
|
+
| 07.01. | 0.007 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.136842 | 1.417974 | 1.174856 | 0.225144 | -0.017026 | 0.455625 | 5.0 | 1.0 | 0.455625 | 0.455625 | 0.397003 | 0.058622 | 0.0 | 0.397003 | 0.028002 | 0.0 | 0.0 | 5.0 | 0.058622 | 0.136842 | 1.2 | 0.397003 | 1.417974 | 1.0 |
|
|
285
|
+
| 08.01. | 0.003446 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.126316 | 1.401455 | 1.020971 | 0.379029 | -0.017974 | 0.608427 | 5.0 | 1.0 | 0.608427 | 0.608427 | 0.290857 | 0.317571 | 0.0 | 0.290857 | 0.013785 | 0.0 | 0.0 | 5.0 | 0.317571 | 0.126316 | 1.1 | 0.290857 | 1.401455 | 1.0 |
|
|
286
|
+
| 09.01. | 0.002653 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.115789 | 1.290165 | 1.110598 | 0.289402 | -0.001455 | 0.537731 | 5.0 | 1.0 | 0.537731 | 0.537731 | 0.152525 | 0.385206 | 0.0 | 0.152525 | 0.010611 | 0.0 | 0.0 | 5.0 | 0.385206 | 0.115789 | 1.0 | 0.152525 | 1.290165 | 1.0 |
|
|
287
|
+
| 10.01. | 0.001943 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.105263 | 1.215588 | 1.137641 | 0.262359 | 0.109835 | 0.628811 | 5.0 | 1.0 | 0.628811 | 0.628811 | 0.138106 | 0.490706 | 0.0 | 0.138106 | 0.007774 | 0.0 | 0.0 | 5.0 | 0.490706 | 0.105263 | 1.0 | 0.138106 | 1.215588 | 1.0 |
|
|
288
|
+
| 11.01. | 0.001257 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.094737 | 1.155391 | 1.077483 | 0.322517 | 0.184412 | 0.744943 | 5.0 | 1.0 | 0.744943 | 0.744943 | 0.126527 | 0.618417 | 0.0 | 0.126527 | 0.005027 | 0.0 | 0.0 | 5.0 | 0.618417 | 0.094737 | 1.0 | 0.126527 | 1.155391 | 1.0 |
|
|
289
|
+
| 12.01. | 0.000695 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.084211 | 1.129338 | 1.028864 | 0.371136 | 0.244609 | 0.823376 | 5.0 | 1.0 | 0.823376 | 0.823376 | 0.110214 | 0.713162 | 0.0 | 0.110214 | 0.00278 | 0.0 | 0.0 | 5.0 | 0.713162 | 0.084211 | 1.0 | 0.110214 | 1.129338 | 1.0 |
|
|
290
|
+
| 13.01. | 0.000276 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.073684 | 1.214467 | 1.019124 | 0.380876 | 0.270662 | 0.842505 | 5.0 | 1.0 | 0.842505 | 0.842505 | 0.093065 | 0.74944 | 0.0 | 0.093065 | 0.001106 | 0.0 | 0.0 | 5.0 | 0.74944 | 0.073684 | 1.1 | 0.093065 | 1.214467 | 1.0 |
|
|
291
|
+
| 14.01. | 0.000137 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.063158 | 1.296867 | 1.121402 | 0.278598 | 0.185533 | 0.701697 | 5.0 | 1.0 | 0.701697 | 0.701697 | 0.069621 | 0.632076 | 0.0 | 0.069621 | 0.000547 | 0.0 | 0.0 | 5.0 | 0.632076 | 0.063158 | 1.2 | 0.069621 | 1.296867 | 1.0 |
|
|
292
|
+
| 15.01. | 0.000156 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.052632 | 1.37714 | 1.227246 | 0.172754 | 0.103133 | 0.533092 | 5.0 | 1.0 | 0.533092 | 0.533092 | 0.051753 | 0.481339 | 0.0 | 0.051753 | 0.000623 | 0.0 | 0.0 | 5.0 | 0.481339 | 0.052632 | 1.3 | 0.051753 | 1.37714 | 1.0 |
|
|
293
|
+
| 16.01. | 0.000303 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.042105 | 1.457954 | 1.325387 | 0.074613 | 0.02286 | 0.350778 | 5.0 | 1.0 | 0.350778 | 0.350778 | 0.035299 | 0.315479 | 0.0 | 0.035299 | 0.001211 | 0.0 | 0.0 | 5.0 | 0.315479 | 0.042105 | 1.4 | 0.035299 | 1.457954 | 1.0 |
|
|
294
|
+
| 17.01. | 0.000549 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.031579 | 1.540644 | 1.422655 | 0.0 | -0.057954 | 0.184954 | 5.0 | 1.0 | 0.184954 | 0.184954 | 0.020178 | 0.164776 | 0.0 | 0.020178 | 0.002196 | 0.0 | 0.0 | 5.0 | 0.164776 | 0.031579 | 1.5 | 0.020178 | 1.540644 | 1.0 |
|
|
295
|
+
| 18.01. | 0.000727 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.021053 | 1.626397 | 1.520465 | 0.0 | -0.140644 | 0.107711 | 5.0 | 1.0 | 0.107711 | 0.107711 | 0.012801 | 0.09491 | 0.0 | 0.012801 | 0.002909 | 0.0 | 0.0 | 5.0 | 0.09491 | 0.021053 | 1.6 | 0.012801 | 1.626397 | 1.0 |
|
|
296
|
+
| 19.01. | 0.000805 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.010526 | 1.716092 | 1.613595 | 0.0 | -0.226397 | 0.055496 | 5.0 | 1.0 | 0.055496 | 0.055496 | 0.006941 | 0.048556 | 0.0 | 0.006941 | 0.003219 | 0.0 | 0.0 | 5.0 | 0.048556 | 0.010526 | 1.7 | 0.006941 | 1.716092 | 1.0 |
|
|
297
|
+
| 20.01. | 0.000769 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.808962 | 1.709151 | 0.0 | -0.316092 | 0.025954 | 5.0 | 1.0 | 0.025954 | 0.012977 | 0.001636 | 0.024318 | 0.0 | 0.001636 | 0.003078 | 0.0 | 0.0 | 5.0 | 0.024318 | 0.0 | 1.8 | 0.001636 | 1.808962 | 1.0 |
|
|
298
|
+
|
|
299
|
+
.. _dam_v005_evaporation:
|
|
300
|
+
|
|
301
|
+
evaporation
|
|
302
|
+
___________
|
|
303
|
+
|
|
304
|
+
This example repeats the :ref:`dam_v001_evaporation` example of application model
|
|
305
|
+
|dam_v001|. We add an |evap_ret_io| submodel and update the time series of potential
|
|
306
|
+
evaporation accordingly:
|
|
307
|
+
|
|
308
|
+
>>> with model.add_pemodel_v1("evap_ret_io") as pemodel:
|
|
309
|
+
... evapotranspirationfactor(1.0)
|
|
310
|
+
>>> pemodel.prepare_inputseries()
|
|
311
|
+
>>> pemodel.sequences.inputs.referenceevapotranspiration.series = 10 * [1.0] + 10 * [5.0]
|
|
312
|
+
|
|
313
|
+
All internal evaporation-related results agree with the ones of |dam_v001| exactly:
|
|
314
|
+
|
|
315
|
+
.. integration-test::
|
|
316
|
+
|
|
317
|
+
>>> test("dam_v005_evaporation")
|
|
318
|
+
| date | waterlevel | precipitation | adjustedprecipitation | potentialevaporation | adjustedevaporation | actualevaporation | inflow | totalremotedischarge | naturalremotedischarge | remotedemand | remotefailure | requiredremoterelease | allowedremoterelief | requiredremotesupply | requiredrelease | targetedrelease | actualrelease | missingremoterelease | flooddischarge | outflow | watervolume | actual_relief | actual_supply | allowed_relief | demand | inflow | natural | outflow | remote | required_supply |
|
|
319
|
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
320
|
+
| 01.01. | 0.003964 | 0.0 | 0.0 | 1.0 | 0.016 | 0.015403 | 0.2 | 1.800214 | 1.9 | 0.0 | -0.5 | 0.005 | 5.0 | 1.0 | 0.005 | 0.005 | 0.001069 | 0.003931 | 0.0 | 0.001069 | 0.015857 | 0.0 | 0.0 | 5.0 | 0.003931 | 0.2 | 1.8 | 0.001069 | 1.800214 | 1.0 |
|
|
321
|
+
| 02.01. | 0.007488 | 0.0 | 0.0 | 1.0 | 0.0192 | 0.0192 | 0.189474 | 1.701857 | 1.799145 | 0.0 | -0.400214 | 0.012324 | 5.0 | 1.0 | 0.012324 | 0.012324 | 0.007145 | 0.00518 | 0.0 | 0.007145 | 0.029951 | 0.0 | 0.0 | 5.0 | 0.00518 | 0.189474 | 1.7 | 0.007145 | 1.701857 | 1.0 |
|
|
322
|
+
| 03.01. | 0.010383 | 0.0 | 0.0 | 1.0 | 0.01984 | 0.01984 | 0.178947 | 1.608191 | 1.694712 | 0.0 | -0.301857 | 0.029369 | 5.0 | 1.0 | 0.029369 | 0.029369 | 0.025061 | 0.004308 | 0.0 | 0.025061 | 0.041533 | 0.0 | 0.0 | 5.0 | 0.004308 | 0.178947 | 1.6 | 0.025061 | 1.608191 | 1.0 |
|
|
323
|
+
| 04.01. | 0.012274 | 0.0 | 0.0 | 1.0 | 0.019968 | 0.019968 | 0.168421 | 1.524454 | 1.58313 | 0.0 | -0.208191 | 0.064304 | 5.0 | 1.0 | 0.064304 | 0.064304 | 0.060894 | 0.00341 | 0.0 | 0.060894 | 0.049098 | 0.0 | 0.0 | 5.0 | 0.00341 | 0.168421 | 1.5 | 0.060894 | 1.524454 | 1.0 |
|
|
324
|
+
| 05.01. | 0.012724 | 0.0 | 0.0 | 1.0 | 0.019994 | 0.019994 | 0.157895 | 1.456007 | 1.463559 | 0.0 | -0.124454 | 0.120816 | 5.0 | 1.0 | 0.120816 | 0.120816 | 0.11708 | 0.003735 | 0.0 | 0.11708 | 0.050897 | 0.0 | 0.0 | 5.0 | 0.003735 | 0.157895 | 1.4 | 0.11708 | 1.456007 | 1.0 |
|
|
325
|
+
| 06.01. | 0.010381 | 0.0 | 0.0 | 1.0 | 0.019999 | 0.019999 | 0.147368 | 1.414779 | 1.338926 | 0.061074 | -0.056007 | 0.248118 | 5.0 | 1.0 | 0.248118 | 0.248118 | 0.235862 | 0.012256 | 0.0 | 0.235862 | 0.041523 | 0.0 | 0.0 | 5.0 | 0.012256 | 0.147368 | 1.3 | 0.235862 | 1.414779 | 1.0 |
|
|
326
|
+
| 07.01. | 0.005528 | 0.0 | 0.0 | 1.0 | 0.02 | 0.02 | 0.136842 | 1.403864 | 1.178917 | 0.221083 | -0.014779 | 0.454132 | 5.0 | 1.0 | 0.454132 | 0.454132 | 0.341526 | 0.112606 | 0.0 | 0.341526 | 0.02211 | 0.0 | 0.0 | 5.0 | 0.112606 | 0.136842 | 1.2 | 0.341526 | 1.403864 | 1.0 |
|
|
327
|
+
| 08.01. | 0.002963 | 0.0 | 0.0 | 1.0 | 0.02 | 0.02 | 0.126316 | 1.364088 | 1.062338 | 0.337662 | -0.003864 | 0.583224 | 5.0 | 1.0 | 0.583224 | 0.583224 | 0.225053 | 0.358172 | 0.0 | 0.225053 | 0.011851 | 0.0 | 0.0 | 5.0 | 0.358172 | 0.126316 | 1.1 | 0.225053 | 1.364088 | 1.0 |
|
|
328
|
+
| 09.01. | 0.002161 | 0.0 | 0.0 | 1.0 | 0.02 | 0.02 | 0.115789 | 1.24265 | 1.139035 | 0.260965 | 0.035912 | 0.55185 | 5.0 | 1.0 | 0.55185 | 0.55185 | 0.132924 | 0.418926 | 0.0 | 0.132924 | 0.008643 | 0.0 | 0.0 | 5.0 | 0.418926 | 0.115789 | 1.0 | 0.132924 | 1.24265 | 1.0 |
|
|
329
|
+
| 10.01. | 0.001322 | 0.0 | 0.0 | 1.0 | 0.02 | 0.019985 | 0.105263 | 1.179664 | 1.109726 | 0.290274 | 0.15735 | 0.694972 | 5.0 | 1.0 | 0.694972 | 0.694972 | 0.124131 | 0.570841 | 0.0 | 0.124131 | 0.005286 | 0.0 | 0.0 | 5.0 | 0.570841 | 0.105263 | 1.0 | 0.124131 | 1.179664 | 1.0 |
|
|
330
|
+
| 11.01. | -0.000009 | 0.0 | 0.0 | 5.0 | 0.084 | 0.067788 | 0.094737 | 1.129746 | 1.055533 | 0.344467 | 0.220336 | 0.786162 | 5.0 | 1.0 | 0.786162 | 0.786162 | 0.088555 | 0.697607 | 0.0 | 0.088555 | -0.000037 | 0.0 | 0.0 | 5.0 | 0.697607 | 0.094737 | 1.0 | 0.088555 | 1.129746 | 1.0 |
|
|
331
|
+
| 12.01. | -0.000277 | 0.0 | 0.0 | 5.0 | 0.0968 | 0.027792 | 0.084211 | 1.09972 | 1.041191 | 0.358809 | 0.270254 | 0.820305 | 5.0 | 1.0 | 0.820305 | 0.820305 | 0.06883 | 0.751475 | 0.0 | 0.06883 | -0.001109 | 0.0 | 0.0 | 5.0 | 0.751475 | 0.084211 | 1.0 | 0.06883 | 1.09972 | 1.0 |
|
|
332
|
+
| 13.01. | -0.000428 | 0.0 | 0.0 | 5.0 | 0.09936 | 0.01519 | 0.073684 | 1.179604 | 1.030889 | 0.369111 | 0.30028 | 0.839339 | 5.0 | 1.0 | 0.839339 | 0.839339 | 0.065462 | 0.773877 | 0.0 | 0.065462 | -0.001711 | 0.0 | 0.0 | 5.0 | 0.773877 | 0.073684 | 1.1 | 0.065462 | 1.179604 | 1.0 |
|
|
333
|
+
| 14.01. | -0.00048 | 0.0 | 0.0 | 5.0 | 0.099872 | 0.010814 | 0.063158 | 1.266641 | 1.114142 | 0.285858 | 0.220396 | 0.727582 | 5.0 | 1.0 | 0.727582 | 0.727582 | 0.054758 | 0.672824 | 0.0 | 0.054758 | -0.001919 | 0.0 | 0.0 | 5.0 | 0.672824 | 0.063158 | 1.2 | 0.054758 | 1.266641 | 1.0 |
|
|
334
|
+
| 15.01. | -0.000481 | 0.0 | 0.0 | 5.0 | 0.099974 | 0.009855 | 0.052632 | 1.356992 | 1.211883 | 0.188117 | 0.133359 | 0.574641 | 5.0 | 1.0 | 0.574641 | 0.574641 | 0.042837 | 0.531804 | 0.0 | 0.042837 | -0.001925 | 0.0 | 0.0 | 5.0 | 0.531804 | 0.052632 | 1.3 | 0.042837 | 1.356992 | 1.0 |
|
|
335
|
+
| 16.01. | -0.000436 | 0.0 | 0.0 | 5.0 | 0.099995 | 0.011026 | 0.042105 | 1.445909 | 1.314155 | 0.085845 | 0.043008 | 0.384618 | 5.0 | 1.0 | 0.384618 | 0.384618 | 0.029002 | 0.355616 | 0.0 | 0.029002 | -0.001745 | 0.0 | 0.0 | 5.0 | 0.355616 | 0.042105 | 1.4 | 0.029002 | 1.445909 | 1.0 |
|
|
336
|
+
| 17.01. | -0.000379 | 0.0 | 0.0 | 5.0 | 0.099999 | 0.013667 | 0.031579 | 1.532982 | 1.416907 | 0.0 | -0.045909 | 0.19803 | 5.0 | 1.0 | 0.19803 | 0.19803 | 0.015273 | 0.182757 | 0.0 | 0.015273 | -0.001517 | 0.0 | 0.0 | 5.0 | 0.182757 | 0.031579 | 1.5 | 0.015273 | 1.532982 | 1.0 |
|
|
337
|
+
| 18.01. | -0.000412 | 0.0 | 0.0 | 5.0 | 0.1 | 0.013795 | 0.021053 | 1.620851 | 1.517709 | 0.0 | -0.132982 | 0.11378 | 5.0 | 1.0 | 0.11378 | 0.11378 | 0.008785 | 0.104995 | 0.0 | 0.008785 | -0.001649 | 0.0 | 0.0 | 5.0 | 0.104995 | 0.021053 | 1.6 | 0.008785 | 1.620851 | 1.0 |
|
|
338
|
+
| 19.01. | -0.000506 | 0.0 | 0.0 | 5.0 | 0.1 | 0.010518 | 0.010526 | 1.711867 | 1.612065 | 0.0 | -0.220851 | 0.058061 | 5.0 | 1.0 | 0.058061 | 0.058061 | 0.004355 | 0.053706 | 0.0 | 0.004355 | -0.002025 | 0.0 | 0.0 | 5.0 | 0.053706 | 0.010526 | 1.7 | 0.004355 | 1.711867 | 1.0 |
|
|
339
|
+
| 20.01. | -0.000662 | 0.0 | 0.0 | 5.0 | 0.1 | 0.006255 | 0.0 | 1.806096 | 1.707512 | 0.0 | -0.311867 | 0.026927 | 5.0 | 1.0 | 0.026927 | 0.013463 | 0.000957 | 0.02597 | 0.0 | 0.000957 | -0.002648 | 0.0 | 0.0 | 5.0 | 0.02597 | 0.0 | 1.8 | 0.000957 | 1.806096 | 1.0 |
|
|
340
|
+
|
|
341
|
+
>>> del model.pemodel
|
|
342
|
+
|
|
343
|
+
.. _dam_v005_flood_retention:
|
|
344
|
+
|
|
345
|
+
flood retention
|
|
346
|
+
_______________
|
|
347
|
+
|
|
348
|
+
This example repeats the :ref:`dam_v001_flood_retention` example of application model
|
|
349
|
+
|dam_v001|. We use the same parameter and input time series configuration:
|
|
350
|
+
|
|
351
|
+
>>> remotedischargeminimum(0.0)
|
|
352
|
+
>>> remotedischargesafety(0.0)
|
|
353
|
+
>>> waterlevelminimumthreshold(0.0)
|
|
354
|
+
>>> waterlevelminimumtolerance(0.0)
|
|
355
|
+
>>> waterlevel2flooddischarge(PPoly.from_data(xs=[0.0, 1.0], ys= [0.0, 2.5]))
|
|
356
|
+
>>> neardischargeminimumthreshold(0.0)
|
|
357
|
+
>>> with model.add_precipmodel_v2("meteo_precip_io") as precipmodel:
|
|
358
|
+
... precipitationfactor(1.0)
|
|
359
|
+
>>> precipmodel.prepare_inputseries()
|
|
360
|
+
>>> precipmodel.sequences.inputs.precipitation.series = [
|
|
361
|
+
... 0.0, 50.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
|
|
362
|
+
... 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
|
|
363
|
+
>>> inflow.sequences.sim.series = [0.0, 0.0, 5.0, 9.0, 8.0, 5.0, 3.0, 2.0, 1.0, 0.0,
|
|
364
|
+
... 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
|
|
365
|
+
>>> test.inits.loggedtotalremotedischarge = 1.0
|
|
366
|
+
>>> natural.sequences.sim.series = 1.0
|
|
367
|
+
|
|
368
|
+
The following test results show that |dam_v005| reproduces the water levels and outflow
|
|
369
|
+
values calculated by |dam_v001| precisely. Furthermore, they illustrate the estimation
|
|
370
|
+
of |AllowedRemoteRelief| based on the current water level, which is functionally
|
|
371
|
+
similar to the one of |RequiredRemoteSupply| discussed in the
|
|
372
|
+
:ref:`dam_v005_smooth_near_minimum` example:
|
|
373
|
+
|
|
374
|
+
.. integration-test::
|
|
375
|
+
|
|
376
|
+
>>> test("dam_v005_flood_retention")
|
|
377
|
+
| date | waterlevel | precipitation | adjustedprecipitation | potentialevaporation | adjustedevaporation | actualevaporation | inflow | totalremotedischarge | naturalremotedischarge | remotedemand | remotefailure | requiredremoterelease | allowedremoterelief | requiredremotesupply | requiredrelease | targetedrelease | actualrelease | missingremoterelease | flooddischarge | outflow | watervolume | actual_relief | actual_supply | allowed_relief | demand | inflow | natural | outflow | remote | required_supply |
|
|
378
|
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
379
|
+
| 01.01. | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 1.0 | 0.0 | -1.0 | 0.0 | 5.0 | 1.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 5.0 | 0.0 | 0.0 | 1.0 | 0.0 | 1.0 | 1.0 |
|
|
380
|
+
| 02.01. | 0.021027 | 50.0 | 1.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.005304 | 1.0 | 0.0 | -1.0 | 0.0 | 5.0 | 1.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.026521 | 0.026521 | 0.084109 | 0.0 | 0.0 | 5.0 | 0.0 | 0.0 | 1.0 | 0.026521 | 1.005304 | 1.0 |
|
|
381
|
+
| 03.01. | 0.125058 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 5.0 | 1.047364 | 0.978784 | 0.0 | -1.005304 | 0.0 | 5.0 | 0.99898 | 0.0 | 0.0 | 0.0 | 0.0 | 0.183777 | 0.183777 | 0.50023 | 0.0 | 0.0 | 5.0 | 0.0 | 5.0 | 1.0 | 0.183777 | 1.047364 | 0.99898 |
|
|
382
|
+
| 04.01. | 0.307728 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 9.0 | 1.190074 | 0.863587 | 0.0 | -1.047364 | 0.0 | 5.0 | 0.00005 | 0.0 | 0.0 | 0.0 | 0.0 | 0.543038 | 0.543038 | 1.230912 | 0.0 | 0.0 | 5.0 | 0.0 | 9.0 | 1.0 | 0.543038 | 1.190074 | 0.00005 |
|
|
383
|
+
| 05.01. | 0.459769 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 8.0 | 1.467216 | 0.647037 | 0.0 | -1.190074 | 0.0 | 4.879054 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.961082 | 0.961082 | 1.839074 | 0.0 | 0.0 | 4.879054 | 0.0 | 8.0 | 1.0 | 0.961082 | 1.467216 | 0.0 |
|
|
384
|
+
| 06.01. | 0.540735 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 5.0 | 1.81603 | 0.506135 | 0.0 | -1.467216 | 0.0 | 0.115599 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.251541 | 1.251541 | 2.162941 | 0.0 | 0.0 | 0.115599 | 0.0 | 5.0 | 1.0 | 1.251541 | 1.81603 | 0.0 |
|
|
385
|
+
| 07.01. | 0.575391 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 3.0 | 2.122354 | 0.564489 | 0.0 | -1.81603 | 0.0 | 0.004892 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.395548 | 1.395548 | 2.301566 | 0.0 | 0.0 | 0.004892 | 0.0 | 3.0 | 1.0 | 1.395548 | 2.122354 | 0.0 |
|
|
386
|
+
| 08.01. | 0.587199 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.0 | 2.320464 | 0.726806 | 0.0 | -2.122354 | 0.0 | 0.001654 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.453371 | 1.453371 | 2.348795 | 0.0 | 0.0 | 0.001654 | 0.0 | 2.0 | 1.0 | 1.453371 | 2.320464 | 0.0 |
|
|
387
|
+
| 09.01. | 0.577358 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 2.416284 | 0.867093 | 0.0 | -2.320464 | 0.0 | 0.004084 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.455585 | 1.455585 | 2.309432 | 0.0 | 0.0 | 0.004084 | 0.0 | 1.0 | 1.0 | 1.455585 | 2.416284 | 0.0 |
|
|
388
|
+
| 10.01. | 0.547008 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.438823 | 0.960699 | 0.0 | -2.416284 | 0.0 | 0.06562 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.405115 | 1.405115 | 2.18803 | 0.0 | 0.0 | 0.06562 | 0.0 | 0.0 | 1.0 | 1.405115 | 2.438823 | 0.0 |
|
|
389
|
+
| 11.01. | 0.518253 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.410309 | 1.033708 | 0.0 | -2.438823 | 0.0 | 0.787168 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.331251 | 1.331251 | 2.07301 | 0.0 | 0.0 | 0.787168 | 0.0 | 0.0 | 1.0 | 1.331251 | 2.410309 | 0.0 |
|
|
390
|
+
| 12.01. | 0.491009 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.351848 | 1.079058 | 0.0 | -2.410309 | 0.0 | 3.477848 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.26127 | 1.26127 | 1.964036 | 0.0 | 0.0 | 3.477848 | 0.0 | 0.0 | 1.0 | 1.26127 | 2.351848 | 0.0 |
|
|
391
|
+
| 13.01. | 0.465198 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.283389 | 1.090577 | 0.0 | -2.351848 | 0.0 | 4.803872 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.194968 | 1.194968 | 1.860791 | 0.0 | 0.0 | 4.803872 | 0.0 | 0.0 | 1.0 | 1.194968 | 2.283389 | 0.0 |
|
|
392
|
+
| 14.01. | 0.440743 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.215924 | 1.088421 | 0.0 | -2.283389 | 0.0 | 4.978521 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.132151 | 1.132151 | 1.762973 | 0.0 | 0.0 | 4.978521 | 0.0 | 0.0 | 1.0 | 1.132151 | 2.215924 | 0.0 |
|
|
393
|
+
| 15.01. | 0.417574 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.152005 | 1.083773 | 0.0 | -2.215924 | 0.0 | 4.997436 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.072636 | 1.072636 | 1.670297 | 0.0 | 0.0 | 4.997436 | 0.0 | 0.0 | 1.0 | 1.072636 | 2.152005 | 0.0 |
|
|
394
|
+
| 16.01. | 0.395623 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.091447 | 1.079369 | 0.0 | -2.152005 | 0.0 | 4.999659 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.01625 | 1.01625 | 1.582493 | 0.0 | 0.0 | 4.999659 | 0.0 | 0.0 | 1.0 | 1.01625 | 2.091447 | 0.0 |
|
|
395
|
+
| 17.01. | 0.374826 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2.034072 | 1.075197 | 0.0 | -2.091447 | 0.0 | 4.99995 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.962828 | 0.962828 | 1.499305 | 0.0 | 0.0 | 4.99995 | 0.0 | 0.0 | 1.0 | 0.962828 | 2.034072 | 0.0 |
|
|
396
|
+
| 18.01. | 0.355122 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.979713 | 1.071244 | 0.0 | -2.034072 | 0.0 | 4.999992 | 0.000001 | 0.0 | 0.0 | 0.0 | 0.0 | 0.912214 | 0.912214 | 1.42049 | 0.0 | 0.0 | 4.999992 | 0.0 | 0.0 | 1.0 | 0.912214 | 1.979713 | 0.000001 |
|
|
397
|
+
| 19.01. | 0.336454 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.928211 | 1.067499 | 0.0 | -1.979713 | 0.0 | 4.999999 | 0.000004 | 0.0 | 0.0 | 0.0 | 0.0 | 0.864261 | 0.864261 | 1.345818 | 0.0 | 0.0 | 4.999999 | 0.0 | 0.0 | 1.0 | 0.864261 | 1.928211 | 0.000004 |
|
|
398
|
+
| 20.01. | 0.318768 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1.879417 | 1.06395 | 0.0 | -1.928211 | 0.0 | 5.0 | 0.000018 | 0.0 | 0.0 | 0.0 | 0.0 | 0.818829 | 0.818829 | 1.275071 | 0.0 | 0.0 | 5.0 | 0.0 | 0.0 | 1.0 | 0.818829 | 1.879417 | 0.000018 |
|
|
399
|
+
"""
|
|
400
|
+
|
|
401
|
+
# import...
|
|
402
|
+
|
|
403
|
+
# ...from HydPy
|
|
404
|
+
from hydpy.auxs.anntools import ANN # pylint: disable=unused-import
|
|
405
|
+
from hydpy.auxs.ppolytools import Poly, PPoly # pylint: disable=unused-import
|
|
406
|
+
from hydpy.core import modeltools
|
|
407
|
+
from hydpy.interfaces import petinterfaces
|
|
408
|
+
from hydpy.interfaces import precipinterfaces
|
|
409
|
+
from hydpy.exe.modelimports import *
|
|
410
|
+
|
|
411
|
+
# ...from dam
|
|
412
|
+
from hydpy.models.dam import dam_model
|
|
413
|
+
from hydpy.models.dam import dam_solver
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
class Model(dam_model.Main_PrecipModel_V2, dam_model.Main_PEModel_V1):
|
|
417
|
+
"""|dam_v005.DOCNAME.complete|."""
|
|
418
|
+
|
|
419
|
+
DOCNAME = modeltools.DocName(short="Dam-V5", description="dam model, version 5")
|
|
420
|
+
__HYDPY_ROOTMODEL__ = True
|
|
421
|
+
|
|
422
|
+
SOLVERPARAMETERS = (
|
|
423
|
+
dam_solver.AbsErrorMax,
|
|
424
|
+
dam_solver.RelErrorMax,
|
|
425
|
+
dam_solver.RelDTMin,
|
|
426
|
+
dam_solver.RelDTMax,
|
|
427
|
+
)
|
|
428
|
+
SOLVERSEQUENCES = ()
|
|
429
|
+
INLET_METHODS = (
|
|
430
|
+
dam_model.Calc_Precipitation_V1,
|
|
431
|
+
dam_model.Calc_PotentialEvaporation_V1,
|
|
432
|
+
dam_model.Calc_AdjustedEvaporation_V1,
|
|
433
|
+
dam_model.Pic_Inflow_V2,
|
|
434
|
+
dam_model.Calc_NaturalRemoteDischarge_V1,
|
|
435
|
+
dam_model.Calc_RemoteDemand_V1,
|
|
436
|
+
dam_model.Calc_RemoteFailure_V1,
|
|
437
|
+
dam_model.Calc_RequiredRemoteRelease_V1,
|
|
438
|
+
dam_model.Calc_RequiredRelease_V1,
|
|
439
|
+
dam_model.Calc_TargetedRelease_V1,
|
|
440
|
+
)
|
|
441
|
+
RECEIVER_METHODS = (
|
|
442
|
+
dam_model.Pic_TotalRemoteDischarge_V1,
|
|
443
|
+
dam_model.Update_LoggedTotalRemoteDischarge_V1,
|
|
444
|
+
)
|
|
445
|
+
ADD_METHODS = ()
|
|
446
|
+
PART_ODE_METHODS = (
|
|
447
|
+
dam_model.Calc_AdjustedPrecipitation_V1,
|
|
448
|
+
dam_model.Pic_Inflow_V2,
|
|
449
|
+
dam_model.Calc_WaterLevel_V1,
|
|
450
|
+
dam_model.Calc_ActualEvaporation_V1,
|
|
451
|
+
dam_model.Calc_ActualRelease_V1,
|
|
452
|
+
dam_model.Calc_FloodDischarge_V1,
|
|
453
|
+
dam_model.Calc_Outflow_V1,
|
|
454
|
+
)
|
|
455
|
+
FULL_ODE_METHODS = (dam_model.Update_WaterVolume_V1,)
|
|
456
|
+
OUTLET_METHODS = (
|
|
457
|
+
dam_model.Calc_WaterLevel_V1,
|
|
458
|
+
dam_model.Pass_Outflow_V1,
|
|
459
|
+
dam_model.Update_LoggedOutflow_V1,
|
|
460
|
+
)
|
|
461
|
+
SENDER_METHODS = (
|
|
462
|
+
dam_model.Calc_MissingRemoteRelease_V1,
|
|
463
|
+
dam_model.Pass_MissingRemoteRelease_V1,
|
|
464
|
+
dam_model.Calc_AllowedRemoteRelief_V2,
|
|
465
|
+
dam_model.Pass_AllowedRemoteRelief_V1,
|
|
466
|
+
dam_model.Calc_RequiredRemoteSupply_V1,
|
|
467
|
+
dam_model.Pass_RequiredRemoteSupply_V1,
|
|
468
|
+
)
|
|
469
|
+
SUBMODELINTERFACES = (precipinterfaces.PrecipModel_V2, petinterfaces.PETModel_V1)
|
|
470
|
+
SUBMODELS = ()
|
|
471
|
+
|
|
472
|
+
precipmodel = modeltools.SubmodelProperty(
|
|
473
|
+
precipinterfaces.PrecipModel_V2, optional=True
|
|
474
|
+
)
|
|
475
|
+
pemodel = modeltools.SubmodelProperty(petinterfaces.PETModel_V1, optional=True)
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
tester = Tester()
|
|
479
|
+
cythonizer = Cythonizer()
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The Dummy model is a placeholder model. Its inputs are directly handed to the
|
|
3
|
+
output sequence and therefore can be used to (temporarily) delete a model
|
|
4
|
+
component while maintaining the network structure.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
# import...
|
|
8
|
+
# ...from HydPy
|
|
9
|
+
from hydpy.exe.modelimports import *
|
|
10
|
+
|
|
11
|
+
# ...from dummy
|
|
12
|
+
from hydpy.models.dummy.dummy_model import Model
|
|
13
|
+
|
|
14
|
+
tester = Tester()
|
|
15
|
+
cythonizer = Cythonizer()
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# pylint: disable=missing-module-docstring
|
|
2
|
+
|
|
3
|
+
# import...
|
|
4
|
+
# ...from HydPy
|
|
5
|
+
from hydpy.core import exceptiontools
|
|
6
|
+
from hydpy.core import parametertools
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class NmbZones(parametertools.Parameter):
|
|
10
|
+
"""The number of separately modelled zones [-]."""
|
|
11
|
+
|
|
12
|
+
NDIM, TYPE, TIME, SPAN = 0, int, None, (0, None)
|
|
13
|
+
|
|
14
|
+
def __call__(self, *args, **kwargs) -> None:
|
|
15
|
+
nmbhru_old = exceptiontools.getattr_(self, "value", None)
|
|
16
|
+
super().__call__(*args, **kwargs)
|
|
17
|
+
nmbhru_new = self.value
|
|
18
|
+
if nmbhru_new != nmbhru_old:
|
|
19
|
+
for subseqs in self.subpars.pars.model.sequences:
|
|
20
|
+
for seq in subseqs:
|
|
21
|
+
if seq.NDIM == 1:
|
|
22
|
+
seq.shape = nmbhru_new
|