DSIMA
 All Classes Namespaces Files Functions Variables
Producer Class Reference

Producer agent. More...

Inheritance diagram for Producer:
Collaboration diagram for Producer:

Public Member Functions

def __init__
 Constructor. More...
 
def initialize
 
def act
 
def referenceFlexPrice
 
def flexibilityEvaluation
 Evaluate and request the flexibility offers. More...
 
def xmlData
 Get the data to display. More...
 

Public Attributes

 nodes
 List of nodes with flexible production units. More...
 

Static Public Attributes

string baselinesDataFile = 'producer-baselines.dat'
 Name of the data file with the baselines. More...
 

Private Member Functions

def _settlement
 Settlement. More...
 
def _optimizeImbalance
 Optimize the final imbalance of the producer. More...
 
def _flexibilityActivation
 Activation of the contracted flexibility. More...
 
def _optimizeFlexibility
 Optimize the flexibility of the producer. More...
 
def _optimizeBaseline
 Optimize the consumption strategy of the producer. More...
 
def _readData
 Read the data file of the producer. More...
 

Private Attributes

 _dataFile
 CSV file with the fixed data of the problem. More...
 
 _avp
 
 _c
 Marginal cost for each node and each period. More...
 
 _piR
 Base reservation cost for each node and each period. More...
 

Detailed Description

Producer agent.

Constructor & Destructor Documentation

def __init__ (   self,
  dataFile,
  name = "" 
)

Constructor.

Parameters
dataFileData of the producer.
See also
_dataFile
Parameters
nameProducer's name.
See also
rename()

Member Function Documentation

def _flexibilityActivation (   self,
  data 
)
private

Activation of the contracted flexibility.

Parameters
dataData.
def _optimizeBaseline (   self,
  data,
  layer = None 
)
private

Optimize the consumption strategy of the producer.

Parameters
dataData.
layerLayer
def _optimizeFlexibility (   self,
  data 
)
private

Optimize the flexibility of the producer.

Parameters
dataData.
def _optimizeImbalance (   self,
  data 
)
private

Optimize the final imbalance of the producer.

Parameters
dataData.
def _readData (   self,
  data 
)
private

Read the data file of the producer.

Parameters
dataData.
def _settlement (   self,
  data 
)
private

Settlement.

Parameters
dataData.
def act (   self,
  data,
  layer 
)
def flexibilityEvaluation (   self,
  data 
)

Evaluate and request the flexibility offers.

Parameters
dataData.
def initialize (   self,
  data 
)
def referenceFlexPrice (   self,
  n,
  t 
)
def xmlData (   self,
  data 
)

Get the data to display.

Parameters
dataData.
Returns
XML data string.

Member Data Documentation

_avp
private
_c
private

Marginal cost for each node and each period.

_dataFile
private

CSV file with the fixed data of the problem.

_piR
private

Base reservation cost for each node and each period.

string baselinesDataFile = 'producer-baselines.dat'
static

Name of the data file with the baselines.

nodes

List of nodes with flexible production units.


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