DSIMA
 All Classes Namespaces Files Functions Variables
DSO Class Reference

Distribution System Operator agent. More...

Inheritance diagram for DSO:
Collaboration diagram for DSO:

Public Member Functions

def __init__
 Constructor. More...
 
def initialize
 
def act
 
def setGridUsers
 Set the list of grid users. More...
 
def flexibilityEvaluation
 Evaluate the flexibility offers. More...
 
def xmlData
 Get the data to display. More...
 

Public Attributes

 N
 Number of nodes. More...
 
 nodes
 List of nodes. More...
 
 T
 Number of periods. More...
 
 L
 Number of lines. More...
 

Static Public Attributes

string networkFile = 'network.csv'
 Name of the data file for the network. More...
 
string baselinesFile = 'baselines.dat'
 Name of the data file with the baselines for the flexibility needs computation. More...
 
string baselinesFullFile = 'baselines-full.dat'
 Name of the data file with the baselines for all periods. More...
 
string qualifiedFlexibilityFile = 'qualified-flex.csv'
 Name of the data file with information on the qualified flexibility. More...
 
string accessRequestsFile = 'accessRequests.dat'
 Name of the data file with the access requests. More...
 

Private Member Functions

def _accessAgreement
 Define the access agreements. More...
 
def _settlement
 Settlement. More...
 
def _operation
 Operation of the network. More...
 
def _flexibilityActivation
 Activation of the contracted flexibility. More...
 
def _flexibilityNeedsAndDynamicRanges
 Define the flexibility needs for each node and the dynamic ranges for each actor, node and period. More...
 
def _flexibilityNeeds
 Define the flexibility needs for each node. More...
 
def _capacityNeeds
 Compute the capacity needs of the network. More...
 
def _writeAccessRequests
 Write the access requests data file. More...
 
def _writeRealBaselinesFull
 Write real baselines for all periods. More...
 
def _writeAnnouncedBaselinesFull
 Write announced baselines for all periods. More...
 
def _writeBaselineRanges
 Write for each node and each actor a range of baseline and the possible access restriction if the access bounds computation type is dynamic. More...
 
def _writeAnnouncedBaselines
 Write announced baselines for a single period. More...
 
def _readNetworkData
 

Private Attributes

 _networkDataFile
 CSV file with the network data. More...
 
 _qualifiedFlexibilityFile
 CSV file with information on the qualified flexibility. More...
 
 _gridUsers
 List of grid users with access contract. More...
 

Detailed Description

Distribution System Operator agent.

Constructor & Destructor Documentation

def __init__ (   self,
  networkDataFile,
  qualifiedFlexibilityFile,
  name = "DSO" 
)

Constructor.

Parameters
networkDataFileData of the network.
See also
_networkDataFile
Parameters
qualifiedFlexibilityFileData of the flexibility.
See also
_qualifiedFlexibilityFile
Parameters
nameDSO's name.
See also
rename()

Member Function Documentation

def _accessAgreement (   self,
  data 
)
private

Define the access agreements.

Parameters
dataData.
def _capacityNeeds (   self,
  data,
  proposals = False 
)
private

Compute the capacity needs of the network.

Parameters
dataData.
proposalsIf true, uses the proposal baselines instead of the final baselines.
def _flexibilityActivation (   self,
  data 
)
private

Activation of the contracted flexibility.

Parameters
dataData.
def _flexibilityNeeds (   self,
  data 
)
private

Define the flexibility needs for each node.

Parameters
dataData.
def _flexibilityNeedsAndDynamicRanges (   self,
  data 
)
private

Define the flexibility needs for each node and the dynamic ranges for each actor, node and period.

Parameters
dataData.
def _operation (   self,
  data 
)
private

Operation of the network.

Parameters
dataData.
def _readNetworkData (   self,
  data 
)
private
def _settlement (   self,
  data 
)
private

Settlement.

Parameters
dataData.
def _writeAccessRequests (   self,
  data 
)
private

Write the access requests data file.

Parameters
dataData.
def _writeAnnouncedBaselines (   self,
  data,
  t,
  proposals = False 
)
private

Write announced baselines for a single period.

Parameters
tPeriod.
dataData.
proposalsIf true, writes the proposal baselines instead of the final baselines.
def _writeAnnouncedBaselinesFull (   self,
  data,
  proposals = False 
)
private

Write announced baselines for all periods.

Parameters
dataData.
proposalsIf true, writes the proposal baselines instead of the final baselines.
def _writeBaselineRanges (   self,
  data 
)
private

Write for each node and each actor a range of baseline and the possible access restriction if the access bounds computation type is dynamic.

Parameters
dataData.
def _writeRealBaselinesFull (   self,
  data 
)
private

Write real baselines for all periods.

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

Evaluate the flexibility offers.

Parameters
dataData.
def initialize (   self,
  data 
)
def setGridUsers (   self,
  users 
)

Set the list of grid users.

Parameters
usersList of grid users.
def xmlData (   self,
  data 
)

Get the data to display.

Parameters
dataData.
Returns
XML data string.

Member Data Documentation

_gridUsers
private

List of grid users with access contract.

_networkDataFile
private

CSV file with the network data.

_qualifiedFlexibilityFile
private

CSV file with information on the qualified flexibility.

string accessRequestsFile = 'accessRequests.dat'
static

Name of the data file with the access requests.

string baselinesFile = 'baselines.dat'
static

Name of the data file with the baselines for the flexibility needs computation.

string baselinesFullFile = 'baselines-full.dat'
static

Name of the data file with the baselines for all periods.

L

Number of lines.

N

Number of nodes.

string networkFile = 'network.csv'
static

Name of the data file for the network.

nodes

List of nodes.

string qualifiedFlexibilityFile = 'qualified-flex.csv'
static

Name of the data file with information on the qualified flexibility.

T

Number of periods.


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