EnergySystemsModellingLab / EnergySystemsModellingLab/MUSE_OS

Emission costs output doesn't work

オープン
#421 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
29
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

I get this error when I use the `emission_costs` output:

```
File "C:\Users\tbland\Documents\Code\MUSE_OS\src\muse\outputs\mca.py", line 871, in sector_emission_costs
i = (np.where(envs))[0][0]
~~~~~~~~~~~~~~~~~~~^^^
IndexError: index 0 is out of bounds for axis 0 with size 0
```

This happens both with MUSE 1.1.0 and the dev version

Relates to the `sector_emission_costs` function in `outputs/mca.py`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。