openDAM.model.Bid module

class openDAM.model.Bid.Bid(location=None, type='B')[source]

Bases: object

Abstract class for all types of Bids.

acceptance = None

Acceptance variable, in [0,1], result of the computation

collect()[source]

Call this method to add the order to the orderbook. Need be reimplemented in classes inheriting from Bid.

location = None

Zone where the bid is located

type = None

Type of bid