Bijstellen fragility curves
Verschuiven van een curve
Voor het verschuiven van een fragility curve over een opgegeven waterstandsbereik is voor alle type fragility curves de functie Shift*
beschikbaar, waarbij *
de naam van de functie is. Zo schuift ShiftFragilityCurveOvertopping
de curve van FragilityCurveOvertopping
naar links of rechts met een opgegeven stapgrootte (bijv. 0,5 voor een verschuiving van de fragility curve met 0,5m naar rechts). Belangrijk om hier te benoemen is dat de opties in GlobalVariables nog steeds moeten verwijzen naar de originele functie, ook alle andere configuraties blijven hetzelfde.
In het voorbeeld hieronder wordt gebruik gemaakt vanFragilityCurveOvertopping
in de GlobalVariables, ook al wordt de ShiftFragilityCurveOvertopping
functie aangeroepen. De verschuiving van 0,5 meter is in het ‘Code’ tabblad terug te vinden als de effect
parameter (effect=0.5
).
GlobalVariables:
rootdir: "data_sets"
# default waardes, kunnen worden overschreven
FragilityCurveOvertopping:
gh_onz_mu: 0.96
gh_onz_sigma: 0.27
gp_onz_mu_tp: 1.03
gp_onz_sigma_tp: 0.13
gp_onz_mu_tspec: 1.03
gp_onz_sigma_tspec: 0.13
gh_onz_aantal: 7
gp_onz_aantal: 7
tp_tspec: 1.1
lower_limit_coarse: 4.0
upper_limit_coarse: 2.0
upper_limit_fine: 1.0
hstap: 0.05
DataAdapter:
default_options:
csv:
sep: ","
slopes:
type: csv
file: "slopes.csv"
profiles:
type: csv
file: "profiles.csv"
bedlevel_fetch:
type: csv
file: "bedlevelfetch.csv"
fragility_curves:
type: csv
file: "fragility_curves.csv"
from toolbox_continu_inzicht import Config, DataAdapter
from toolbox_continu_inzicht.fragility_curves import ShiftFragilityCurveOvertopping
= Config(config_path="config.yaml")
config
config.lees_config()= DataAdapter(config=config)
data_adapter = ShiftFragilityCurveOvertopping(data_adapter=data_adapter)
shifted_fragility_curve_overtopping
shifted_fragility_curve_overtopping.run(input=["slopes", "profiles", "bedlevel_fetch"],
="fragility_curves",
output=0.5
effect )
Aanpassen van de kruinhoogte
Voor het aanpassen van de kruinhoogte bij een GEKB is de functie ChangeCrestHeightFragilityCurveOvertopping
beschikbaar, hier kan als effect mee gegeven worden wat de verandering van kruinhoogte is. De zelfde berekening als bij FragilityCurveOvertopping
wordt dan uitgevoerd, maar met de aangepaste kruin hoogte.
GlobalVariables:
rootdir: "data_sets"
# default waardes, kunnen worden overschreven
FragilityCurveOvertopping:
gh_onz_mu: 0.96
gh_onz_sigma: 0.27
gp_onz_mu_tp: 1.03
gp_onz_sigma_tp: 0.13
gp_onz_mu_tspec: 1.03
gp_onz_sigma_tspec: 0.13
gh_onz_aantal: 7
gp_onz_aantal: 7
tp_tspec: 1.1
lower_limit_coarse: 4.0
upper_limit_coarse: 2.0
upper_limit_fine: 1.0
hstap: 0.05
DataAdapter:
default_options:
csv:
sep: ","
slopes:
type: csv
file: "slopes.csv"
profiles:
type: csv
file: "profiles.csv"
bedlevel_fetch:
type: csv
file: "bedlevelfetch.csv"
fragility_curves:
type: csv
file: "fragility_curves.csv"
from toolbox_continu_inzicht import Config, DataAdapter
from toolbox_continu_inzicht.fragility_curves import ChangeCrestHeightFragilityCurveOvertopping
= Config(config_path="config.yaml")
config
config.lees_config()= DataAdapter(config=config)
data_adapter = ChangeCrestHeightFragilityCurveOvertopping(data_adapter=data_adapter)
change_crest_fragility_curve_overtopping
change_crest_fragility_curve_overtopping.run(input=["slopes", "profiles", "bedlevel_fetch"],
="fragility_curves",
output=1
effect )