EnergySystemsModellingLab / EnergySystemsModellingLab/MUSE_OS

Emission costs output doesn't work

未关闭
#421 0 条评论 0 个 reaction 已指派 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 摘要。