EMLab-Generation2
emlab.gen.domain.market.Bid Class Reference
Inheritance diagram for emlab.gen.domain.market.Bid:
emlab.gen.domain.market.electricity.PowerPlantDispatchPlan

Public Member Functions

EMLabAgent getBidder ()
 
void setBidder (EMLabAgent agent)
 
DecarbonizationMarket getBiddingMarket ()
 
void setBiddingMarket (DecarbonizationMarket market)
 
double getAmount ()
 
void setAmount (double amount)
 
double getAcceptedAmount ()
 
void setAcceptedAmount (double acceptedAmount)
 
double getPrice ()
 
void setPrice (double price)
 
long getTime ()
 
void setTime (long time)
 
boolean isSupplyBid ()
 
void setSupplyBid (boolean supplyBid)
 
int getStatus ()
 
void setStatus (int status)
 
void updateAmount (double amount)
 
void updateStatus (int status)
 
String toString ()
 

Static Public Attributes

static int FAILED = -1
 
static int NOT_SUBMITTED = 0
 
static int SUBMITTED = 1
 
static int PARTLY_ACCEPTED = 2
 
static int ACCEPTED = 3
 

Member Function Documentation

◆ getAmount()

double emlab.gen.domain.market.Bid.getAmount ( )

IMPORTANT this returns the capacity that was bid into the spot market, so for the depending class PPDP this means without the capacity reserved for long-term markets.

Returns

◆ updateAmount()

void emlab.gen.domain.market.Bid.updateAmount ( double  amount)

Changes the amount of a bid

Parameters
bidthe bid to change
amountthe new amount

◆ updateStatus()

void emlab.gen.domain.market.Bid.updateStatus ( int  status)

Changes the status of a bid

Parameters
bidthe bid to change
statusthe new status

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