|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractReportVariables
net.sourceforge.jasa.report.DirectRevelationReportVariables
net.sourceforge.jasa.report.EquilibriumReportVariables
net.sourceforge.jasa.report.SurplusReport
net.sourceforge.jasa.replication.electricity.ElectricityStats
public class ElectricityStats
Calculate the NPT market-power and efficiency variables. These are described in detail in the following paper.
"Market Power and Efficiency in a Computational Electricity Market with Discriminatory Double-Auction Pricing" Nicolaisen, J.; Petrov, V.; and Tesfatsion, L. in IEEE Transactions on Evolutionary Computation, Vol. 5, No. 5. 2001
![]() |
![]() |
![]() |
![]() |
Field Summary | |
---|---|
protected int |
auctionAge
The age of the market in rounds. |
protected int |
buyerCap
The total generating-volume of buyers. |
protected double |
equilibPrice
The approximated equilibrium price. |
protected int |
numBuyers
The number of buyers. |
protected int |
numSellers
The number of sellers. |
protected double |
pBT
Profits of the buyers in truthful bidding. |
protected double |
pST
Profits of the sellers in truthful bidding. |
protected double |
rCap
The relative generating-volume of buyers to sellers. |
protected double |
rCon
The relative concentration of sellers to buyers. |
protected int |
sellerCap
The total generating-volume of sellers. |
protected double |
sMPB
Strategic market-power for buyers. |
protected double |
sMPS
Strategic market-power for sellers. |
static ReportVariable |
VAR_RCAP
|
static ReportVariable |
VAR_RCON
|
Fields inherited from class net.sourceforge.jasa.report.SurplusReport |
---|
eA, mPB, mPS, pBA, pBCE, pSA, pSCE, VAR_EA, VAR_MPB, VAR_MPS, VAR_PBA, VAR_PBCE, VAR_PSA, VAR_PSCE |
Fields inherited from class net.sourceforge.jasa.report.EquilibriumReportVariables |
---|
equilibriaFound, matchedShouts, maxPrice, minPrice, quantity, VAR_EXISTS, VAR_MAXPRICE, VAR_MINPRICE, VAR_QUANTITY |
Fields inherited from class net.sourceforge.jasa.report.DirectRevelationReportVariables |
---|
auction, shoutEngine, shouts |
Constructor Summary | |
---|---|
ElectricityStats()
|
|
ElectricityStats(Market auction)
|
Method Summary | |
---|---|
void |
calculate()
|
protected int |
calculateAuctionAge()
|
protected double |
calculateEquilibriumPrice()
|
void |
calculateStrategicMarketPower()
|
java.lang.Object |
clone()
|
double |
equilibQuant(TokenTradingAgent t,
double price)
|
protected double |
getCapacity(AbstractTradingAgent trader)
|
double |
getEA()
Get the market-efficiency calculation. |
double |
getPBT()
Get the truthful buyer profits calculation. |
protected double |
getProfits(AbstractTradingAgent trader)
|
double |
getPST()
Get the truthful seller profits calculation. |
double |
getRCAP()
|
double |
getRCON()
|
double |
getSMPB()
Get the strategic buyer market-power calculation. |
double |
getSMPS()
Get the strategic seller market-power calculation. |
java.util.Map<java.lang.Object,java.lang.Number> |
getVariableBindings()
|
void |
initialise()
|
ElectricityStats |
newCopy()
|
void |
produceUserOutput()
|
protected void |
simulateTruthfulBidding()
|
java.lang.String |
toString()
|
protected double |
truthProfits(double singleRoundProfits)
|
Methods inherited from class net.sourceforge.jasa.report.SurplusReport |
---|
calculateActualProfits, equilibriumProfits, getMPB, getMPS, getPBA, getPBCE, getPSA, getPSCE |
Methods inherited from class net.sourceforge.jasa.report.EquilibriumReportVariables |
---|
afterPropertiesSet, calculateEquilibriaPriceRange, calculateEquilibriaQuantity, calculateMidEquilibriumPrice, compute, equilibriaExists, eventOccurred, getMaxPrice, getMinPrice, getQuantity |
Methods inherited from class net.sourceforge.jasa.report.DirectRevelationReportVariables |
---|
dispose, enumerateTruthfulShout, initialise, setAuction, simulateDirectRevelation |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double rCon
protected double rCap
protected double sMPB
protected double sMPS
protected double pBT
protected double pST
protected int numSellers
protected int numBuyers
protected int buyerCap
protected int sellerCap
protected double equilibPrice
protected int auctionAge
public static final ReportVariable VAR_RCAP
public static final ReportVariable VAR_RCON
Constructor Detail |
---|
public ElectricityStats(Market auction)
public ElectricityStats()
Method Detail |
---|
public void calculate()
calculate
in class SurplusReport
protected double calculateEquilibriumPrice()
public void initialise()
initialise
in class SurplusReport
protected double getProfits(AbstractTradingAgent trader)
protected double getCapacity(AbstractTradingAgent trader)
public double equilibQuant(TokenTradingAgent t, double price)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public ElectricityStats newCopy()
public java.lang.String toString()
toString
in class SurplusReport
protected void simulateTruthfulBidding()
public void calculateStrategicMarketPower()
protected double truthProfits(double singleRoundProfits)
protected int calculateAuctionAge()
public double getEA()
getEA
in class SurplusReport
public double getSMPB()
public double getSMPS()
public double getPST()
public double getPBT()
public double getRCAP()
public double getRCON()
public void produceUserOutput()
produceUserOutput
in class SurplusReport
public java.util.Map<java.lang.Object,java.lang.Number> getVariableBindings()
getVariableBindings
in class SurplusReport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |