Replies: 5 comments 3 replies
-
Not clear to me yet what would be better. Anyway we need non-served-energy and may need spillage (oversupply) variables in the Demand/hub assets. If we include them there, perhaps not weird to have them in the storage asset. |
Beta Was this translation helpful? Give feedback.
-
To me both are acceptable. Although
|
Beta Was this translation helpful? Give feedback.
-
From what I understand, option 1 sounds better, because it aligns with oversupply and to avoid adding new "things" to the model unless we absolutely have to. I can imagine there are lots of "features" like this that can pile up and build a mess if we're not careful. |
Beta Was this translation helpful? Give feedback.
-
But also, I'm curious how it works with a >= constraint. When would the optimal be >? |
Beta Was this translation helpful? Give feedback.
-
@datejada Can we close this and make an issue? Or is it still in discussion? |
Beta Was this translation helpful? Give feedback.
-
For hydro storage, it is relevant to have a spillage variable. There are two options to model this:
USING FLOW VARIABLES Keeping the model general, and if the user wants to create a spillage variable, then he needs to create a new
demand
asset (e.g., ground or sink) and then create a flow from the storage to this asset with an associated cost (e.g., penalty cost of XXX €/unit).PROS: we keep the model general and don't create specific variables to model this feature. In addition, we keep the model general, so there are no changes in the code as it is today for the storage balance (the penalty cost of spillage is in the cost of the flow variable).
CONS: The spillage is a flow; therefore, it is an extra level of abstraction for the users (maybe it is not that bad if we guide the user with a tutorial)
CHANGES: we need to change the code to allow the
consumers
balance to be either an==
or>=
because in the case of the balance in the spillage, the balance is a greater or equal constraint, not equality.ADD MORE DATA/PROPERTIES TO THE ASSET: Create the
spillage
variable explicitly, add it to the storage balance constraints, and add the data to the asset.PROS: The slack variable
spillage
is clearly in the equation because it is explicitly defined as a variable.CONS: To avoid creating the extra variables when we don't want the
spillage
(e.g., in a battery), we need additional input data in the files to identify if it has the option of spillage. In addition, the penalty cost also needs to be defined as a property of the asset.CHANGES: Add the new variables, the input data, and the outputs from the new input data.
What do you think @gnawin @g-moralesespana @clizbe?
Beta Was this translation helpful? Give feedback.
All reactions