order_data: inputs for electrical or heat "consumption" are converted to efficiencies or filtered out
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
scripts/compile_cost_assumptions.py の order_data、2045~2054 行付近から始め、tech_data の元の値と最終的なデータ出力を比較してください。“Electrical” または “Heat” を含むインデックスがどのように分類されるかを確認し、次に、消費量の入力値が変換またはフィルタリングされず、変更されないままであることを検証してください。最終的に生成される CSV ファイルに期待される消費量データが含まれていることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Checklist
ISSUE:
When adding new technologies (e.g. from DEA) which are consuming electricity or heat (i.e. processes for e- fuel production), the electricity and heat consumption is read from the initial excel files but filtred out in the final df, or re-calculated as electrical or heat efficiency
Following the main, if the indexes "electricity consumption" and "heat consumption" are present in the original excel file they are correctly saved in the df "tech_data" but are not included (or strangely modified) in the df "data".
this happens within function "order_data" because all the indexes containing "Electrical" or "Heat" are converted to efficiencies:
https://github.com/PyPSA/technology-data/blob/98fa9218d57638a7156c33dc07749ac3624bd974/scripts/compile_cost_assumptions.py#L2045-L2054
This requires extra code specific for each technology to bypass this issue, which is not sustainable in the long term.
e.g.: https://github.com/PyPSA/technology-data/blob/98fa9218d57638a7156c33dc07749ac3624bd974/scripts/compile_cost_assumptions.py#L2056-L2093
Error Message
there is no error in the code, but the final .csv files have the wrong data
Suggestion
modify this part of the code :
https://github.com/PyPSA/technology-data/blob/98fa9218d57638a7156c33dc07749ac3624bd974/scripts/compile_cost_assumptions.py#L2045-L2054
to don't label electrical and heat consumption as efficiencies.
- 主要言語
- Python
- スター
- 130
- フォーク
- 59
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PyPSA/technology-data のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
PyPSA/technology-data#271 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
PyPSA/technology-data#284 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
PyPSA/technology-data#283 ·
-
feature
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
PyPSA/technology-data#282 · コメント 4 件 ·
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PyPSA/technology-data#281 ·
PyPSA/technology-data の issue をすべて見る
似ている issue
-
agent-ready documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
instance instance add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
searxng/searx-instances#939 · コメント 1 件 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100