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

Public Member Functions

Iterable< LongTermContractfindLongTermContractsForEnergyProducerActiveAtTime (EnergyProducer energyProducer, long time)
 
Iterable< LongTermContractfindLongTermContractsForEnergyProducerForSegmentActiveAtTime (EnergyProducer energyProducer, Segment segment, long time)
 
Iterable< ContractfindLongTermContractsForEnergyConsumerActiveAtTime (EnergyConsumer energyConsumer, long time)
 
Iterable< LongTermContractfindLongTermContractsForEnergyConsumerForSegmentActiveAtTime (EnergyConsumer consumer, Segment segment, long time)
 
LongTermContract findLongTermContractForPowerPlantActiveAtTime (PowerPlant plant, long time)
 
Iterable< LongTermContractfindLongTermContractsForEnergyConsumerForSegmentForZoneActiveAtTime (EnergyConsumer consumer, Segment segment, Zone zone, long currentTick)
 
LongTermContract submitLongTermContractForElectricity (PowerPlant plant, DecarbonizationAgent seller, DecarbonizationAgent buyer, Zone zone, double price, double capacity, LongTermContractType longTermContractType, long time, LongTermContractDuration duration, boolean signed, Substance mainFuel, double fuelPassThroughFactor, double co2PassThroughFactor, double fuelPriceStart, double co2PriceStart)
 
LongTermContractOffer submitLongTermContractOfferForElectricity (EnergyProducer seller, PowerPlant plant, Zone zone, double price, double capacity, LongTermContractType longTermContractType, long time, LongTermContractDuration duration, Substance mainFuel, double fuelPassThroughFactor, double co2PassThroughFactor, double fuelPriceStart, double co2PriceStart)
 
void removeOffer (LongTermContractOffer offer)
 
void removeAllOffers ()
 
void reassignLongTermContractToNewPowerPlant (LongTermContract longTermContract, PowerPlant plant)
 

Detailed Description

Definition at line 46 of file ContractRepository.java.

Member Function Documentation

LongTermContract emlab.gen.repository.ContractRepository.submitLongTermContractForElectricity ( PowerPlant  plant,
DecarbonizationAgent  seller,
DecarbonizationAgent  buyer,
Zone  zone,
double  price,
double  capacity,
LongTermContractType  longTermContractType,
long  time,
LongTermContractDuration  duration,
boolean  signed,
Substance  mainFuel,
double  fuelPassThroughFactor,
double  co2PassThroughFactor,
double  fuelPriceStart,
double  co2PriceStart 
)
inline

Creates a long term contract

Returns

Definition at line 152 of file ContractRepository.java.


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