EMlab-generation Documentation
1.0
Documentation of the EMLab-Generation model.
|
Public Member Functions | |
double | calculateMarginalCO2Cost (PowerPlant powerPlant, long tick, boolean forecast) |
double | calculateMarginalCostExclCO2MarketCost (PowerPlant powerPlant, long clearingTick) |
double | calculateExpectedMarginalCostExclCO2MarketCost (PowerPlant powerPlant, Map< Substance, Double > forecastedFuelPrices, long tick) |
double | calculateMarginalFuelCost (PowerPlant powerPlant, long clearingTick) |
double | calculateExpectedMarginalFuelCost (PowerPlant powerPlant, Map< Substance, Double > forecastedFuelPrices) |
double | findLastKnownPriceOnMarket (DecarbonizationMarket market, long clearingTick) |
double | findLastKnownPriceForSubstance (Substance substance, long clearingTick) |
double | calculateCO2MarketMarginalCost (PowerPlant powerPlant, long clearingTick, boolean forecast) |
double | calculateCO2MarketCost (PowerPlant powerPlant, boolean forecast, long clearingTick) |
double | calculatePaymentEffictiveCO2NationalMinimumPriceCost (PowerPlant powerPlant, boolean forecast, long clearingTick) |
double | calculateCO2TaxMarginalCost (PowerPlant powerPlant, long tick) |
double | findLastKnownCO2Price (long clearingTick) |
double | calculateCO2Tax (PowerPlant powerPlant, boolean forecast, long clearingTick) |
double | calculateFixedOperatingCost (PowerPlant powerPlant, long clearingTick) |
double | calculateAveragePastOperatingProfit (PowerPlant pp, long horizon) |
double | calculatePastOperatingProfitInclFixedOMCost (PowerPlant plant, long clearingTick) |
Set< SubstanceShareInFuelMix > | calculateFuelMix (PowerPlant plant, Map< Substance, Double > substancePriceMap, double co2Price) |
double | convertFuelShareToMassVolume (double share) |
double | calculateFuelConsumptionWhenOnlyOneFuelIsUsed (Substance substance, double efficiency) |
double | determineLoanAnnuities (double totalLoan, double payBackTime, double interestRate) |
Map< Substance, Double > | predictFuelPrices (long numberOfYearsBacklookingForForecasting, long futureTimePoint, long clearingTick) |
Protected Member Functions | |
HashMap< ElectricitySpotMarket, Double > | determineExpectedCO2PriceInclTax (long futureTimePoint, long yearsLookingBackForRegression, long clearingTick) |
HashMap< ElectricitySpotMarket, Double > | determineExpectedCO2PriceInclTax (long futureTimePoint, long yearsLookingBackForRegression, int adjustmentForDetermineFuelMix, long clearingTick) |
Definition at line 51 of file AbstractEnergyProducerRole.java.
|
inline |
The fuel mix is calculated with a linear optimization model of the possible fuels and the requirements.
substancePriceMap | contains the possible fuels and their market prices |
minimumFuelMixQuality | is the minimum fuel quality needed for the power plant to work |
efficiency | of the plant determines the need for fuel per MWhe |
co2TaxLevel | is part of the cost for CO2 |
co2AuctionPrice | is part of the cost for CO2 |
Definition at line 316 of file AbstractEnergyProducerRole.java.
|
inline |
Calculates the payment effective part of the national CO2 price. In this case you only pay the excess over the EU carbon market price to your own government.
powerPlant |
Definition at line 225 of file AbstractEnergyProducerRole.java.
|
inlineprotected |
Calculates expected CO2 price based on a geometric trend estimation, of the past years
futureTimePoint | |
yearsLookingBackForRegression |
Definition at line 470 of file AbstractEnergyProducerRole.java.
|
inlineprotected |
Calculates expected CO2 price based on a geometric trend estimation, of the past years. The adjustmentForDetermineFuelMix needs to be set to 1, if this is used in the determine fuel mix role.
futureTimePoint | Year the prediction is made for |
yearsLookingBackForRegression | How many years are used as input for the regression, incl. the current tick. |
Definition at line 483 of file AbstractEnergyProducerRole.java.
|
inline |
Calculates the actual investment cost of a power plant per year, by using the exogenous modifier.
powerPlant |
Definition at line 455 of file AbstractEnergyProducerRole.java.
|
inline |
Finds the last known price for a substance. We try to find the market for it and get it get the price on that market for this tick, previous tick, or from a possible supplier directly. If multiple prices are found, the average is returned. This is the case for electricity spot markets, as they may have segments.
substance | the price we want for |
Definition at line 163 of file AbstractEnergyProducerRole.java.
|
inline |
Finds the last known price on a specific market. We try to get it for this tick, previous tick, or from a possible supplier directly. If multiple prices are found, the average is returned. This is the case for electricity spot markets, as they may have segments.
substance | the price we want for |
Definition at line 121 of file AbstractEnergyProducerRole.java.
|
inline |
Predicts fuel prices for futureTimePoint using a geometric trend regression forecast. Only predicts fuels that are traded on a commodity market.
agent | |
futureTimePoint |
Definition at line 538 of file AbstractEnergyProducerRole.java.