JU Yiyi

Results 11 comments of JU Yiyi

Hi @meng25meng, let me know if you need further support to close this issue. 中文也可以。 Looking forward to seeing you at the MESSAGE capacity-building workshop!

It seems you met an error when trying to use `.add_par`. `sc.add_par('input', df_new)` This line looks fine. Based on your description, the error seems to be caused by a mismatch...

`sc.add_par('input', df_new)` 最终这个`df_new`的数据结构是参数`input`所需要的数据结构就可以。 比如,`input`所需要的数据结构里,列包括'vintage', 'year_all'及其他,不包括'1965'等。 如果中途改变过数据结构,可以使用melt()或者wide_to_long()等变回原来的结构。

Hi @meng25meng, good to see that you have the input gdx file here `\data\MsgData_MESSAGEix-BR_baseline.gdx`. Thus what the error suggested is something unsolvable in the equation COMMODITY_BALANCE, which I am afraid...

> 之前那个问题可能是数据调试的不合适,同时没有许可证,导致我的问题 原理如此。好的。 > 关于messageix匹配的版本我没有找到具体说明,更换之前版本是gams45 理论上GAMS v29版本以上都是可以运行的。您已经顺利生成了input gdx文件。 对于这个Equation infeasible的问题,如果没有追加的疑问的话,可以关闭这个issue吗? (其他问题我们再另开discussion或者issue继续讨论。)

input表示此项技术需要的各种commodity投入,output表示此项技术的产出的commodity。 其单位并不必须是百分比。 (图中技术为煤炭资源开采技术,ext_coal_TJ技术的input数值表示TJ地区开采的煤炭资源在全国一次煤炭能源中的占比,output数值表示TJ地区开采的煤炭资源用于二次能源转换的占比。) 请参照技术参数描述。 https://docs.messageix.org/projects/models/en/latest/pkg-data/codelists.html#technologies-technology-yaml

同质性最终产品(Electricity|coal)可以使用同样的technology名,并在node(region)中设置区域。 关于“煤电的电量一直显示为0” ,从截图上看sub_ppl_*的output为`electricity`,可以检查`electricity`是否在commodity set内,以及能源需求侧的技术是否使用`electricity`作为input。

从截图上看,已向commdodity添加了新的set(我假设对应的parameter也利用add_par成功添加了?),包含四种commodity。 至少有2种demand在使用electricity这项commodity。 为了排除是否为report功能问题。麻烦确认。 此excel截图是利用message的report功能生成的吗? 这些新添加的technology和commodity可以在output gdx file中找到吗?

Let's try this first. EPS in the marginal can mean a lot of things. How is the `DEMAND` (the variable) look in your output gdx file (I guess the demand...

Can you then check the `input` and `output` in your output gdx file by commodity to make sure they are well linked? In your current chain "coal/gas/uranium -> electricity ->...