From 5312fb213ea15ac0be81072fcde2cf80442f4bd4 Mon Sep 17 00:00:00 2001 From: Christian Fries Date: Fri, 20 Oct 2023 16:34:04 +0200 Subject: [PATCH] Added comment on utility. --- src/main/java/net/finmath/climate/models/dice/DICEModel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/finmath/climate/models/dice/DICEModel.java b/src/main/java/net/finmath/climate/models/dice/DICEModel.java index 79e82a56ca..7fcca56d92 100644 --- a/src/main/java/net/finmath/climate/models/dice/DICEModel.java +++ b/src/main/java/net/finmath/climate/models/dice/DICEModel.java @@ -268,6 +268,7 @@ private void init(Map modelProperties) { */ double alpha = 1.45; // Elasticity of marginal utility of consumption (GAMS elasmu) double C = consumption; + // U = L * [ ( (1000*C/L)^(1-alpha) - 1)/(1-alpha) - 1 ] double utility = population[timeIndex]*( (Math.pow(1000*C/(population[timeIndex]),1-alpha)-1) /(1-alpha)-1 ); /*