You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calculate either the residual or the risk transfer impact matrix.
94
+
"""Calculate either the residual or the risk transfer impact matrix from a global risk transfer mechanism.
95
+
96
+
To compute the transfered risk, the function first computes for each event, the (positive) difference between their total impact and `attachment`. The transfered risk for each event is then defined as the minimum between this value and `cover`. The residual impact is the total impact minus the transfered risk.
97
+
The impact matrix is then adjusted by multiply impact per centroids by the ratio between residual risk and total impact for each event. As such, the risk transfer is shared among all impacted exposure points and equaly distributed.
96
98
97
-
The impact matrix is adjusted based on the total impact for each event.
98
-
When calculating the residual impact, the result is the total impact minus
99
-
the risk layer. The risk layer is defined as the minimum of the cover and
100
-
the maximum of the difference between the total impact and the attachment.
101
-
If `calc_residual` is False, the function returns the risk layer matrix
102
-
instead of the residual.
99
+
If `calc_residual` is False, the function returns the transfered risk at each points instead of the residual risk by using the ratio between transfered risk and total impact instead.
The adjusted impact matrix, either residual or risk transfer.
120
117
118
+
Warnings
119
+
--------
120
+
121
+
This transfer capability is different and not exclusive with the one implemented in ImpactCalc, which is defined at the centroid level. The mechanism here corresponds to a global cover applied to the whole region studied.
0 commit comments