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

Public Member Functions

DecarbonizationAgent getBidder ()
 
void setBidder (DecarbonizationAgent 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
 

Detailed Description

Definition at line 27 of file Bid.java.

Member Function Documentation

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

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

Definition at line 72 of file Bid.java.

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

Changes the amount of a bid

Parameters
bidthe bid to change
amountthe new amount

Definition at line 129 of file Bid.java.

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

Changes the status of a bid

Parameters
bidthe bid to change
statusthe new status

Definition at line 142 of file Bid.java.


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