openDAM.model.ComplexOrder module

class openDAM.model.ComplexOrder.ComplexOrder(id=0, curves={}, FT=0.0, VT=0.0, LG_down=None, LG_up=None, SSperiods=0, location=None)[source]

Bases: openDAM.model.Bid.Bid

Complex order, i.e. a step curve for each period, plus optionally a MIC constraint, ramp up/down constraints, and scheduled stop constraints.

Parameters:
  • curves – Dictionary where the key are periods and values are step curves.
  • FT – Fixed cost to be recovered (MIC condition)
  • VT – Variable cost to be recoverd (MIC condition)
  • ramp_down – Limit on the downward variation of the accepted volume between consecutive periods
  • ramp_up – Limit on the upward variation of the accepted volume between consecutive periods
  • SSperiods – Scheduled stop condition, i.e. number of periods to consider for shut down
  • location – a zone id.
collect()[source]

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

set_ids(ids)[source]