/src/main/java/net/finmath/climate/models/dice/submodels/EmissionIndustrialIntensityFunction.java
this( timeDiscretization, sigma0, 0.0052, -Math.log( 0-0.000) ) ;
this ( timeDiscretization, sigma0, 0.0152, -Math.log ( 1-0.001 ) ) ;
this.timeDiscretization = timeDiscretization; this.emissionIntensityInitial = emissionIntensityInitial; this.emissionIntensityRateInitial = emissionIntensityRateInitial; this.emissionIntensityRateDecay = emissionIntensityRateDecay; } public EmissionIndustrialIntensityFunction(TimeDiscretization timeDiscretization) { <extra_id_0> } @Override public Double apply(Integer timeIndex, Double _emissionIntensity) { double time = timeDiscretization.getTime(timeIndex); final double emissionIntensityRate = emissionIntensityRateInitial * Math.exp(-emissionIntensityRateDecay * time); final double emissionIntensity = emissionIntensityInitial * Math.exp((emissionIntensityRate-emissionIntensityRateInitial) / emissionIntensityRateDecay);