DSIMA
|
Class that generates the system from a data folder. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | generate |
Generate the system. More... | |
def | run |
def | hasConverged |
Static Public Attributes | |
string | pricesFile = "prices.csv" |
Name of the file with the prices. More... | |
string | networkFile = 'network.csv' |
Name of the data file for the network. More... | |
Private Member Functions | |
def | _prepareOperationFolder |
Prepare the operation folder. More... | |
def | _readGeneralData |
Read general data of the system. More... | |
Private Attributes | |
_dataFolder | |
Folder with the data of the whole market. More... | |
_outputSolutionFile | |
XML output solution file. More... | |
_dso | |
DSO. More... | |
_tso | |
TSO. More... | |
_retailers | |
List of retailers. More... | |
_producers | |
List of producers. More... | |
Class that generates the system from a data folder.
The system class defines the following global data:
def __init__ | ( | self, | |
dataFolder, | |||
maximumIterations = 1000 , |
|||
outputSolutionFile = "data.xml" , |
|||
convergenceTolerance = None |
|||
) |
Constructor.
dataFolder | Folder with the data of the whole market. |
maximumIterations | Maximum number of iterations. |
outputSolutionFile | XML output solution file. |
convergenceTolerance | Numerical tolerance for the convergence criteria. If none, set to options.EPS |
|
private |
Prepare the operation folder.
Creates it if needed and copy the models into it.
|
private |
Read general data of the system.
def generate | ( | self | ) |
Generate the system.
def hasConverged | ( | self | ) |
def run | ( | self | ) |
|
private |
Folder with the data of the whole market.
|
private |
DSO.
|
private |
XML output solution file.
|
private |
List of producers.
|
private |
List of retailers.
|
private |
TSO.
|
static |
Name of the data file for the network.
|
static |
Name of the file with the prices.