risk_aversion
Classes:
Name | Description |
---|---|
RiskAversionRecipe |
Risk aversion option |
dscim.menu.risk_aversion.RiskAversionRecipe
Bases: MainRecipe
Risk aversion option
Methods:
Name | Description |
---|---|
ce_cc_calculation |
Calculate certainty equivalent over consumption with climate change |
ce_no_cc_calculation |
Calculate certainty equivalent consumption without climate change |
global_consumption_calculation |
Calculate global consumption |
global_damages_calculation |
Aggregate damages to global level |
Attributes:
Name | Type | Description |
---|---|---|
calculated_damages |
DataArray
|
Calculate damages (difference between CEs) |
Source code in src/dscim/menu/risk_aversion.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
|
dscim.menu.risk_aversion.RiskAversionRecipe.calculated_damages
property
calculated_damages
Calculate damages (difference between CEs)
dscim.menu.risk_aversion.RiskAversionRecipe.ce_cc_calculation
ce_cc_calculation()
Calculate certainty equivalent over consumption with climate change
Returns:
Type | Description |
---|---|
xr.DataArray
|
|
Source code in src/dscim/menu/risk_aversion.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
dscim.menu.risk_aversion.RiskAversionRecipe.ce_no_cc_calculation
ce_no_cc_calculation()
Calculate certainty equivalent consumption without climate change
Returns:
Type | Description |
---|---|
xr.DataArray
|
|
Source code in src/dscim/menu/risk_aversion.py
27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
dscim.menu.risk_aversion.RiskAversionRecipe.global_consumption_calculation
global_consumption_calculation(disc_type)
Calculate global consumption
Returns:
Type | Description |
---|---|
xr.DataArray
|
|
Source code in src/dscim/menu/risk_aversion.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
|
dscim.menu.risk_aversion.RiskAversionRecipe.global_damages_calculation
global_damages_calculation()
Aggregate damages to global level
Returns:
Type | Description |
---|---|
pd.DataFrame
|
|
Source code in src/dscim/menu/risk_aversion.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|