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 TypeMethodDescriptiongetGDP()
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:
getTimeDiscretization
in interfaceClimateModel
- Returns:
- the time discretization associated with this model.
-
getTemperature
Description copied from interface:ClimateModel
The temperature (scenario vector) at a given time.- Specified by:
getTemperature
in interfaceClimateModel
- Parameters:
time
- The observation time.- Returns:
- The temperature (scenario vector) at a given time.
-
getValue
Description copied from interface:ClimateModel
The aggregated (discounted) value.- Specified by:
getValue
in interfaceClimateModel
- Returns:
- The value (scenario wise).
-
getValues
Description copied from interface:ClimateModel
The random vector of un-discounted values (utilities).- Specified by:
getValues
in interfaceClimateModel
- Returns:
- random vector of un-discounted values (utilities).
-
getAbatement
- Specified by:
getAbatement
in interfaceClimateModel
-
getEmission
- Specified by:
getEmission
in interfaceClimateModel
-
getCarbonConcentration
- Specified by:
getCarbonConcentration
in interfaceClimateModel
-
getTemperature
- Specified by:
getTemperature
in interfaceClimateModel
-
getDamage
- Specified by:
getDamage
in interfaceClimateModel
-
getGDP
- Specified by:
getGDP
in interfaceClimateModel
-
getConsumptions
- Specified by:
getConsumptions
in interfaceClimateModel
-
getAbatementCosts
- Specified by:
getAbatementCosts
in interfaceClimateModel
-
getAbatementCost
- Specified by:
getAbatementCost
in interfaceClimateModel
-
getDamageCosts
- Specified by:
getDamageCosts
in interfaceClimateModel
-
getDamageCost
- Specified by:
getDamageCost
in interfaceClimateModel
-
getNumeraire
- Specified by:
getNumeraire
in interfaceClimateModel
-
getAbatementModel
- Specified by:
getAbatementModel
in interfaceClimateModel
-
getSavingsRateModel
- Specified by:
getSavingsRateModel
in interfaceClimateModel
-