Skip to content

Commit

Permalink
update dmg functions for FL AGR
Browse files Browse the repository at this point in the history
  • Loading branch information
matamadio committed Sep 22, 2023
1 parent af37675 commit 0b6031c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 101,748 deletions.
6 changes: 3 additions & 3 deletions Top-down/parallelization/damageFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ def damage_factor_agri(x):
References
----------
Huizinga et al., 2017 - Global flood depth-damage functions: Methodology and the database. EU-JRC.
Point fitting by cubic regression (R2 = 0.98)
"""
# return (x+999)/(x+999) # For Agri exposure
# return (x) # For DR impacts
# return np.maximum(0.0, np.minimum(1.0, -0.0039 * x ** 3 + 0.0383 * x ** 2 + 0.0768 * x)) # Floods - AFRICA
return np.maximum(0.0, np.minimum(1.0, 0.00723 * x ** 3 - 0.1000 * x ** 2 + 0.5060 * x)) # Floods - ASIA

# return np.maximum(0.0, np.minimum(1.0, 0.01108 * x ** 3 + 0.1578 * x ** 2 + 0.7209 * x - 0.042)) # Floods - AFRICA
return np.maximum(0.0, np.minimum(1.0, 0.00455 * x ** 3 - 0.0648 * x ** 2 + 0.3960 * x - 0.000049)) # Floods - ASIA

# Flood over Population mortality
def mortality_factor(x):
Expand Down
Loading

0 comments on commit 0b6031c

Please sign in to comment.