Package agents.plantOperator
Class ConventionalPlantOperator
- java.lang.Object
-
- de.dlr.gitlab.fame.agent.Agent
-
- agents.plantOperator.PowerPlantOperator
-
- agents.plantOperator.ConventionalPlantOperator
-
- All Implemented Interfaces:
FuelsTrader
,de.dlr.gitlab.fame.agent.AgentAbility
public class ConventionalPlantOperator extends PowerPlantOperator implements FuelsTrader
Operates a portfolio of conventional power plant units of same type, e.g. nuclear or hard-coal power plant unit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConventionalPlantOperator.Products
Products ofConventionalPlantOperator
-
Constructor Summary
Constructors Constructor Description ConventionalPlantOperator(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
Creates aConventionalPlantOperator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
digestPaymentPerPlant(de.dlr.gitlab.fame.time.TimeStamp dispatchTime, double totalPaymentInEUR)
Optional function to digest payments for individual plants of plant operatorprotected double
dispatchPlants(double requiredEnergy, de.dlr.gitlab.fame.time.TimeStamp time)
Dispatches associated power plants to generate the specified awarded powerprotected double
getInstalledCapacityInMW()
-
Methods inherited from class agents.plantOperator.PowerPlantOperator
digestPayment, executeDispatch, reportCosts
-
Methods inherited from class de.dlr.gitlab.fame.agent.Agent
addContract, call, closeChannel, executeActions, executeWarmUp, fulfilNext, fulfilNext, getId, getNextRandomNumberGenerator, getPostOffice, handleMessage, initialiseActions, now, openChannel, publish, receive, sendMessageTo, sendMessageTo, store, store, toString, warmUp
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.dlr.gitlab.fame.agent.AgentAbility
call, fulfilNext, fulfilNext, getId, getNextRandomNumberGenerator, now, store, store
-
Methods inherited from interface agents.markets.FuelsTrader
readFuelBillMessage, readFuelPriceMessage, sendFuelBid, sendFuelPriceRequest
-
-
-
-
Constructor Detail
-
ConventionalPlantOperator
public ConventionalPlantOperator(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
Creates aConventionalPlantOperator
- Parameters:
dataProvider
- provides input from config
-
-
Method Detail
-
dispatchPlants
protected double dispatchPlants(double requiredEnergy, de.dlr.gitlab.fame.time.TimeStamp time)
Description copied from class:PowerPlantOperator
Dispatches associated power plants to generate the specified awarded power- Specified by:
dispatchPlants
in classPowerPlantOperator
- Parameters:
requiredEnergy
- amount of power to generatetime
- at which to dispatch- Returns:
- total costs for dispatch
-
digestPaymentPerPlant
protected void digestPaymentPerPlant(de.dlr.gitlab.fame.time.TimeStamp dispatchTime, double totalPaymentInEUR)
Description copied from class:PowerPlantOperator
Optional function to digest payments for individual plants of plant operator- Overrides:
digestPaymentPerPlant
in classPowerPlantOperator
- Parameters:
dispatchTime
- time at which the payment is receivedtotalPaymentInEUR
- total money to be paid out to plant operator
-
getInstalledCapacityInMW
protected double getInstalledCapacityInMW()
- Specified by:
getInstalledCapacityInMW
in classPowerPlantOperator
- Returns:
- current installed capacity
-
-