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

Public Member Functions

Iterable< BidfindAllBidsForForTime (@Param("time") long time)
 
Iterable< BidfindDemandBidsForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 
Iterable< BidfindAllAcceptedDemandBidsForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 
Iterable< BidfindOffersForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 
Iterable< BidfindAllAcceptedOffersForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 
Iterable< BidgetBidsForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("isSupply") boolean isSupply)
 
Iterable< BidfindOffersForMarketForTimeBelowPrice (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("price") double price)
 
Iterable< BidfindDemandBidsForMarketForTimeAbovePrice (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("price") double price)
 
double calculateDemandBidsForMarketForTimeForPrice (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("price") double price)
 
Iterable< BidfindDemandBidsForMarketForTimeForPrice (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("price") double price)
 
Iterable< BidfindOffersForMarketForTimeForPrice (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("price") double price)
 
double calculateOffersForMarketForTimeForPrice (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("price") double price)
 
double calculateTotalDemandForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 
double calculateTotalDemandForMarketForTimeForPrice (@Param("market") DecarbonizationMarket market,@Param("time") long time,@Param("price") double price)
 
double calculateTotalSupplyForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 
double calculateTotalSupplyPriceForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 
double calculateMinimumSupplyPriceForMarketForTime (@Param("market") DecarbonizationMarket market,@Param("time") long time)
 

Detailed Description

Repository for bids (partly adapted from Alfredas PGC model)

Author
jcrichstein
alfredas

Definition at line 35 of file BidRepository.java.

Member Function Documentation

Iterable<Bid> emlab.gen.repository.BidRepository.findAllBidsForForTime ( @Param("time") long  time)

Finds all demand bids for a market for a time

Parameters
market
time
Returns
the found bids
Iterable<Bid> emlab.gen.repository.BidRepository.findDemandBidsForMarketForTimeAbovePrice ( @Param("market") DecarbonizationMarket  market,
@Param("time") long  time,
@Param("price") double  price 
)

Find demand bids above a certain price, and return them in descending order.

Parameters
market
time
price
Returns
Iterable<Bid> emlab.gen.repository.BidRepository.findOffersForMarketForTime ( @Param("market") DecarbonizationMarket  market,
@Param("time") long  time 
)

Finds all supply bids for a market for a time. Cypher adapted from PGC (Alfredas)

Parameters
market
time
Returns
Iterable<Bid> emlab.gen.repository.BidRepository.getBidsForMarketForTime ( @Param("market") DecarbonizationMarket  market,
@Param("time") long  time,
@Param("isSupply") boolean  isSupply 
)

Find bids for a market for a time

Parameters
market
time
isSupplysupply or demand bids
Returns
the bids

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