EMlab-generation Documentation  1.0
Documentation of the EMLab-Generation model.
Public Member Functions | List of all members
emlab.gen.domain.technology.PowerPlant Class Reference
Collaboration diagram for emlab.gen.domain.technology.PowerPlant:
Collaboration graph

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 specifyAndPersist (long time, EnergyProducer energyProducer, PowerGridNode location, PowerGeneratingTechnology technology)
 
void specifyNotPersist (long time, EnergyProducer energyProducer, PowerGridNode location, PowerGeneratingTechnology technology)
 
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)
 

Detailed Description

Representation of a power plant

Author
jcrichstein
ejlchappin

Definition at line 46 of file PowerPlant.java.

Member Function Documentation

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

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

Definition at line 412 of file PowerPlant.java.

Here is the call graph for this function:

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

Definition at line 553 of file PowerPlant.java.

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

Definition at line 536 of file PowerPlant.java.

Here is the caller graph for this function:

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

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.

Definition at line 269 of file PowerPlant.java.

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

Definition at line 561 of file PowerPlant.java.

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

Definition at line 544 of file PowerPlant.java.

void emlab.gen.domain.technology.PowerPlant.specifyAndPersist ( long  time,
EnergyProducer  energyProducer,
PowerGridNode  location,
PowerGeneratingTechnology  technology 
)
inline

Persists and specifies the properties of a new Power Plant (which needs to be created separately before with new PowerPlant();

Do not forget that any change made here should be reflected in the ElectricityProducerFactory!!

Parameters
time
energyProducer
location
technology
Author
J.C.Richstein

Definition at line 484 of file PowerPlant.java.


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