add quadratic marginal cost for stores and storage units#655
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #655 +/- ##
==========================================
- Coverage 77.15% 77.13% -0.02%
==========================================
Files 27 27
Lines 6526 6526
Branches 1384 1384
==========================================
- Hits 5035 5034 -1
Misses 1198 1198
- Partials 293 294 +1 ☔ View full report in Codecov by Sentry. |
|
What's the plan for the implementation in the objective function? is there already linopy support for a quadratic objective? |
|
It's already done! Both in linopy and PyPSA (only linopy-based). |
|
Awesome! PyPSA/pypsa/optimization/optimize.py Lines 129 to 140 in 6ef116f Do you know by any chance whether non-diagonal quadratic objective function parameters are also supported by linopy now, in the spirit of: v A v where A is a quadratic matrix and v the vector of variables? |
|
Yes they are :) |
No description provided.