java.lang.Object
net.finmath.climate.models.dice.DICEModel
- All Implemented Interfaces:
ClimateModel
A simulation of a simplified DICE model.
Note: The code makes some small simplification: it uses a constant savings rate and a constant external forcings.
It may still be useful for illustration.
-
Constructor Summary
ConstructorsConstructorDescriptionDICEModel(TimeDiscretization timeDiscretization, UnaryOperator<Double> abatementFunction)DICEModel(TimeDiscretization timeDiscretization, UnaryOperator<Double> abatementFunction, UnaryOperator<Double> savingsRateFunction, double discountRate) -
Method Summary
Modifier and TypeMethodDescriptiongetGDP()getTemperature(double time)The temperature (scenario vector) at a given time.getValue()The value (scenario vector) (discounted)
-
Constructor Details
-
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 value (scenario vector) (discounted)- Specified by:
getValuein interfaceClimateModel- Returns:
- The value (scenario vector).
-
getValues
- Specified by:
getValuesin interfaceClimateModel
-
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
-