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 makes some small simplification: it uses a constant savings rate and a constant external forcings.-
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:
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 value (scenario vector) (discounted)- Specified by:
getValue
in interfaceClimateModel
- Returns:
- The value (scenario vector).
-
getValues
- Specified by:
getValues
in interfaceClimateModel
-
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
-