Class MarketClearingResult


  • public class MarketClearingResult
    extends Object
    Holds clearing price, sold energy, and updated DemandOrderBook and SupplyOrderBook
    Author:
    Farzad Sarfarazi, Christoph Schimeczek
    • Constructor Detail

      • MarketClearingResult

        public MarketClearingResult​(double tradedEnergyInMWH,
                                    double marketPriceInEURperMWH)
        Instantiate with price and awarded energy; books are set separately
        Parameters:
        tradedEnergyInMWH - total awarded energy
        marketPriceInEURperMWH - uniform market clearing price
    • Method Detail

      • getDemandBook

        public DemandOrderBook getDemandBook()
        Returns:
        updated demand order book used to clear the market
      • getSupplyBook

        public SupplyOrderBook getSupplyBook()
        Returns:
        updated supply order book used to clear the market
      • getTradedEnergyInMWH

        public double getTradedEnergyInMWH()
        Returns:
        total awarded energy
      • getMarketPriceInEURperMWH

        public double getMarketPriceInEURperMWH()
        Returns:
        uniform market clearing price
      • setMarketPriceInEURperMWH

        public void setMarketPriceInEURperMWH​(double newPriceInEURperMWH)
        Update the market clearing price with the specified value
        Parameters:
        newPriceInEURperMWH - the new market clearing price in EUR per MWh
      • getSystemCostTotalInEUR

        public double getSystemCostTotalInEUR()
        Returns:
        total system cost from generation based on awarded bids and their associated marginal cost