iiasa / iiasa/message_ix

inv_tec definition - does not allow adding inv_cost to technologies in cloned modell

Open
#219 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
150
Forks
178
Avg merge
17h 32m
Merged PRs (30d)
2

Description

Hey!

I am running into an issue, when I clone a model and try to add technologies with investment costs. It seems like the ixmp auto-generated set inv_tec does not update when inv_cost is updated.
What I see, is that the inv_cost are added to the db and consequently also exported to the gdx data input file. However, since the inv_tec parameter is not updated in neither the db nor the gdx, the inv_cost do not get passed to the gdx output file.

Any idea on how to handle this issue?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by cloning a model, adding technologies with investment costs, and comparing inv_cost and inv_tec in the database and exported GDX files. Determine why updating inv_cost does not update the auto-generated inv_tec set. Done means the investment costs are passed through to the GDX output after the cloned model is updated.

Written by the indexing model from the issue text.

Assessment

Domain
databases
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.