def _isReactiveMarket(self):
        """ Returns a flag indicating the existance of offers/bids for reactive
            power.
        """
        vLoads = [g for g in self.case.generators if g.is_load]

        if [offbid for offbid in self.offers + self.bids if offbid.reactive]:
            haveQ = True
            logger.warning("Combined active/reactive power " \
                "market not yet implemented.")
            raise NotImplementedError
        else:
            haveQ = False

        combinedTypes = [DISCRIMINATIVE, FIRST_PRICE]#, LAO]

        if haveQ and vLoads and self.auctionType not in combinedTypes:
            logger.error("Combined active/reactive power markets with "
                "constant power factor dispatchable loads are only "
                "implemented for 'discriminative', 'lao' and 'first price' "
                "auction types.")

        return haveQ
def _isReactiveMarket ( self ) : vLoads = [ g for g in self . case . generators if g . is_load ] if [ offbid for offbid in self . offers + self . bids if offbid . reactive ] : haveQ = True logger . warning ( "Combined active/reactive power " "market not yet implemented." ) raise NotImplementedError else : haveQ = False combinedTypes = [ DISCRIMINATIVE , FIRST_PRICE ] if haveQ and vLoads and self . auctionType not in combinedTypes : logger . error ( "Combined active/reactive power markets with " "constant power factor dispatchable loads are only " "implemented for 'discriminative', 'lao' and 'first price' " "auction types." ) return haveQ
Returns a flag indicating the existance of offers/bids for reactive
            power.