DSIMA
 All Classes Namespaces Files Functions Variables
FlexibilityPlatform Class Reference

Platform to centralize the flexibility. More...

Inheritance diagram for FlexibilityPlatform:
Collaboration diagram for FlexibilityPlatform:

Public Member Functions

def __init__
 
def initialize
 
def act
 
def clean
 Clean the flexibility platform of all registration. More...
 
def activateSPBid
 Activate a single period bid. More...
 
def activateECBid
 Activate an energy constrained period bid. More...
 
def getAcceptedECBidRequests
 
def getAcceptedSPBidRequests
 
def getAcceptedECBids
 
def getAcceptedSPBids
 
def registerFSU
 Register a flexibility service user. More...
 
def registerECBid
 Register a energy constrained bid. More...
 
def registerSPBid
 Register a single period. More...
 
def requestECBid
 Request a energy constrained bid. More...
 
def requestSPBid
 Request a single period. More...
 
def ECBidsCount
 Get the number of energy constrained bids. More...
 
def spBidsCount
 Get the number of classic control bids. More...
 
def fsuToPriorityRequest
 Assign a priority to request. More...
 
def fsuToPriority
 

Static Public Attributes

string ecBidsDataFile = "ecBids.dat"
 Name of the data file with the energy constrained bids. More...
 
string spBidsDataFile = "spBids.dat"
 Name of the data file with the single period bids. More...
 

Private Member Functions

def _getAcceptedBidRequests
 Function to get the accepted requests from a bid list. More...
 
def _settlement
 Settlement. More...
 
def _clearing
 Clearing of the flexibility platform. More...
 
def _writeRegisteredSPBids
 Write the registered single periods to the single periods data file. More...
 
def _writeRegisteredECBids
 Write the registered energy constrained bids to the flexible loads data file. More...
 

Private Attributes

 _FSUs
 List of flexibility service users. More...
 
 _ecBids
 List of registered energy constrained bids. More...
 
 _spBids
 List of registered single periods. More...
 

Detailed Description

Platform to centralize the flexibility.

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def _clearing (   self,
  data 
)
private

Clearing of the flexibility platform.

Parameters
dataData.
def _getAcceptedBidRequests (   self,
  bidList,
  buyer 
)
private

Function to get the accepted requests from a bid list.

Parameters
bidListList of bids.
buyerBuyer.
Returns
List of requests.
def _settlement (   self,
  data 
)
private

Settlement.

Mainly monitor the opposite usage of flexibility.

def _writeRegisteredECBids (   self,
  data,
  dsoCosts = False,
  allBids = True 
)
private

Write the registered energy constrained bids to the flexible loads data file.

Parameters
dataData.
dsoCostsConsider DSO costs instead of the normal one. Default: False.
allBidsIf false, write only obligation bids. Default : True
def _writeRegisteredSPBids (   self,
  data,
  dsoCosts = False,
  allBids = True 
)
private

Write the registered single periods to the single periods data file.

Parameters
dataData.
dsoCostsConsider DSO costs instead of the normal one. Default: False.
allBidsIf false, write only obligation bids. Default : True
def act (   self,
  data,
  layer 
)
def activateECBid (   self,
  request,
  modulation,
  data 
)

Activate an energy constrained period bid.

Parameters
requestRequest of the bid.
modulationRequested modulation to activate for each period.
dataData.
def activateSPBid (   self,
  request,
  modulation,
  data 
)

Activate a single period bid.

Parameters
requestRequest of the bid.
modulationRequested modulation to activate.
dataData.
def clean (   self,
  data 
)

Clean the flexibility platform of all registration.

Parameters
dataData.
def ECBidsCount (   self)

Get the number of energy constrained bids.

Returns
number of energy constrained bids.
def fsuToPriority (   fsu)
def fsuToPriorityRequest (   r)

Assign a priority to request.

Parameters
rRequest.
def getAcceptedECBidRequests (   self,
  buyer 
)
def getAcceptedECBids (   self,
  owner 
)
def getAcceptedSPBidRequests (   self,
  buyer 
)
def getAcceptedSPBids (   self,
  owner 
)
def initialize (   self,
  data 
)
def registerECBid (   self,
  b,
  data 
)

Register a energy constrained bid.

Parameters
bECBid.
dataData.
def registerFSU (   self,
  fsu 
)

Register a flexibility service user.

Parameters
fsuFlexibility service user.
def registerSPBid (   self,
  b,
  data 
)

Register a single period.

Parameters
bClassic bid.
dataData.
def requestECBid (   self,
  bidId,
  buyer,
  reservation 
)

Request a energy constrained bid.

Parameters
bidIdBid Id.
buyerBuyer.
reservationReservation indicator.
def requestSPBid (   self,
  bidId,
  buyer,
  w,
  W 
)

Request a single period.

Parameters
bidIdBid Id.
buyerBuyer.
wUpward flexibility request (<0).
WDownward flexibility request (>0).
def spBidsCount (   self)

Get the number of classic control bids.

Returns
number of classic control bids.

Member Data Documentation

_ecBids
private

List of registered energy constrained bids.

_FSUs
private

List of flexibility service users.

This attribute is not cleaned by the the clean method.

_spBids
private

List of registered single periods.

string ecBidsDataFile = "ecBids.dat"
static

Name of the data file with the energy constrained bids.

string spBidsDataFile = "spBids.dat"
static

Name of the data file with the single period bids.


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