DSIMA
|
Platform to centralize the flexibility. More...
Public Member Functions | |
def | __init__ |
def | initialize |
def | act |
def | clean |
Clean the flexibility platform of all registration. More... | |
def | activateSPBid |
Activate a single period bid. More... | |
def | activateECBid |
Activate an energy constrained period bid. More... | |
def | getAcceptedECBidRequests |
def | getAcceptedSPBidRequests |
def | getAcceptedECBids |
def | getAcceptedSPBids |
def | registerFSU |
Register a flexibility service user. More... | |
def | registerECBid |
Register a energy constrained bid. More... | |
def | registerSPBid |
Register a single period. More... | |
def | requestECBid |
Request a energy constrained bid. More... | |
def | requestSPBid |
Request a single period. More... | |
def | ECBidsCount |
Get the number of energy constrained bids. More... | |
def | spBidsCount |
Get the number of classic control bids. More... | |
def | fsuToPriorityRequest |
Assign a priority to request. More... | |
def | fsuToPriority |
Static Public Attributes | |
string | ecBidsDataFile = "ecBids.dat" |
Name of the data file with the energy constrained bids. More... | |
string | spBidsDataFile = "spBids.dat" |
Name of the data file with the single period bids. More... | |
Private Member Functions | |
def | _getAcceptedBidRequests |
Function to get the accepted requests from a bid list. More... | |
def | _settlement |
Settlement. More... | |
def | _clearing |
Clearing of the flexibility platform. More... | |
def | _writeRegisteredSPBids |
Write the registered single periods to the single periods data file. More... | |
def | _writeRegisteredECBids |
Write the registered energy constrained bids to the flexible loads data file. More... | |
Private Attributes | |
_FSUs | |
List of flexibility service users. More... | |
_ecBids | |
List of registered energy constrained bids. More... | |
_spBids | |
List of registered single periods. More... | |
Platform to centralize the flexibility.
def __init__ | ( | self | ) |
|
private |
Clearing of the flexibility platform.
data | Data. |
|
private |
Function to get the accepted requests from a bid list.
bidList | List of bids. |
buyer | Buyer. |
|
private |
Settlement.
Mainly monitor the opposite usage of flexibility.
|
private |
Write the registered energy constrained bids to the flexible loads data file.
data | Data. |
dsoCosts | Consider DSO costs instead of the normal one. Default: False. |
allBids | If false, write only obligation bids. Default : True |
|
private |
Write the registered single periods to the single periods data file.
data | Data. |
dsoCosts | Consider DSO costs instead of the normal one. Default: False. |
allBids | If false, write only obligation bids. Default : True |
def act | ( | self, | |
data, | |||
layer | |||
) |
def activateECBid | ( | self, | |
request, | |||
modulation, | |||
data | |||
) |
Activate an energy constrained period bid.
request | Request of the bid. |
modulation | Requested modulation to activate for each period. |
data | Data. |
def activateSPBid | ( | self, | |
request, | |||
modulation, | |||
data | |||
) |
Activate a single period bid.
request | Request of the bid. |
modulation | Requested modulation to activate. |
data | Data. |
def clean | ( | self, | |
data | |||
) |
Clean the flexibility platform of all registration.
data | Data. |
def ECBidsCount | ( | self | ) |
Get the number of energy constrained bids.
def fsuToPriority | ( | fsu | ) |
def fsuToPriorityRequest | ( | r | ) |
Assign a priority to request.
r | Request. |
def getAcceptedECBidRequests | ( | self, | |
buyer | |||
) |
def getAcceptedECBids | ( | self, | |
owner | |||
) |
def getAcceptedSPBidRequests | ( | self, | |
buyer | |||
) |
def getAcceptedSPBids | ( | self, | |
owner | |||
) |
def initialize | ( | self, | |
data | |||
) |
def registerECBid | ( | self, | |
b, | |||
data | |||
) |
Register a energy constrained bid.
b | ECBid. |
data | Data. |
def registerFSU | ( | self, | |
fsu | |||
) |
Register a flexibility service user.
fsu | Flexibility service user. |
def registerSPBid | ( | self, | |
b, | |||
data | |||
) |
Register a single period.
b | Classic bid. |
data | Data. |
def requestECBid | ( | self, | |
bidId, | |||
buyer, | |||
reservation | |||
) |
Request a energy constrained bid.
bidId | Bid Id. |
buyer | Buyer. |
reservation | Reservation indicator. |
def requestSPBid | ( | self, | |
bidId, | |||
buyer, | |||
w, | |||
W | |||
) |
Request a single period.
bidId | Bid Id. |
buyer | Buyer. |
w | Upward flexibility request (<0). |
W | Downward flexibility request (>0). |
def spBidsCount | ( | self | ) |
Get the number of classic control bids.
|
private |
List of registered energy constrained bids.
|
private |
List of flexibility service users.
This attribute is not cleaned by the the clean method.
|
private |
List of registered single periods.
|
static |
Name of the data file with the energy constrained bids.
|
static |
Name of the data file with the single period bids.