java.lang.Object
net.finmath.climate.models.dice.DICEModel
- All Implemented Interfaces:
ClimateModel
A simulation of a simplified DICE model (see
net.finmath.climate.models.dice.DICEModelTest in src/test/java) for an example usage.
The model just composes the sub-models (evolution equations and functions) from the package net.finmath.climate.models.dice.submodels.
Note: The code uses exponential discounting.-
Constructor Summary
ConstructorsConstructorDescriptionDICEModel(TimeDiscretization timeDiscretization, UnaryOperator<Double> abatementFunction)DICEModel(TimeDiscretization timeDiscretization, UnaryOperator<Double> abatementFunction, UnaryOperator<Double> savingsRateFunction, double discountRate)DICEModel(TimeDiscretization timeDiscretization, UnaryOperator<Double> abatementFunction, UnaryOperator<Double> savingsRateFunction, double discountRate, Map<String,Object> modelProperties)Create the model. -
Method Summary
Modifier and TypeMethodDescriptiongetDisocuntFactor(double time)getGDP()getNumeraire(double time)getTemperature(double time)The temperature (scenario vector) at a given time.getValue()The aggregated (discounted) value.The random vector of un-discounted values (utilities).
-
Constructor Details
-
DICEModel
public DICEModel(TimeDiscretization timeDiscretization, UnaryOperator<Double> abatementFunction, UnaryOperator<Double> savingsRateFunction, double discountRate, Map<String,Object> modelProperties)Create the model.- Parameters:
timeDiscretization- The time discretization to be used.abatementFunction- Abatement function \( t \mapsto \mu(t) \)savingsRateFunction- Savings rate function \( t \mapsto s(t) \)discountRate- Constant exponential disocunt rate rmodelProperties- A key value map of optional model properties or parameters.
-
DICEModel
public DICEModel(TimeDiscretization timeDiscretization, UnaryOperator<Double> abatementFunction, UnaryOperator<Double> savingsRateFunction, double discountRate) -
DICEModel
-
-
Method Details
-
getTimeDiscretization
- Specified by:
getTimeDiscretizationin interfaceClimateModel- Returns:
- the time discretization associated with this model.
-
getTemperature
Description copied from interface:ClimateModelThe temperature (scenario vector) at a given time.- Specified by:
getTemperaturein interfaceClimateModel- Parameters:
time- The observation time.- Returns:
- The temperature (scenario vector) at a given time.
-
getValue
Description copied from interface:ClimateModelThe aggregated (discounted) value.- Specified by:
getValuein interfaceClimateModel- Returns:
- The value (scenario wise).
-
getValues
Description copied from interface:ClimateModelThe random vector of un-discounted values (utilities).- Specified by:
getValuesin interfaceClimateModel- Returns:
- random vector of un-discounted values (utilities).
-
getAbatement
- Specified by:
getAbatementin interfaceClimateModel
-
getEmission
- Specified by:
getEmissionin interfaceClimateModel
-
getCarbonConcentration
- Specified by:
getCarbonConcentrationin interfaceClimateModel
-
getTemperature
- Specified by:
getTemperaturein interfaceClimateModel
-
getDamage
- Specified by:
getDamagein interfaceClimateModel
-
getGDP
- Specified by:
getGDPin interfaceClimateModel
-
getConsumptions
- Specified by:
getConsumptionsin interfaceClimateModel
-
getAbatementCosts
- Specified by:
getAbatementCostsin interfaceClimateModel
-
getAbatementCost
- Specified by:
getAbatementCostin interfaceClimateModel
-
getDamageCosts
- Specified by:
getDamageCostsin interfaceClimateModel
-
getDamageCost
- Specified by:
getDamageCostin interfaceClimateModel
-
getNumeraire
- Specified by:
getNumerairein interfaceClimateModel
-
getAbatementModel
- Specified by:
getAbatementModelin interfaceClimateModel
-
getSavingsRateModel
- Specified by:
getSavingsRateModelin interfaceClimateModel
-
getDisocuntFactor
-