CO2 storage cost and reverse pipeline flow are paid to the model instead of charged
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Start with workflow/scripts/add_extra_components.py, especially add_co2_storage and add_co2_network, and reproduce the objective changes described using PyPSA 1.3.0. Trace how Store dispatch and reverse Link flow contribute to the objective, then compare modeling options for charging storage and pipeline flow correctly. Done when storage and either pipeline direction increase the objective by their stated per tonne costs.
索引モデルが issue の本文から書いたものです。
説明
Version Checks
- This bug exists on the develop branch of PyPSA-USA.
The Issue
With co2: storage: true, the cost of storing CO2 lowers the objective instead of raising it.
add_co2_storage puts the storage cost (USD/tCO2) on the marginal_cost of the co2 storage Store. PyPSA multiplies a Store's marginal_cost by its dispatch p, which is negative while the store fills. A store that only fills therefore earns its "cost" on every tonne injected.
The CO2 pipelines have the same problem in one direction. add_co2_network builds each pipeline as a single Link with p_min_pu=-1 and marginal_cost=4, so flow from bus1 to bus0 is paid 4 USD/t rather than charged.
Effects:
- CCS plants are subsidised by the storage cost of their node (about 3.5 USD/MWh for a CCGT at 10 USD/t) rather than charged it.
- Nodes with the highest storage "cost" are the most attractive. The county data goes up to 243 USD/t, where DAC plus storage could pay for itself (not tested).
Steps To Reproduce
On pypsa 1.3.0, a generator feeding a Link that sends 0.35 t/MWh to a capture bus with an extendable Store, 140 t injected in total:
Store marginal_cost |
Objective |
|---|---|
| 0 | 4000 |
| 10 | 2600 |
The objective falls by 10 USD/t x 140 t. For the Link, 20 t of reverse flow at marginal_cost=4 lowers the objective by 80.
Suggested Fix
Charge the storage cost on something that only flows one way, e.g. a Link from the capture bus to a separate storage bus with the cost as its marginal_cost (this Link can also carry an injection-rate limit). Model the pipelines as two one-way Links that share capacity, or as a bidirectional Link with the cost on absolute flow.
- 主要言語
- Python
- スター
- 154
- フォーク
- 58
- 平均マージ
- 3日 9時間
- マージ済み PR(30日)
- 51
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PyPSA/pypsa-usa のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
PyPSA/pypsa-usa の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
comet-ml/opik#9877 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Resource]: Flavianオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
hesreallyhim/awesome-claude-code#3736 · コメント 1 件 ·
-
area: trackers bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Review: WordPress copy/snapshot download media with no size cap and a hostname-only origin checkオープンperformance product:quill
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Community-Access/quill#2634 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信