DSIMA
|
Distribution System Operator agent. More...
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... | |
Distribution System Operator agent.
def __init__ | ( | self, | |
networkDataFile, | |||
qualifiedFlexibilityFile, | |||
name = "DSO" |
|||
) |
Constructor.
networkDataFile | Data of the network. |
qualifiedFlexibilityFile | Data of the flexibility. |
name | DSO's name. |
|
private |
Define the access agreements.
data | Data. |
|
private |
Compute the capacity needs of the network.
data | Data. |
proposals | If true, uses the proposal baselines instead of the final baselines. |
|
private |
Activation of the contracted flexibility.
data | Data. |
|
private |
Define the flexibility needs for each node.
data | Data. |
|
private |
Define the flexibility needs for each node and the dynamic ranges for each actor, node and period.
data | Data. |
|
private |
Operation of the network.
data | Data. |
|
private |
|
private |
Settlement.
data | Data. |
|
private |
Write the access requests data file.
data | Data. |
|
private |
Write announced baselines for a single period.
t | Period. |
data | Data. |
proposals | If true, writes the proposal baselines instead of the final baselines. |
|
private |
Write announced baselines for all periods.
data | Data. |
proposals | If true, writes the proposal baselines instead of the final baselines. |
|
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.
data | Data. |
|
private |
Write real baselines for all periods.
data | Data. |
def act | ( | self, | |
data, | |||
layer | |||
) |
def flexibilityEvaluation | ( | self, | |
data | |||
) |
Evaluate the flexibility offers.
data | Data. |
def initialize | ( | self, | |
data | |||
) |
def setGridUsers | ( | self, | |
users | |||
) |
Set the list of grid users.
users | List of grid users. |
def xmlData | ( | self, | |
data | |||
) |
Get the data to display.
data | Data. |
|
private |
List of grid users with access contract.
|
private |
CSV file with the network data.
|
private |
CSV file with information on the qualified flexibility.
|
static |
Name of the data file with the access requests.
|
static |
Name of the data file with the baselines for the flexibility needs computation.
|
static |
Name of the data file with the baselines for all periods.
L |
Number of lines.
N |
Number of nodes.
|
static |
Name of the data file for the network.
nodes |
List of nodes.
|
static |
Name of the data file with information on the qualified flexibility.
T |
Number of periods.