pydra-core 0.0.1__py2.py3-none-any.whl → 0.0.2__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pydra_core/__init__.py +32 -32
- pydra_core/common/common.py +98 -98
- pydra_core/common/enum.py +63 -63
- pydra_core/common/interpolate.py +345 -345
- pydra_core/common/probability.py +293 -293
- pydra_core/core/calculation.py +51 -51
- pydra_core/core/datamodels/frequency_line.py +60 -60
- pydra_core/core/exceedance_frequency_line.py +224 -224
- pydra_core/core/exceedance_frequency_line_experimental.py +163 -163
- pydra_core/core/hbn.py +226 -226
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_2017.txt +36 -36
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_2017_metOnzHeid.txt +45 -45
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2015_metOnzHeid_v02.txt +50 -50
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2015_v02.txt +42 -42
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2050_metOnzHeid_v02.txt +56 -56
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2050_v02.txt +48 -48
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2100_metOnzHeid_v02.txt +56 -56
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_G_2100_v02.txt +48 -48
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2015_metOnzHeid_v02.txt +50 -50
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2015_v02.txt +42 -42
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2050_metOnzHeid_v02.txt +56 -56
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2050_v02.txt +48 -48
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2100_metOnzHeid_v02.txt +51 -51
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_OI2014_W_2100_v02.txt +44 -44
- pydra_core/data/statistics/Afvoer/Borgharen/Ovkans_Borgharen_piekafvoer_Ref.txt +27 -27
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_2017.txt +30 -30
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_2017_metOnzHeid.txt +32 -32
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2015.txt +44 -44
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2015_metOnzHeid.txt +33 -33
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2050.txt +44 -44
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2050_metOnzHeid.txt +33 -33
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2100.txt +44 -44
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_G_2100_metOnzHeid.txt +38 -38
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2015.txt +44 -44
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2015_metOnzHeid.txt +33 -33
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2050.txt +44 -44
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2050_metOnzHeid.txt +33 -33
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2100.txt +44 -44
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_OI2014_W_2100_metOnzHeid.txt +33 -33
- pydra_core/data/statistics/Afvoer/Dalfsen/Ovkans_Dalfsen_piekafvoer_Ref.txt +13 -13
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_2017.txt +47 -47
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_2017_metOnzHeid.txt +47 -47
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2015.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2015_metOnzHeid.txt +58 -58
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2050.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2050_metOnzHeid.txt +58 -58
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2100.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_G_2100_metOnzHeid.txt +58 -58
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2015.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2015_metOnzHeid.txt +58 -58
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2050.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2050_metOnzHeid.txt +58 -58
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2100.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_OI2014_W_2100_metOnzHeid.txt +58 -58
- pydra_core/data/statistics/Afvoer/Lith/Ovkans_Lith_piekafvoer_Ref.txt +20 -20
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_2017.txt +33 -33
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_2017_metOnzHeid.txt +59 -59
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015_BenedenRijn.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015_metOnzHeid.txt +62 -62
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2015_metOnzHeid_BenedenRijn.txt +65 -65
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050_BenedenRijn.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050_metOnzHeid.txt +62 -62
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2050_metOnzHeid_BenedenRijn.txt +64 -64
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100_BenedenRijn.txt +49 -49
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100_metOnzHeid.txt +62 -62
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_G_2100_metOnzHeid_BenedenRijn.txt +64 -64
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015.txt +50 -50
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015_BenedenRijn.txt +50 -50
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015_metOnzHeid.txt +62 -62
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2015_metOnzHeid_BenedenRijn.txt +64 -64
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050.txt +50 -50
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050_BenedenRijn.txt +50 -50
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050_metOnzHeid.txt +62 -62
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2050_metOnzHeid_BenedenRijn.txt +64 -64
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100.txt +50 -50
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100_BenedenRijn.txt +50 -50
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100_metOnzHeid.txt +62 -62
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_OI2014_W_2100_metOnzHeid_BenedenRijn.txt +65 -65
- pydra_core/data/statistics/Afvoer/Lobith/Ovkans_Lobith_piekafvoer_Ref.txt +22 -22
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_2017.txt +55 -55
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_2017_metOnzHeid.txt +55 -55
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2015.txt +46 -46
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2015_metOnzHeid.txt +64 -64
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2050.txt +46 -46
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2050_metOnzHeid.txt +64 -64
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2100.txt +46 -46
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_G_2100_metOnzHeid.txt +64 -64
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2015.txt +47 -47
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2015_metOnzHeid.txt +64 -64
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2050.txt +47 -47
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2050_metOnzHeid.txt +64 -64
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2100.txt +47 -47
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_OI2014_W_2100_metOnzHeid.txt +64 -64
- pydra_core/data/statistics/Afvoer/Olst/Ovkans_Olst_piekafvoer_Ref.txt +14 -14
- pydra_core/data/statistics/Golfvorm/Borgharen/Golfvormen_Borgharen.txt +76 -76
- pydra_core/data/statistics/Golfvorm/Dalfsen/Golfvormen_Dalfsen.txt +83 -83
- pydra_core/data/statistics/Golfvorm/Grevelingenmeer/Golfvormen_Grevelingenmeer.txt +33 -33
- pydra_core/data/statistics/Golfvorm/IJsselmeer/Golfvormen_IJsselmeer.txt +83 -83
- pydra_core/data/statistics/Golfvorm/Lith/Golfvormen_Lith.txt +76 -76
- pydra_core/data/statistics/Golfvorm/Lobith/Golfvormen_Lobith.txt +76 -76
- pydra_core/data/statistics/Golfvorm/Markermeer/Golfvormen_Markermeer.txt +139 -139
- pydra_core/data/statistics/Golfvorm/Olst/Golfvormen_Olst.txt +83 -83
- pydra_core/data/statistics/Golfvorm/Veerse Meer/Golfvormen_Veersemeer.txt +53 -53
- pydra_core/data/statistics/Golfvorm/Veluwerandmeer/Golfvormen_Veluwerandmeer.txt +139 -139
- pydra_core/data/statistics/Golfvorm/Volkerak-Zoommeer/Golfvormen_Volkerakzoommeer.txt +73 -73
- pydra_core/data/statistics/Meerpeil/Grevelingenmeer/Ovkans_Grevelingenmeer_piekmeerpeil_2017.txt +12 -12
- pydra_core/data/statistics/Meerpeil/Grevelingenmeer/Ovkans_Grevelingenmeer_piekmeerpeil_2017_metOnzHeid.txt +24 -24
- pydra_core/data/statistics/Meerpeil/Grevelingenmeer/Ovkans_Grevelingenmeer_piekmeerpeil_v01.txt +12 -12
- pydra_core/data/statistics/Meerpeil/IJsselmeer/Ovkans_IJsselmeer_piekmeerpeil_2017.txt +25 -25
- pydra_core/data/statistics/Meerpeil/IJsselmeer/Ovkans_IJsselmeer_piekmeerpeil_2017_metOnzHeid.txt +39 -39
- pydra_core/data/statistics/Meerpeil/IJsselmeer/Ovkans_IJsselmeer_piekmeerpeil_v01.txt +14 -14
- pydra_core/data/statistics/Meerpeil/Markermeer/Ovkans_Markermeer_piekmeerpeil_2017.txt +18 -18
- pydra_core/data/statistics/Meerpeil/Markermeer/Ovkans_Markermeer_piekmeerpeil_2017_metOnzHeid.txt +37 -37
- pydra_core/data/statistics/Meerpeil/Markermeer/Ovkans_Markermeer_piekmeerpeil_v01.txt +10 -10
- pydra_core/data/statistics/Meerpeil/Veerse Meer/Ovkans_Veersemeer_piekmeerpeil_excl_peilverhoging.txt +13 -13
- pydra_core/data/statistics/Meerpeil/Veerse Meer/Ovkans_Veersemeer_piekmeerpeil_v01.txt +15 -15
- pydra_core/data/statistics/Meerpeil/Veluwerandmeer/Ovkans_Veluwerandmeer_piekmeerpeil_2017.txt +13 -13
- pydra_core/data/statistics/Meerpeil/Veluwerandmeer/Ovkans_Veluwerandmeer_piekmeerpeil_2017_metOnzHeid.txt +36 -36
- pydra_core/data/statistics/Meerpeil/Veluwerandmeer/Ovkans_Veluwerandmeer_piekmeerpeil_v01.txt +13 -13
- pydra_core/data/statistics/Meerpeil/Volkerak-Zoommeer/Ovkans_VZM_piekmeerpeil_BER-VZM.txt +17 -17
- pydra_core/data/statistics/Meerpeil/Volkerak-Zoommeer/Ovkans_VZM_piekmeerpeil_BER-VZM_metOnzHeid.txt +42 -42
- pydra_core/data/statistics/Restant/Oosterschelde/BesliskansenOSKering.txt +524 -524
- pydra_core/data/statistics/Restant/Oosterschelde/KansenFaseverschil_2023.txt +7 -7
- pydra_core/data/statistics/Restant/Oosterschelde/KansenFaseverschil_OS.txt +13 -13
- pydra_core/data/statistics/Restant/Oosterschelde/KansenStormduur_OS.txt +14 -14
- pydra_core/data/statistics/Restant/Oosterschelde/KansenStormduur_OS_40_60_80uur_2023.txt +16 -16
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2008.txt +23 -23
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2013.txt +18 -18
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2017.txt +18 -18
- pydra_core/data/statistics/Restant/Oosterschelde/ScenariokansenOSKering_2023.txt +13 -13
- pydra_core/data/statistics/Restant/Up2U/Up2U10.dat +59 -59
- pydra_core/data/statistics/Restant/Up2U/Up2Up.dat +59 -59
- pydra_core/data/statistics/Restant/Up2U/Up2Ustar.dat +59 -59
- pydra_core/data/statistics/Restant/hulpdijken.txt +59 -59
- pydra_core/data/statistics/Restant/hulpgolfhoogtes.txt +23 -23
- pydra_core/data/statistics/Restant/hulpgolfperiodes.txt +38 -38
- pydra_core/data/statistics/Restant/kansstormduur.txt +8 -8
- pydra_core/data/statistics/Restant/pwind_west.txt +33 -33
- pydra_core/data/statistics/Restant/pwind_west_met_Volkerfactor.txt +33 -33
- pydra_core/data/statistics/Restant/pwind_west_zonder_Volkerfactor.txt +33 -33
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Midden/VS_sigmafunctie_Kust_Midden.txt +18 -18
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Midden/VS_sigmafunctie_Kust_Midden_2017.txt +22 -22
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Noord/VS_sigmafunctie_Kust_Noord.txt +18 -18
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Noord/VS_sigmafunctie_Kust_Noord_2017.txt +22 -22
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Zuid/VS_sigmafunctie_Kust_Zuid.txt +18 -18
- pydra_core/data/statistics/Sigmafunctie/Hollandse Kust Zuid/VS_sigmafunctie_Kust_Zuid_2017.txt +22 -22
- pydra_core/data/statistics/Sigmafunctie/Oosterschelde/VS_sigmafunctie_OS.txt +21 -21
- pydra_core/data/statistics/Sigmafunctie/Oosterschelde/VS_sigmafunctie_OS_16sectoren_2023.txt +23 -23
- pydra_core/data/statistics/Sigmafunctie/Oosterschelde/VS_sigmafunctie_OS_2017.txt +21 -21
- pydra_core/data/statistics/Sigmafunctie/Waddenzee Oost/VS_sigmafunctie_WZ_oost.txt +18 -18
- pydra_core/data/statistics/Sigmafunctie/Waddenzee Oost/VS_sigmafunctie_WZ_oost_2017.txt +22 -22
- pydra_core/data/statistics/Sigmafunctie/Waddenzee West/VS_sigmafunctie_WZ_west.txt +18 -18
- pydra_core/data/statistics/Sigmafunctie/Waddenzee West/VS_sigmafunctie_WZ_west_2017.txt +22 -22
- pydra_core/data/statistics/Sigmafunctie/Westerschelde/VS_sigmafunctie_WS.txt +18 -18
- pydra_core/data/statistics/Sigmafunctie/Westerschelde/VS_sigmafunctie_WS_2017.txt +22 -22
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Europoortkering Maas 2017.csv +630 -630
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Europoortkering Rijn 2017.csv +630 -630
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Hollandsche IJsselkering.csv +757 -757
- pydra_core/data/statistics/Sluitpeilen/Sluitfunctie Oosterscheldekering 2017.csv +55080 -55080
- pydra_core/data/statistics/Topduur/Borgharen/Topduur_Borgharen_2017.txt +18 -18
- pydra_core/data/statistics/Topduur/Borgharen/Topduur_Borgharen_v00.txt +14 -14
- pydra_core/data/statistics/Topduur/Dalfsen/Topduur_Dalfsen_2017.txt +19 -19
- pydra_core/data/statistics/Topduur/Dalfsen/Topduur_Dalfsen_v01.txt +15 -15
- pydra_core/data/statistics/Topduur/Grevelingenmeer/Topduur_Grevelingenmeer_2017.txt +13 -13
- pydra_core/data/statistics/Topduur/Grevelingenmeer/Topduur_Grevelingenmeer_v01.txt +13 -13
- pydra_core/data/statistics/Topduur/IJsselmeer/Topduur_IJsselmeer_2017.txt +19 -19
- pydra_core/data/statistics/Topduur/IJsselmeer/Topduur_IJsselmeer_v01.txt +14 -14
- pydra_core/data/statistics/Topduur/Lith/Topduur_Lith_2017.txt +18 -18
- pydra_core/data/statistics/Topduur/Lith/Topduur_Lith_v01.txt +17 -17
- pydra_core/data/statistics/Topduur/Lobith/Topduur_Lobith_2017.txt +18 -18
- pydra_core/data/statistics/Topduur/Lobith/Topduur_Lobith_v01.txt +16 -16
- pydra_core/data/statistics/Topduur/Markermeer/Topduur_Markermeer_2017.txt +19 -19
- pydra_core/data/statistics/Topduur/Markermeer/Topduur_Markermeer_v01.txt +11 -11
- pydra_core/data/statistics/Topduur/Olst/Topduur_Olst_2017.txt +19 -19
- pydra_core/data/statistics/Topduur/Olst/Topduur_Olst_v01.txt +15 -15
- pydra_core/data/statistics/Topduur/Veerse Meer/Topduur_Veersemeer_excl_peilverhoging.txt +12 -12
- pydra_core/data/statistics/Topduur/Veerse Meer/Topduur_Veersemeer_v01.txt +15 -15
- pydra_core/data/statistics/Topduur/Veluwerandmeer/Topduur_Veluwerandmeer_2017.txt +11 -11
- pydra_core/data/statistics/Topduur/Veluwerandmeer/Topduur_Veluwerandmeer_v01.txt +11 -11
- pydra_core/data/statistics/Topduur/Volkerak-Zoommeer/Topduur_Volkerakzoommeer_BER-VZM.txt +17 -17
- pydra_core/data/statistics/Windrichting/Deelen/Richtingskansen_Deelen_2017.txt +27 -27
- pydra_core/data/statistics/Windrichting/Hollandse Kust/KansenWindrichting_Kust.txt +16 -16
- pydra_core/data/statistics/Windrichting/Hollandse Kust/KansenWindrichting_Kust_2017.txt +23 -23
- pydra_core/data/statistics/Windrichting/Oosterschelde/KansenWindrichting_16sectoren_OS_2023.txt +30 -30
- pydra_core/data/statistics/Windrichting/Oosterschelde/KansenWindrichting_OS.txt +19 -19
- pydra_core/data/statistics/Windrichting/Oosterschelde/KansenWindrichting_OS_2017.txt +23 -23
- pydra_core/data/statistics/Windrichting/Schiphol/Richtingskansen_Schiphol_12sectoren.txt +19 -19
- pydra_core/data/statistics/Windrichting/Schiphol/Richtingskansen_Schiphol_12sectoren_2017.txt +19 -19
- pydra_core/data/statistics/Windrichting/Schiphol/Richtingskansen_Schiphol_2017.txt +27 -27
- pydra_core/data/statistics/Windrichting/Schiphol/kanswindrichting_v01.txt +28 -28
- pydra_core/data/statistics/Windrichting/Waddenzee/KansenWindrichting_WZ.txt +16 -16
- pydra_core/data/statistics/Windrichting/Waddenzee/KansenWindrichting_WZ_2017.txt +23 -23
- pydra_core/data/statistics/Windrichting/Westerschelde/KansenWindrichting_WS.txt +16 -16
- pydra_core/data/statistics/Windrichting/Westerschelde/KansenWindrichting_WS_2017.txt +23 -23
- pydra_core/data/statistics/Windsnelheid/De Kooy/OvkansWindsnelheid_Texel.txt +69 -69
- pydra_core/data/statistics/Windsnelheid/De Kooy/Ovkanswind_de Kooy_2017.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/De Kooy/Ovkanswind_de Kooy_2017_metOnzHeid.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/Deelen/Ovkanswind_Deelen_2017.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Deelen/Ovkanswind_Deelen_2017_metOnzHeid.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Hoek van Holland/OvkansWindsnelheid_Hoek van Holland.txt +69 -69
- pydra_core/data/statistics/Windsnelheid/Hoek van Holland/Ovkanswind_Hoek van Holland_2017.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/Hoek van Holland/Ovkanswind_Hoek van Holland_2017_metOnzHeid.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/IJmuiden/OvkansWindsnelheid_IJmuiden.txt +69 -69
- pydra_core/data/statistics/Windsnelheid/IJmuiden/Ovkanswind_IJmuiden_2017.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/IJmuiden/Ovkanswind_IJmuiden_2017_metOnzHeid.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren.txt +50 -50
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017_metOnzHeid.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017_metWindDrag.txt +96 -96
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_12sectoren_2017_metWindDrag_metOnzHeid.txt +96 -96
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_16sectoren_2017_metWindDrag.txt +96 -96
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_16sectoren_2017_metWindDrag_metOnzHeid.txt +96 -96
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_2017.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_2017_metOnzHeid.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_met_Volkerfactor_2017.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_Schiphol_met_Volkerfactor_2017_metOnzHeid.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol.txt +57 -57
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol_10%.txt +63 -63
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol_5%.txt +61 -61
- pydra_core/data/statistics/Windsnelheid/Schiphol/Ovkanswind_schiphol_B_met volker.txt +59 -59
- pydra_core/data/statistics/Windsnelheid/Vlissingen/OvkansWindsnelheid_OS.txt +66 -66
- pydra_core/data/statistics/Windsnelheid/Vlissingen/OvkansWindsnelheid_Vlissingen.txt +69 -69
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_16sectoren_2023.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_16sectoren_2023_metOnzHeid.txt +90 -90
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017_metOnzHeid.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017_metWindDrag.txt +96 -96
- pydra_core/data/statistics/Windsnelheid/Vlissingen/Ovkanswind_Vlissingen_2017_metWindDrag_metOnzHeid.txt +96 -96
- pydra_core/data/statistics/Windsnelheid/West-Terschelling/OvkansWindsnelheid_West-Tersch.txt +69 -69
- pydra_core/data/statistics/Windsnelheid/West-Terschelling/Ovkanswind_West Terschelling_2017.txt +91 -91
- pydra_core/data/statistics/Windsnelheid/West-Terschelling/Ovkanswind_West Terschelling_2017_metOnzHeid.txt +91 -91
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar1985_2017.txt +81 -81
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar1985_2017_metOnzHeid.txt +81 -81
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar2017.txt +81 -81
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/CondPovDelfzijl_12u_zichtjaar2017_metOnzHeid.txt +81 -81
- pydra_core/data/statistics/Zeewaterstand/Delfzijl/OvkansZee_Delfzijl.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar1985_2017.txt +89 -89
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar1985_2017_metOnzHeid.txt +89 -89
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar2017.txt +88 -88
- pydra_core/data/statistics/Zeewaterstand/Den Helder/CondPovDenHelder_12u_zichtjaar2017_metOnzHeid.txt +88 -88
- pydra_core/data/statistics/Zeewaterstand/Den Helder/OvkansZee_Den Helder.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar1985_2017.txt +88 -88
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar1985_2017_metOnzHeid.txt +88 -88
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar2017.txt +87 -87
- pydra_core/data/statistics/Zeewaterstand/Den Oever/CondPovDenOeverBuiten_12u_zichtjaar2017_metOnzHeid.txt +87 -87
- pydra_core/data/statistics/Zeewaterstand/Den Oever/OvkansZee_Den Oever.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar1985_2017.txt +71 -71
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar1985_2017_metOnzHeid.txt +71 -71
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar2017.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Hansweert/CondPovHansweert_12u_zichtjaar2017_metOnzHeid.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Hansweert/OvkansZee_Hansweert.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar1985_2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar1985_2017_metOnzHeid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar2017.txt +84 -84
- pydra_core/data/statistics/Zeewaterstand/Harlingen/CondPovHarlingen_12u_zichtjaar2017_metOnzHeid.txt +84 -84
- pydra_core/data/statistics/Zeewaterstand/Harlingen/OvkansZee_Harlingen.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar1985_2017.txt +84 -84
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar1985_2017_metOnzHeid.txt +84 -84
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar2017.txt +83 -83
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/CondPovHoekvanHolland_12u_zichtjaar2017_metOnzHeid.txt +83 -83
- pydra_core/data/statistics/Zeewaterstand/Hoek van Holland/OvkansZee_Hoek van Holland.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar1985_2017.txt +86 -86
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar1985_2017_metOnzHeid.txt +86 -86
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/CondPovHuibertgat_12u_zichtjaar2017_metOnzHeid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Huibertgat/OvkansZee_Huibertgat.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar1985_2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar1985_2017_metOnzHeid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/CondPovIJmuiden_12u_zichtjaar2017_metOnzHeid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden/OvkansZee_IJmuiden.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar1985_2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar1985_2017_metOnzHeid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/CondPovIJmuiden-Additional_12u_zichtjaar2017_metOnzHeid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/IJmuiden virtueel/OvkansZee_IJmuiden_virtueel.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar1985_2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar1985_2017_metOnzHeid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar2017.txt +84 -84
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/CondPovLauwersoog_12u_zichtjaar2017_metOnzHeid.txt +84 -84
- pydra_core/data/statistics/Zeewaterstand/Lauwersoog/OvkansZee_Lauwersoog.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar1985_2011.txt +88 -88
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar1985_2017.txt +88 -88
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar1985_2017_metOnzheid.txt +92 -92
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar2017.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Maasmond/CondPovMaasmond_12u_zichtjaar2017_metOnzheid.txt +85 -85
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar1985_2017.txt +79 -79
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar1985_2017_metOnzHeid.txt +79 -79
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar2017.txt +79 -79
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_12u_zichtjaar2017_metOnzHeid.txt +79 -79
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_16sectoren_12u_2023.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/CondPovOS11_16sectoren_12u_2023_metOnzHeid.txt +73 -73
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/OvkansZee_OS11.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Oosterschelde/OvkansZeewaterstand_OS.txt +71 -71
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar1985_2017.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar1985_2017_metOnzHeid.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar2017.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/CondPovVlissingen_12u_zichtjaar2017_metOnzHeid.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen/OvkansZee_Vlissingen.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar1985_2017.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar1985_2017_metOnzHeid.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar2017.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/CondPovVlissingen-Additional_12u_zichtjaar2017_metOnzHeid.txt +74 -74
- pydra_core/data/statistics/Zeewaterstand/Vlissingen virtueel/OvkansZee_Vlissingen_virtueel.txt +70 -70
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar1985_2017.txt +87 -87
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar1985_2017_metOnzHeid.txt +87 -87
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar2017.txt +86 -86
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/CondPovWestTerschelling_12u_zichtjaar2017_metOnzHeid.txt +86 -86
- pydra_core/data/statistics/Zeewaterstand/West-Terschelling/OvkansZee_West-Terschelling.txt +70 -70
- pydra_core/hrdatabase/hrdatabase.py +177 -177
- pydra_core/io/database_hr.py +598 -598
- pydra_core/io/database_settings.py +183 -183
- pydra_core/io/file_hydranl.py +92 -92
- pydra_core/location/location.py +115 -115
- pydra_core/location/model/base_model.py +270 -270
- pydra_core/location/model/loading/loading.py +368 -368
- pydra_core/location/model/loading/loading_factory.py +89 -89
- pydra_core/location/model/loading/loading_model/loading_model.py +324 -324
- pydra_core/location/model/loading/other_systems/loading_wave_overtopping.py +122 -122
- pydra_core/location/model/loading/water_systems/loading_coast.py +54 -54
- pydra_core/location/model/loading/water_systems/loading_eastern_scheldt.py +169 -169
- pydra_core/location/model/loading/water_systems/loading_ijssel_vechtdelta.py +55 -55
- pydra_core/location/model/loading/water_systems/loading_lake.py +55 -55
- pydra_core/location/model/loading/water_systems/loading_lower_rivier.py +68 -68
- pydra_core/location/model/loading/water_systems/loading_upper_river.py +55 -55
- pydra_core/location/model/statistics/other_systems/statistics_wave_overtopping.py +72 -72
- pydra_core/location/model/statistics/statistics.py +171 -171
- pydra_core/location/model/statistics/statistics_factory.py +89 -89
- pydra_core/location/model/statistics/stochastics/barrier/barrier.py +43 -43
- pydra_core/location/model/statistics/stochastics/barrier/barrier_easternscheldt.py +147 -147
- pydra_core/location/model/statistics/stochastics/barrier/barrier_europoort.py +209 -209
- pydra_core/location/model/statistics/stochastics/barrier/barrier_ramspol.py +41 -41
- pydra_core/location/model/statistics/stochastics/barrier/no_barrier.py +21 -21
- pydra_core/location/model/statistics/stochastics/discharge.py +108 -108
- pydra_core/location/model/statistics/stochastics/discrete_probability.py +55 -55
- pydra_core/location/model/statistics/stochastics/lake_level.py +158 -158
- pydra_core/location/model/statistics/stochastics/model_uncertainty.py +358 -358
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level.py +53 -53
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level_lower_river.py +93 -93
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level_point.py +65 -65
- pydra_core/location/model/statistics/stochastics/sea_level/sea_level_triangular.py +158 -158
- pydra_core/location/model/statistics/stochastics/sigma_function.py +24 -24
- pydra_core/location/model/statistics/stochastics/wave_shape.py +624 -624
- pydra_core/location/model/statistics/stochastics/wind_speed.py +196 -196
- pydra_core/location/model/statistics/water_systems/statistics_coast.py +153 -153
- pydra_core/location/model/statistics/water_systems/statistics_eastern_scheldt.py +177 -177
- pydra_core/location/model/statistics/water_systems/statistics_ijssel_vechtdelta.py +229 -229
- pydra_core/location/model/statistics/water_systems/statistics_lake.py +86 -86
- pydra_core/location/model/statistics/water_systems/statistics_lower_river.py +321 -321
- pydra_core/location/model/statistics/water_systems/statistics_upper_river.py +86 -86
- pydra_core/location/model/water_system.py +249 -249
- pydra_core/location/model/wave_overtopping.py +25 -25
- pydra_core/location/profile/foreland.py +246 -246
- pydra_core/location/profile/lib/README.MD +10 -10
- pydra_core/location/profile/profile.py +971 -971
- pydra_core/location/profile/profile_loading.py +473 -473
- pydra_core/location/settings/settings.py +387 -387
- {pydra_core-0.0.1.dist-info → pydra_core-0.0.2.dist-info}/METADATA +18 -3
- pydra_core-0.0.2.dist-info/RECORD +389 -0
- pydra_core-0.0.1.dist-info/RECORD +0 -389
- {pydra_core-0.0.1.dist-info → pydra_core-0.0.2.dist-info}/WHEEL +0 -0
@@ -1,108 +1,108 @@
|
|
1
|
-
import numpy as np
|
2
|
-
|
3
|
-
from .wave_shape import WaveShape
|
4
|
-
from ....settings.settings import Settings
|
5
|
-
from .....common.enum import WaveShapeType
|
6
|
-
from .....common.interpolate import Interpolate
|
7
|
-
from .....io.file_hydranl import FileHydraNL
|
8
|
-
|
9
|
-
|
10
|
-
class Discharge:
|
11
|
-
"""
|
12
|
-
Class to describe the discharge statistics.
|
13
|
-
"""
|
14
|
-
|
15
|
-
def __init__(self, settings: Settings):
|
16
|
-
"""
|
17
|
-
Constructor for discharge statistics
|
18
|
-
|
19
|
-
Parameters
|
20
|
-
----------
|
21
|
-
settings : Settings
|
22
|
-
The Settings object
|
23
|
-
"""
|
24
|
-
# Read exceedance probability peak discharge
|
25
|
-
qpeak, epqeak = FileHydraNL.read_file_2columns(settings.discharge_probability)
|
26
|
-
|
27
|
-
# Create grid for peak discharges
|
28
|
-
self.qpeak = np.r_[
|
29
|
-
np.arange(settings.q_min, settings.q_max, settings.q_step), settings.q_max
|
30
|
-
]
|
31
|
-
self.nqpeak = len(self.qpeak)
|
32
|
-
|
33
|
-
# Inter/extrapolate the exceedance probability of the discharge
|
34
|
-
self.epqpeak = np.exp(
|
35
|
-
Interpolate.inextrp1d(x=self.qpeak, xp=qpeak, fp=np.log(epqeak))
|
36
|
-
)
|
37
|
-
|
38
|
-
# Transformatie van de tabel met OVERschrijdingskansen naar exponentiële ruimte
|
39
|
-
# Zie ook vgl. 4.5 van [Geerse, 2003], merk op dat het daar ONDERschrijdingskansen betreft#
|
40
|
-
self.eqpeak_exp = -np.log(self.epqpeak)
|
41
|
-
|
42
|
-
# Init the wave forms
|
43
|
-
self.wave_shape = WaveShape(settings, type=WaveShapeType.DISCHARGE)
|
44
|
-
self.wave_shape.initialise_wave_shapes(self.qpeak)
|
45
|
-
|
46
|
-
# Create grid with blok discharges
|
47
|
-
if settings.q_min < np.min(self.qpeak):
|
48
|
-
step = self.qpeak[1] - self.qpeak[0]
|
49
|
-
self.qblok = np.r_[
|
50
|
-
np.arange(settings.q_min, np.min(self.qpeak), step), self.qpiek
|
51
|
-
]
|
52
|
-
elif settings.q_min > np.min(self.qpeak):
|
53
|
-
raise ValueError("[ERROR] Q_min is larger than the lowest Q_peak.")
|
54
|
-
else:
|
55
|
-
self.qblok = self.qpeak
|
56
|
-
self.nqblok = len(self.qblok)
|
57
|
-
|
58
|
-
# Calculate the instantaneous exceedance probability
|
59
|
-
inst_epq = self.wave_shape.instantaneous_exceedance_probability(
|
60
|
-
self.epqpeak, self.qblok
|
61
|
-
)
|
62
|
-
|
63
|
-
# Make sure the exceedance probability is not larger than 1 or smaller than 0
|
64
|
-
self.upqblok = np.clip(1.0 - inst_epq, 0.0, 1.0)
|
65
|
-
|
66
|
-
def __len__(self):
|
67
|
-
"""
|
68
|
-
Return the number of discharge discretisations.
|
69
|
-
|
70
|
-
Returns
|
71
|
-
-------
|
72
|
-
int
|
73
|
-
Number of discretisations
|
74
|
-
"""
|
75
|
-
return self.nqblok
|
76
|
-
|
77
|
-
def get_discretisation(self) -> np.ndarray:
|
78
|
-
"""
|
79
|
-
Return the discharge discretisation.
|
80
|
-
|
81
|
-
Returns
|
82
|
-
-------
|
83
|
-
np.ndarray
|
84
|
-
1D array with discretisation
|
85
|
-
"""
|
86
|
-
return self.qblok
|
87
|
-
|
88
|
-
def get_exceedance_probability(self) -> np.ndarray:
|
89
|
-
"""
|
90
|
-
Return exceedance probility of the discharge
|
91
|
-
|
92
|
-
Returns
|
93
|
-
-------
|
94
|
-
np.ndarray
|
95
|
-
A 1D array with the discharge exceedance probability
|
96
|
-
"""
|
97
|
-
return self.upqblok
|
98
|
-
|
99
|
-
def get_wave_shape(self) -> WaveShape:
|
100
|
-
"""
|
101
|
-
Return the wave form statistics object.
|
102
|
-
|
103
|
-
Returns
|
104
|
-
-------
|
105
|
-
WaveShape
|
106
|
-
The WaveShape statistics
|
107
|
-
"""
|
108
|
-
return self.wave_shape
|
1
|
+
import numpy as np
|
2
|
+
|
3
|
+
from .wave_shape import WaveShape
|
4
|
+
from ....settings.settings import Settings
|
5
|
+
from .....common.enum import WaveShapeType
|
6
|
+
from .....common.interpolate import Interpolate
|
7
|
+
from .....io.file_hydranl import FileHydraNL
|
8
|
+
|
9
|
+
|
10
|
+
class Discharge:
|
11
|
+
"""
|
12
|
+
Class to describe the discharge statistics.
|
13
|
+
"""
|
14
|
+
|
15
|
+
def __init__(self, settings: Settings):
|
16
|
+
"""
|
17
|
+
Constructor for discharge statistics
|
18
|
+
|
19
|
+
Parameters
|
20
|
+
----------
|
21
|
+
settings : Settings
|
22
|
+
The Settings object
|
23
|
+
"""
|
24
|
+
# Read exceedance probability peak discharge
|
25
|
+
qpeak, epqeak = FileHydraNL.read_file_2columns(settings.discharge_probability)
|
26
|
+
|
27
|
+
# Create grid for peak discharges
|
28
|
+
self.qpeak = np.r_[
|
29
|
+
np.arange(settings.q_min, settings.q_max, settings.q_step), settings.q_max
|
30
|
+
]
|
31
|
+
self.nqpeak = len(self.qpeak)
|
32
|
+
|
33
|
+
# Inter/extrapolate the exceedance probability of the discharge
|
34
|
+
self.epqpeak = np.exp(
|
35
|
+
Interpolate.inextrp1d(x=self.qpeak, xp=qpeak, fp=np.log(epqeak))
|
36
|
+
)
|
37
|
+
|
38
|
+
# Transformatie van de tabel met OVERschrijdingskansen naar exponentiële ruimte
|
39
|
+
# Zie ook vgl. 4.5 van [Geerse, 2003], merk op dat het daar ONDERschrijdingskansen betreft#
|
40
|
+
self.eqpeak_exp = -np.log(self.epqpeak)
|
41
|
+
|
42
|
+
# Init the wave forms
|
43
|
+
self.wave_shape = WaveShape(settings, type=WaveShapeType.DISCHARGE)
|
44
|
+
self.wave_shape.initialise_wave_shapes(self.qpeak)
|
45
|
+
|
46
|
+
# Create grid with blok discharges
|
47
|
+
if settings.q_min < np.min(self.qpeak):
|
48
|
+
step = self.qpeak[1] - self.qpeak[0]
|
49
|
+
self.qblok = np.r_[
|
50
|
+
np.arange(settings.q_min, np.min(self.qpeak), step), self.qpiek
|
51
|
+
]
|
52
|
+
elif settings.q_min > np.min(self.qpeak):
|
53
|
+
raise ValueError("[ERROR] Q_min is larger than the lowest Q_peak.")
|
54
|
+
else:
|
55
|
+
self.qblok = self.qpeak
|
56
|
+
self.nqblok = len(self.qblok)
|
57
|
+
|
58
|
+
# Calculate the instantaneous exceedance probability
|
59
|
+
inst_epq = self.wave_shape.instantaneous_exceedance_probability(
|
60
|
+
self.epqpeak, self.qblok
|
61
|
+
)
|
62
|
+
|
63
|
+
# Make sure the exceedance probability is not larger than 1 or smaller than 0
|
64
|
+
self.upqblok = np.clip(1.0 - inst_epq, 0.0, 1.0)
|
65
|
+
|
66
|
+
def __len__(self):
|
67
|
+
"""
|
68
|
+
Return the number of discharge discretisations.
|
69
|
+
|
70
|
+
Returns
|
71
|
+
-------
|
72
|
+
int
|
73
|
+
Number of discretisations
|
74
|
+
"""
|
75
|
+
return self.nqblok
|
76
|
+
|
77
|
+
def get_discretisation(self) -> np.ndarray:
|
78
|
+
"""
|
79
|
+
Return the discharge discretisation.
|
80
|
+
|
81
|
+
Returns
|
82
|
+
-------
|
83
|
+
np.ndarray
|
84
|
+
1D array with discretisation
|
85
|
+
"""
|
86
|
+
return self.qblok
|
87
|
+
|
88
|
+
def get_exceedance_probability(self) -> np.ndarray:
|
89
|
+
"""
|
90
|
+
Return exceedance probility of the discharge
|
91
|
+
|
92
|
+
Returns
|
93
|
+
-------
|
94
|
+
np.ndarray
|
95
|
+
A 1D array with the discharge exceedance probability
|
96
|
+
"""
|
97
|
+
return self.upqblok
|
98
|
+
|
99
|
+
def get_wave_shape(self) -> WaveShape:
|
100
|
+
"""
|
101
|
+
Return the wave form statistics object.
|
102
|
+
|
103
|
+
Returns
|
104
|
+
-------
|
105
|
+
WaveShape
|
106
|
+
The WaveShape statistics
|
107
|
+
"""
|
108
|
+
return self.wave_shape
|
@@ -1,55 +1,55 @@
|
|
1
|
-
import numpy as np
|
2
|
-
|
3
|
-
from .....io.file_hydranl import FileHydraNL
|
4
|
-
|
5
|
-
|
6
|
-
class DiscreteProbability:
|
7
|
-
"""
|
8
|
-
Class to describe the discrete statistics.
|
9
|
-
"""
|
10
|
-
|
11
|
-
def __init__(self, statistics_file_path: str):
|
12
|
-
"""
|
13
|
-
Constructor class for the discrete statistics.
|
14
|
-
|
15
|
-
Parameters
|
16
|
-
----------
|
17
|
-
statistics_file_path : str
|
18
|
-
Path to the statistics file
|
19
|
-
"""
|
20
|
-
self.discretisation, self.probability = FileHydraNL.read_file_2columns(
|
21
|
-
statistics_file_path
|
22
|
-
)
|
23
|
-
|
24
|
-
def __len__(self):
|
25
|
-
"""
|
26
|
-
Return the number discretisations.
|
27
|
-
|
28
|
-
Returns
|
29
|
-
-------
|
30
|
-
int
|
31
|
-
Number of discretisations
|
32
|
-
"""
|
33
|
-
return len(self.discretisation)
|
34
|
-
|
35
|
-
def get_discretisation(self) -> np.ndarray:
|
36
|
-
"""
|
37
|
-
Return the discretisation.
|
38
|
-
|
39
|
-
Returns
|
40
|
-
-------
|
41
|
-
np.ndarray
|
42
|
-
1D array with discretisation
|
43
|
-
"""
|
44
|
-
return self.discretisation
|
45
|
-
|
46
|
-
def get_probability(self) -> np.ndarray:
|
47
|
-
"""
|
48
|
-
Return the probability of each discretisation.
|
49
|
-
|
50
|
-
Returns
|
51
|
-
-------
|
52
|
-
np.ndarray
|
53
|
-
1D array with probabilities
|
54
|
-
"""
|
55
|
-
return self.probability
|
1
|
+
import numpy as np
|
2
|
+
|
3
|
+
from .....io.file_hydranl import FileHydraNL
|
4
|
+
|
5
|
+
|
6
|
+
class DiscreteProbability:
|
7
|
+
"""
|
8
|
+
Class to describe the discrete statistics.
|
9
|
+
"""
|
10
|
+
|
11
|
+
def __init__(self, statistics_file_path: str):
|
12
|
+
"""
|
13
|
+
Constructor class for the discrete statistics.
|
14
|
+
|
15
|
+
Parameters
|
16
|
+
----------
|
17
|
+
statistics_file_path : str
|
18
|
+
Path to the statistics file
|
19
|
+
"""
|
20
|
+
self.discretisation, self.probability = FileHydraNL.read_file_2columns(
|
21
|
+
statistics_file_path
|
22
|
+
)
|
23
|
+
|
24
|
+
def __len__(self):
|
25
|
+
"""
|
26
|
+
Return the number discretisations.
|
27
|
+
|
28
|
+
Returns
|
29
|
+
-------
|
30
|
+
int
|
31
|
+
Number of discretisations
|
32
|
+
"""
|
33
|
+
return len(self.discretisation)
|
34
|
+
|
35
|
+
def get_discretisation(self) -> np.ndarray:
|
36
|
+
"""
|
37
|
+
Return the discretisation.
|
38
|
+
|
39
|
+
Returns
|
40
|
+
-------
|
41
|
+
np.ndarray
|
42
|
+
1D array with discretisation
|
43
|
+
"""
|
44
|
+
return self.discretisation
|
45
|
+
|
46
|
+
def get_probability(self) -> np.ndarray:
|
47
|
+
"""
|
48
|
+
Return the probability of each discretisation.
|
49
|
+
|
50
|
+
Returns
|
51
|
+
-------
|
52
|
+
np.ndarray
|
53
|
+
1D array with probabilities
|
54
|
+
"""
|
55
|
+
return self.probability
|
@@ -1,158 +1,158 @@
|
|
1
|
-
import numpy as np
|
2
|
-
|
3
|
-
from .wave_shape import WaveShape
|
4
|
-
from ....settings.settings import Settings
|
5
|
-
from .....common.enum import WaterSystem, WaveShapeType
|
6
|
-
from .....common.interpolate import Interpolate
|
7
|
-
from .....io.file_hydranl import FileHydraNL
|
8
|
-
|
9
|
-
|
10
|
-
class LakeLevel:
|
11
|
-
"""
|
12
|
-
Class to describe the lake (water) level statistics.
|
13
|
-
"""
|
14
|
-
|
15
|
-
def __init__(self, settings: Settings):
|
16
|
-
"""
|
17
|
-
Constructor class for LakeLevel statistics.
|
18
|
-
|
19
|
-
Parameters
|
20
|
-
----------
|
21
|
-
settings : Settings
|
22
|
-
The Settings object
|
23
|
-
"""
|
24
|
-
# Read exceedance probability peak lake level
|
25
|
-
apeak, epapeak = FileHydraNL.read_file_2columns(settings.lake_level_probability)
|
26
|
-
|
27
|
-
# Adjust for lake level rise
|
28
|
-
apeak += settings.lake_level_rise
|
29
|
-
|
30
|
-
# Lowest lake level
|
31
|
-
a_min_piek = max(apeak[0] - settings.lake_level_rise, settings.a_min)
|
32
|
-
|
33
|
-
# Creeer rooster met meerpeilen voor de trapezia
|
34
|
-
self.apeak = np.r_[
|
35
|
-
np.arange(a_min_piek, settings.a_max, settings.a_step), settings.a_max
|
36
|
-
]
|
37
|
-
self.napeak = len(self.apeak)
|
38
|
-
|
39
|
-
# Als de meerpeilen bekend zijn kunnen de trapezia worden geïnitialiseerd
|
40
|
-
# (Vul de vector met meerpeilen)
|
41
|
-
self.wave_shape = WaveShape(settings, type=WaveShapeType.LAKE_LEVEL)
|
42
|
-
self.wave_shape.initialise_wave_shapes(
|
43
|
-
self.apeak, climate_change=settings.lake_level_rise
|
44
|
-
)
|
45
|
-
|
46
|
-
# Creeer rooster met meerpeilen voor het opdelen van de golfvormen in blokken
|
47
|
-
# TODO self.invoergeg.m_min #= MLAAGST? Moet dit dan kol1.min() zijn?
|
48
|
-
# self.mblok = roosterblokken(self.invoergeg.m_min, self.mpiek)
|
49
|
-
self.ablok = self.apeak.copy()
|
50
|
-
self.nablok = len(self.ablok)
|
51
|
-
|
52
|
-
# Blaas de tabel met overschrijdingskansen voor het meerpeil op
|
53
|
-
# De interpolatie wordt logaritmische uitgevoerd.
|
54
|
-
self.epapeak = np.exp(
|
55
|
-
Interpolate.inextrp1d(x=self.apeak, xp=apeak, fp=np.log(epapeak))
|
56
|
-
)
|
57
|
-
self.epapeak[self.epapeak > 1] = 1.0
|
58
|
-
|
59
|
-
# IJssel-Vechtdelta and VZM related
|
60
|
-
if settings.watersystem in [
|
61
|
-
WaterSystem.IJSSEL_DELTA,
|
62
|
-
WaterSystem.VECHT_DELTA,
|
63
|
-
WaterSystem.VOLKERAK_ZOOMMEER,
|
64
|
-
]:
|
65
|
-
# Lokale paramters
|
66
|
-
N = 376
|
67
|
-
|
68
|
-
# Geef verwachtingswaarde en standaarddeviatie van de normale verdeling in de getransformeerde ruimte een waarde
|
69
|
-
mu = 0.0
|
70
|
-
sigma = settings.sigma_aq # invoergeg.sigma_mq(ig)
|
71
|
-
|
72
|
-
# Zet de gegevens voor de verfijnde interpolatietabel (de y-waarden, ofwel de K_sigma(s) uit vgl. 4.7 van [Geerse, 2003.129x]
|
73
|
-
# Bereken voor elke y-waarde de integraal 4.3 [Geerse, 2003]
|
74
|
-
f_y_k = np.linspace(-2 - 4 * sigma, 20 + 4 * sigma, N)
|
75
|
-
|
76
|
-
# Verfijnde tabel klaarzetten van de cumulatieve verdelingsfunctie onder transformatie van s naar y
|
77
|
-
# Zie ook vgl. 4.3 van [Geerse, 2003]
|
78
|
-
|
79
|
-
# Maak de vector met y-waarden:
|
80
|
-
# Bereken voor elke y-waarde de integraal 4.3 [Geerse, 2003]
|
81
|
-
f_y_sigma = self.wave_shape.cum_norm_s_naar_y(f_y_k, mu, sigma)
|
82
|
-
|
83
|
-
# Kansverdeling schalen of de hoogste ONDERschrijdingskans gelijk stellen aan 1
|
84
|
-
if f_y_sigma[-1] > 1.0:
|
85
|
-
f_y_sigma /= f_y_sigma[-1]
|
86
|
-
else:
|
87
|
-
f_y_sigma[-1] = 1.0
|
88
|
-
|
89
|
-
for i in range(N):
|
90
|
-
if f_y_sigma[i] > 0:
|
91
|
-
D = i
|
92
|
-
break
|
93
|
-
|
94
|
-
# Een ONDERschrijdingskans gelijk aan 0.0 mag worden meegenomen.
|
95
|
-
if D > 0:
|
96
|
-
D -= 1
|
97
|
-
|
98
|
-
self.k_apeak = Interpolate.inextrp1d(
|
99
|
-
x=1 - self.epapeak, xp=f_y_sigma[D:], fp=f_y_k[D:]
|
100
|
-
)
|
101
|
-
|
102
|
-
# Bereken de momentane overschrijdingskansen van het meerpeil
|
103
|
-
self.mom_ovkans_a = self.wave_shape.instantaneous_exceedance_probability(
|
104
|
-
self.epapeak, self.ablok
|
105
|
-
)
|
106
|
-
|
107
|
-
# Transition
|
108
|
-
if (settings.transition_lake_wave_shape is not None) and (
|
109
|
-
settings.transition_lake_wave_shape != 0.0
|
110
|
-
):
|
111
|
-
self.wave_shape.transition_wave(settings.transition_lake_wave_shape)
|
112
|
-
|
113
|
-
# Filter overschrijdingskansen die kleiner dan 0 of grote dan 1 zijn. Dit kan voorkomen door floating point precision
|
114
|
-
self.upablok = np.clip(1.0 - self.mom_ovkans_a, 0.0, 1.0)
|
115
|
-
|
116
|
-
def __len__(self):
|
117
|
-
"""
|
118
|
-
Return the number of discharge discretisations.
|
119
|
-
|
120
|
-
Returns
|
121
|
-
-------
|
122
|
-
int
|
123
|
-
Number of discretisations
|
124
|
-
"""
|
125
|
-
return self.nablok
|
126
|
-
|
127
|
-
def get_discretisation(self) -> np.ndarray:
|
128
|
-
"""
|
129
|
-
Return the discharge discretisation.
|
130
|
-
|
131
|
-
Returns
|
132
|
-
-------
|
133
|
-
np.ndarray
|
134
|
-
1D array with discretisation
|
135
|
-
"""
|
136
|
-
return self.ablok
|
137
|
-
|
138
|
-
def get_exceedance_probability(self) -> np.ndarray:
|
139
|
-
"""
|
140
|
-
Return exceedance probility of the discharge
|
141
|
-
|
142
|
-
Returns
|
143
|
-
-------
|
144
|
-
np.ndarray
|
145
|
-
A 1D array with the discharge exceedance probability
|
146
|
-
"""
|
147
|
-
return self.upablok
|
148
|
-
|
149
|
-
def get_wave_shape(self) -> WaveShape:
|
150
|
-
"""
|
151
|
-
Return the wave form statistics object.
|
152
|
-
|
153
|
-
Returns
|
154
|
-
-------
|
155
|
-
WaveShape
|
156
|
-
The WaveShape statistics
|
157
|
-
"""
|
158
|
-
return self.wave_shape
|
1
|
+
import numpy as np
|
2
|
+
|
3
|
+
from .wave_shape import WaveShape
|
4
|
+
from ....settings.settings import Settings
|
5
|
+
from .....common.enum import WaterSystem, WaveShapeType
|
6
|
+
from .....common.interpolate import Interpolate
|
7
|
+
from .....io.file_hydranl import FileHydraNL
|
8
|
+
|
9
|
+
|
10
|
+
class LakeLevel:
|
11
|
+
"""
|
12
|
+
Class to describe the lake (water) level statistics.
|
13
|
+
"""
|
14
|
+
|
15
|
+
def __init__(self, settings: Settings):
|
16
|
+
"""
|
17
|
+
Constructor class for LakeLevel statistics.
|
18
|
+
|
19
|
+
Parameters
|
20
|
+
----------
|
21
|
+
settings : Settings
|
22
|
+
The Settings object
|
23
|
+
"""
|
24
|
+
# Read exceedance probability peak lake level
|
25
|
+
apeak, epapeak = FileHydraNL.read_file_2columns(settings.lake_level_probability)
|
26
|
+
|
27
|
+
# Adjust for lake level rise
|
28
|
+
apeak += settings.lake_level_rise
|
29
|
+
|
30
|
+
# Lowest lake level
|
31
|
+
a_min_piek = max(apeak[0] - settings.lake_level_rise, settings.a_min)
|
32
|
+
|
33
|
+
# Creeer rooster met meerpeilen voor de trapezia
|
34
|
+
self.apeak = np.r_[
|
35
|
+
np.arange(a_min_piek, settings.a_max, settings.a_step), settings.a_max
|
36
|
+
]
|
37
|
+
self.napeak = len(self.apeak)
|
38
|
+
|
39
|
+
# Als de meerpeilen bekend zijn kunnen de trapezia worden geïnitialiseerd
|
40
|
+
# (Vul de vector met meerpeilen)
|
41
|
+
self.wave_shape = WaveShape(settings, type=WaveShapeType.LAKE_LEVEL)
|
42
|
+
self.wave_shape.initialise_wave_shapes(
|
43
|
+
self.apeak, climate_change=settings.lake_level_rise
|
44
|
+
)
|
45
|
+
|
46
|
+
# Creeer rooster met meerpeilen voor het opdelen van de golfvormen in blokken
|
47
|
+
# TODO self.invoergeg.m_min #= MLAAGST? Moet dit dan kol1.min() zijn?
|
48
|
+
# self.mblok = roosterblokken(self.invoergeg.m_min, self.mpiek)
|
49
|
+
self.ablok = self.apeak.copy()
|
50
|
+
self.nablok = len(self.ablok)
|
51
|
+
|
52
|
+
# Blaas de tabel met overschrijdingskansen voor het meerpeil op
|
53
|
+
# De interpolatie wordt logaritmische uitgevoerd.
|
54
|
+
self.epapeak = np.exp(
|
55
|
+
Interpolate.inextrp1d(x=self.apeak, xp=apeak, fp=np.log(epapeak))
|
56
|
+
)
|
57
|
+
self.epapeak[self.epapeak > 1] = 1.0
|
58
|
+
|
59
|
+
# IJssel-Vechtdelta and VZM related
|
60
|
+
if settings.watersystem in [
|
61
|
+
WaterSystem.IJSSEL_DELTA,
|
62
|
+
WaterSystem.VECHT_DELTA,
|
63
|
+
WaterSystem.VOLKERAK_ZOOMMEER,
|
64
|
+
]:
|
65
|
+
# Lokale paramters
|
66
|
+
N = 376
|
67
|
+
|
68
|
+
# Geef verwachtingswaarde en standaarddeviatie van de normale verdeling in de getransformeerde ruimte een waarde
|
69
|
+
mu = 0.0
|
70
|
+
sigma = settings.sigma_aq # invoergeg.sigma_mq(ig)
|
71
|
+
|
72
|
+
# Zet de gegevens voor de verfijnde interpolatietabel (de y-waarden, ofwel de K_sigma(s) uit vgl. 4.7 van [Geerse, 2003.129x]
|
73
|
+
# Bereken voor elke y-waarde de integraal 4.3 [Geerse, 2003]
|
74
|
+
f_y_k = np.linspace(-2 - 4 * sigma, 20 + 4 * sigma, N)
|
75
|
+
|
76
|
+
# Verfijnde tabel klaarzetten van de cumulatieve verdelingsfunctie onder transformatie van s naar y
|
77
|
+
# Zie ook vgl. 4.3 van [Geerse, 2003]
|
78
|
+
|
79
|
+
# Maak de vector met y-waarden:
|
80
|
+
# Bereken voor elke y-waarde de integraal 4.3 [Geerse, 2003]
|
81
|
+
f_y_sigma = self.wave_shape.cum_norm_s_naar_y(f_y_k, mu, sigma)
|
82
|
+
|
83
|
+
# Kansverdeling schalen of de hoogste ONDERschrijdingskans gelijk stellen aan 1
|
84
|
+
if f_y_sigma[-1] > 1.0:
|
85
|
+
f_y_sigma /= f_y_sigma[-1]
|
86
|
+
else:
|
87
|
+
f_y_sigma[-1] = 1.0
|
88
|
+
|
89
|
+
for i in range(N):
|
90
|
+
if f_y_sigma[i] > 0:
|
91
|
+
D = i
|
92
|
+
break
|
93
|
+
|
94
|
+
# Een ONDERschrijdingskans gelijk aan 0.0 mag worden meegenomen.
|
95
|
+
if D > 0:
|
96
|
+
D -= 1
|
97
|
+
|
98
|
+
self.k_apeak = Interpolate.inextrp1d(
|
99
|
+
x=1 - self.epapeak, xp=f_y_sigma[D:], fp=f_y_k[D:]
|
100
|
+
)
|
101
|
+
|
102
|
+
# Bereken de momentane overschrijdingskansen van het meerpeil
|
103
|
+
self.mom_ovkans_a = self.wave_shape.instantaneous_exceedance_probability(
|
104
|
+
self.epapeak, self.ablok
|
105
|
+
)
|
106
|
+
|
107
|
+
# Transition
|
108
|
+
if (settings.transition_lake_wave_shape is not None) and (
|
109
|
+
settings.transition_lake_wave_shape != 0.0
|
110
|
+
):
|
111
|
+
self.wave_shape.transition_wave(settings.transition_lake_wave_shape)
|
112
|
+
|
113
|
+
# Filter overschrijdingskansen die kleiner dan 0 of grote dan 1 zijn. Dit kan voorkomen door floating point precision
|
114
|
+
self.upablok = np.clip(1.0 - self.mom_ovkans_a, 0.0, 1.0)
|
115
|
+
|
116
|
+
def __len__(self):
|
117
|
+
"""
|
118
|
+
Return the number of discharge discretisations.
|
119
|
+
|
120
|
+
Returns
|
121
|
+
-------
|
122
|
+
int
|
123
|
+
Number of discretisations
|
124
|
+
"""
|
125
|
+
return self.nablok
|
126
|
+
|
127
|
+
def get_discretisation(self) -> np.ndarray:
|
128
|
+
"""
|
129
|
+
Return the discharge discretisation.
|
130
|
+
|
131
|
+
Returns
|
132
|
+
-------
|
133
|
+
np.ndarray
|
134
|
+
1D array with discretisation
|
135
|
+
"""
|
136
|
+
return self.ablok
|
137
|
+
|
138
|
+
def get_exceedance_probability(self) -> np.ndarray:
|
139
|
+
"""
|
140
|
+
Return exceedance probility of the discharge
|
141
|
+
|
142
|
+
Returns
|
143
|
+
-------
|
144
|
+
np.ndarray
|
145
|
+
A 1D array with the discharge exceedance probability
|
146
|
+
"""
|
147
|
+
return self.upablok
|
148
|
+
|
149
|
+
def get_wave_shape(self) -> WaveShape:
|
150
|
+
"""
|
151
|
+
Return the wave form statistics object.
|
152
|
+
|
153
|
+
Returns
|
154
|
+
-------
|
155
|
+
WaveShape
|
156
|
+
The WaveShape statistics
|
157
|
+
"""
|
158
|
+
return self.wave_shape
|