iiasa / iiasa/message_ix

Automatics parameters such map_tec_time presenting weird behaviour

Open
#348 3 comments 0 reactions 0 assignees View on GitHub
timeslice
Dominant language
Jupyter Notebook
Stars
150
Forks
178
Avg merge
17h 32m
Merged PRs (30d)
2

Description

Dear

Let me try to explain this issue properly.

I have 4 sub time periods: [SUMMER, SPRING, WINTER, FALL]
and a parent time which is YEAR

I have a technology X that works on the sub-annual time, the seasons however, if I set a relation XR associated to this technology X when IXMP generates the gdx file it creates a map_tec_time and map_tec_act sets automatically but with time year also associated to the technology X.

Therefore, instead of get the result as I was expecting, such as:
X, node, year time=[SUMMER, SPRING, WINTER, FALL]
I got
X, node, year time=[SUMMER, SPRING, WINTER, FALL, **YEAR**]

If I try to pass those sets to the model manually I get the following error message:
`com.gams.api.GAMSException: Symbol map_tec_time exists already`

How can I deal with this issue?

All the Best and thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Start at the IXMP generation of map_tec_time and map_tec_act and reproduce the seasonal/year case described in the issue. Check how the automatically generated symbols interact with manually supplied symbols; done means the behavior and the duplicate-symbol error have a documented resolution.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.