-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Battery Component profits from simultaneous in- and outflow #218
Comments
With the correct loss rate and efficientcy coefficients, eomof handels everything on its own and correctly. The reason for the constant loading in #212 appears when -vac_in <= vac_out and -vac_in > variable grid cost, as it oemof does not distinguish between artificial or normal costs and makes profits from high inflow (negative cost) although outflow with equal vac as there is energy loss on in and out flow (e. g. 100 Ah * 0.95 * 0.95 = 90.25 Ah). As energy flowing out is less, than inflow, even equal +/-vac results in a net negative value. => vac_in and vac_out should always be below the grid costs. |
With these changes, only one consistency criteroin is broken: Could we modify max_power in battery component to:
This solves this issue, do you think it creates others? I used these files to create plots for consistency checks: |
The problem of simultaneous charging and discharging seen for MPC example #212 (comment) for specific variable artificial costs is a known issue within oemof, that is already resolved by introducing a custom constraint within version 0.4, which does not yet contain the piecewise linear transformer used by smooth. Probably, this component will be merged within the next release, we could then use, but might still take some time. So, based on the oemof-code copy i was able to use the constraint functionality already for SMOOTH's current oemof version 0.3.3. without flow count constraintwith flow count constraints |
- temporally adopt constraint function from oemof 0.4 until, SMOOTH switches dependency - make Battery flows nonconvex to be able to use its status of activity - add the limited flow count constraint to the oemof model Resolves simultanious in and out flow of #218
PR #223 was merged containing the new maximum nominal power definition |
- use new constraint feature from oemof 0.4 - make Battery flows nonconvex to be able to use its status of activity - add the limited flow count constraint to the oemof model Resolves simultanious in and out flow of #218
- use new constraint feature from oemof 0.4 - make Battery flows nonconvex to be able to use its status of activity - add the limited flow count constraint to the oemof model Resolves simultanious in and out flow of #218
Solved with #261 |
Because of the usage of niominal value in the P_max_in and P_max_out definitions, the battery can't be used for MPC Simulations.
Idea:
Silmlify with Nominal Value for MPC compliance.
For Coherence updated Component should have these properties:
Discharge and Charge Symmetrical
keep 100 % possible
Same behaviour 1 min and 60 min interval time
The text was updated successfully, but these errors were encountered: