File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/net/finmath/climate/models/dice Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ private void init(Map<String, Object> modelProperties) {
136136 final EvolutionOfCarbonConcentration evolutionOfCarbonConcentration = new EvolutionOfCarbonConcentration (timeDiscretization );
137137
138138 final ForcingFunction forcingFunction = new ForcingFunction ();
139- final double forcingExternal = 1.0 ; // per year
139+ final double forcingExternal = 1.0 ;
140140
141141 final EvolutionOfTemperature evolutionOfTemperature = new EvolutionOfTemperature (timeDiscretization );
142142
@@ -253,7 +253,7 @@ private void init(Map<String, Object> modelProperties) {
253253 */
254254 double alpha = 1.45 ; // Elasticity of marginal utility of consumption (GAMS elasmu)
255255 double C = consumption ;
256- double utility = L *(Math .pow (C / (L /1000 ),1 -alpha ))/(1 -alpha );
256+ double utility = L *(Math .pow (C / (L /1000 ),1 -alpha )- 1 )/(1 -alpha );
257257
258258 /*
259259 * Discounted utility
You can’t perform that action at this time.
0 commit comments