DSIMA
 All Classes Namespaces Files Functions Variables
FSP Class Reference

Flexibility services provider Needed to inherit from a state agent and have the following properties: More...

Public Member Functions

def initialize
 
def settlement
 Settlement. More...
 
def referenceFlexPrice
 Get the reference flexibility price of the FSP. More...
 
def buildFlexPricesIndicators
 Build the flexibility prices indicators based on the new data. More...
 
def getForecastedNeeds
 Get the forecasted needs for each flexible nodes and each periods. More...
 
def fetchFlexibilityActivationToProvide
 Fetch the flexibility activation requests. More...
 
def resetDynamicRanges
 Reset the personal dynamic ranges. More...
 
def writeFlexbilityActivationToProvide
 Write the flexibility activation to provide to a data file. More...
 
def writeFlexObligations
 Write flexibility obligations. More...
 
def writeFlexbilityToProvide
 Write the flexibility to provide to a data file. More...
 
def writeFlexPricesIndicators
 Write a data file with the flexibility prices indicators. More...
 
def updateFlexibilityNeedsForecast
 Provide the flexibility needs to the forecast for the next rounds. More...
 
def xmlData
 Get the data to display. More...
 

Public Attributes

 flexPricesIndicatorsP
 Dictionary of T upward flexibility prices indicators where the key are the flexible nodes. More...
 
 flexPricesIndicatorsM
 Dictionary of T downward flexibility prices indicators where the key are the flexible nodes. More...
 
 fP
 Positive flexibility to provide for each flexible node and each period. More...
 
 fM
 Positive flexibility to provide for each flexible node and each period. More...
 
 flexNeedsForecast
 Forecasts of the flexibility needs for each node and each period. More...
 

Static Public Attributes

string flexIndicatorsDataFile = 'flexIndicators.dat'
 Name of the data file with the flexibility prices indicators. More...
 
string flexDataFile = 'flexBids.dat'
 Name of the data file with the flexibility bids. More...
 
string flexToActivatedDataFile = 'flexToActivate.dat'
 
string flexObligationsDataFile = 'flexObligations.dat'
 Name of the data file with the flexibility obligations ratios. More...
 

Detailed Description

Flexibility services provider Needed to inherit from a state agent and have the following properties:

  • name
  • 'costs' personal data
  • nodes, a list of nodes to consider The method initialize should be called in the state agent initialization phase.

Member Function Documentation

def buildFlexPricesIndicators (   self,
  T,
  upwardNeeds,
  downwardNeeds 
)

Build the flexibility prices indicators based on the new data.

Parameters
TNumber of periods.
upwardNeedsUpward flexibility needs for each flexible nodes and each periods.
downwardNeedsDownward flexibility needs for each flexible nodes and each periods.
def fetchFlexibilityActivationToProvide (   self,
  data 
)

Fetch the flexibility activation requests.

Parameters
data
def getForecastedNeeds (   self,
  data 
)

Get the forecasted needs for each flexible nodes and each periods.

Parameters
dataData.
Returns
Forecasted needs upward and downward in a two elements list.
def initialize (   self,
  data 
)
def referenceFlexPrice (   self,
  n,
  t 
)

Get the reference flexibility price of the FSP.

The children shoud implement this method.

Parameters
nnode.
tperiod.
def resetDynamicRanges (   self,
  data 
)

Reset the personal dynamic ranges.

Parameters
dataData.
def settlement (   self,
  data 
)

Settlement.

Parameters
dataData.
def updateFlexibilityNeedsForecast (   self,
  data 
)

Provide the flexibility needs to the forecast for the next rounds.

Parameters
dataData.
def writeFlexbilityActivationToProvide (   self,
  data 
)

Write the flexibility activation to provide to a data file.

The flexibility activation should be fetched first.

See also
fetchFlexibilityActivationToProvide .
Parameters
dataData.
def writeFlexbilityToProvide (   self,
  data 
)

Write the flexibility to provide to a data file.

The flexibility to provide should be fetched first.

See also
fetchFlexbilityToProvide .
Parameters
dataData.
def writeFlexObligations (   self,
  data 
)

Write flexibility obligations.

Parameters
dataData.
def writeFlexPricesIndicators (   self,
  T 
)

Write a data file with the flexibility prices indicators.

Parameters
TNumber of periods.
def xmlData (   self,
  data 
)

Get the data to display.

Parameters
dataData.
Returns
XML data string.

Member Data Documentation

string flexDataFile = 'flexBids.dat'
static

Name of the data file with the flexibility bids.

string flexIndicatorsDataFile = 'flexIndicators.dat'
static

Name of the data file with the flexibility prices indicators.

flexNeedsForecast

Forecasts of the flexibility needs for each node and each period.

The state list has the following form : [forecasts flexible node 1,forecasts flexible node 2, ...].

string flexObligationsDataFile = 'flexObligations.dat'
static

Name of the data file with the flexibility obligations ratios.

flexPricesIndicatorsM

Dictionary of T downward flexibility prices indicators where the key are the flexible nodes.

flexPricesIndicatorsP

Dictionary of T upward flexibility prices indicators where the key are the flexible nodes.

string flexToActivatedDataFile = 'flexToActivate.dat'
static
fM

Positive flexibility to provide for each flexible node and each period.

fP

Positive flexibility to provide for each flexible node and each period.


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