Commit 25cf9e2
feat: edit marginal costs and dispatch of biomass/biogas generators in CBA (#719)
* feat: set marginal costs for biomass and biogas generators
* feat: remove volume limits on biomass and biogas dispatch
* chore: remove checks and logs
* chore: remove logger and update docs
* refac: make simple refactoring and add comments
* feat: revert `scripts/cba/solve_cba_network.py` back to `master`
* feat: add slack to biomass/biogas dispatch `e_sum_min`
* feat: increase slack to 40%
* docs: add #719 to doc/release_notes
* refac: use `n_msv.snapshots` instead of `msv_mp.index`
Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org>
* feat: directly set marginal price as marginal cost, instead of adding
Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org>
* chore: edit comment
Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org>
* feat: create config option `cba.biomass_biogas_slack` for slack instead of hardcoding
* refac: filter by both carriers and volume limits
* refac: remove setting marginal cost dataframe
* chore: add type hints
* feat: add `cba.biomass_biogas_slack` config option as rule input
* fix: add back Generator type
* docs: add #719 to doc/release_notes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* chore: add details in comments of configs
* docs: change function description
* chore: edit comment for slack in config/test/config.tyndp.yaml
Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org>
* doc: edit link in PR description
Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org>
* refac: change `has_volume_limit` to bool
* feat: remove `e_sum` energy budget constraint on biomass/biogas slack
* feat: remove `cba.biomass_biogas_slack` config option
* refac: remove `get_components_with_volume_limits()` function
* docs: edit PR description in doc/release_notes
---------
Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent a220946 commit 25cf9e2
3 files changed
Lines changed: 54 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
| 138 | + | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
199 | 245 | | |
200 | 246 | | |
201 | 247 | | |
| |||
359 | 405 | | |
360 | 406 | | |
361 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
362 | 411 | | |
363 | 412 | | |
364 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 194 | | |
213 | 195 | | |
214 | 196 | | |
| |||
341 | 323 | | |
342 | 324 | | |
343 | 325 | | |
344 | | - | |
| 326 | + | |
345 | 327 | | |
346 | 328 | | |
347 | 329 | | |
| |||
0 commit comments