EMLab-Generation2
emlab.gen.domain.technology.PowerPlant Class Reference

Public Member Functions

boolean isOperational (long currentTick)
 
boolean isExpectedToBeOperational (long time)
 
boolean isInPipeline (long currentTick)
 
double getAvailableCapacity (long currentTick, Segment segment, long numberOfSegments)
 
double getExpectedAvailableCapacity (long futureTick, Segment segment, long numberOfSegments)
 
double getAvailableCapacity (long currentTick)
 
long calculateActualLeadtime ()
 
long calculateActualPermittime ()
 
long calculateActualLifetime ()
 
boolean isWithinTechnicalLifetime (long currentTick)
 
PowerGridNode getLocation ()
 
void setLocation (PowerGridNode location)
 
PowerGeneratingTechnology getTechnology ()
 
void setTechnology (PowerGeneratingTechnology technology)
 
long getConstructionStartTime ()
 
void setConstructionStartTime (long constructionStartTime)
 
EnergyProducer getOwner ()
 
void setOwner (EnergyProducer owner)
 
void setActualLifetime (long actualLifetime)
 
long getActualLifetime ()
 
void setActualPermittime (long actualPermittime)
 
long getActualPermittime ()
 
void setActualLeadtime (long actualLeadtime)
 
long getActualLeadtime ()
 
long getDismantleTime ()
 
void setDismantleTime (long dismantleTime)
 
String getName ()
 
void setName (String label)
 
String getLabel ()
 
void setLabel (String label)
 
double getActualInvestedCapital ()
 
void setActualInvestedCapital (double actualInvestedCapital)
 
Set< SubstanceShareInFuelMixgetFuelMix ()
 
void setFuelMix (Set< SubstanceShareInFuelMix > fuelMix)
 
Loan getLoan ()
 
void setLoan (Loan loan)
 
Loan getDownpayment ()
 
void setDownpayment (Loan downpayment)
 
double getActualEfficiency ()
 
void setActualEfficiency (double actualEfficiency)
 
String toString ()
 
void calculateAndSetActualInvestedCapital (long timeOfPermitorBuildingStart)
 
void calculateAndSetActualFixedOperatingCosts (long timeOfPermitorBuildingStart)
 
void calculateAndSetActualEfficiency (long timeOfPermitorBuildingStart)
 
double calculateEmissionIntensity ()
 
double calculateElectricityOutputAtTime (long time, boolean forecast)
 
double calculateCO2EmissionsAtTime (long time, boolean forecast)
 
void dismantlePowerPlant (long time)
 
void createOrUpdateLoan (Loan loan)
 
void createOrUpdateDownPayment (Loan downpayment)
 
double getExpectedEndOfLife ()
 
void setExpectedEndOfLife (double expectedEndOfLife)
 
void updateFuelMix (Set< SubstanceShareInFuelMix > fuelMix)
 
double getActualNominalCapacity ()
 
void setActualNominalCapacity (double actualNominalCapacity)
 
double getActualFixedOperatingCost ()
 
void setActualFixedOperatingCost (double actualFixedOperatingCost)
 
boolean isHistoricalCvarDummyPlant ()
 
void setHistoricalCvarDummyPlant (boolean historicalCvarDummyPlant)
 

Public Attributes

Reps reps
 
boolean flagOutputChanged = true
 

Detailed Description

Representation of a power plant

Author
jcrichstein
ejlchappin

Member Function Documentation

◆ calculateAndSetActualInvestedCapital()

void emlab.gen.domain.technology.PowerPlant.calculateAndSetActualInvestedCapital ( long  timeOfPermitorBuildingStart)

Sets the actual capital that is needed to build the power plant. It reads the investment cost from the and automatically adjusts for the actual building and permit time, as well as power plant size.

Parameters
timeOfPermitorBuildingStart

◆ getActualFixedOperatingCost()

double emlab.gen.domain.technology.PowerPlant.getActualFixedOperatingCost ( )
Returns
the actualFixedOperatingCost

◆ getActualNominalCapacity()

double emlab.gen.domain.technology.PowerPlant.getActualNominalCapacity ( )
Returns
the actualNominalCapacity

◆ isWithinTechnicalLifetime()

boolean emlab.gen.domain.technology.PowerPlant.isWithinTechnicalLifetime ( long  currentTick)

Determines whether a plant is still in its technical lifetime. The end of the technical lifetime is determined by the construction start time, the permit time, the lead time and the actual lifetime.

Parameters
currentTick
Returns
whether the plant is still in its technical lifetime.

◆ setActualFixedOperatingCost()

void emlab.gen.domain.technology.PowerPlant.setActualFixedOperatingCost ( double  actualFixedOperatingCost)
Parameters
actualFixedOperatingCostthe actualFixedOperatingCost to set

◆ setActualNominalCapacity()

void emlab.gen.domain.technology.PowerPlant.setActualNominalCapacity ( double  actualNominalCapacity)
Parameters
actualNominalCapacitythe actualNominalCapacity to set

The documentation for this class was generated from the following file: