Skip to content

Issue with Implementing Storage Feature in MESSAGEix Framework #883

Answered by shreeyashn20
shreeyashn20 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you @glatterf42 ! I was able to use storage feature in MESSAGEix Framework. I am sharing modified test code for storage feature which might be helpful for someone.

import logging
from itertools import product

import pandas as pd

from message_ix import Scenario
import ixmp

mp = ixmp.Platform()

import message_ix

scen = message_ix.Scenario(mp, model="Storage Test", scenario="baseline", version="new")

years=[2020]
scen.add_set("node", "node")
scen.add_set("commodity", "electr")
scen.add_set("level", "level")
scen.add_set("year", years)
scen.add_set("type_year", years)
scen.add_set("technology", ["wind_ppl", "gas_ppl"])
scen.add_set("mode", "M1")
output_specs = ["node", "electr", "…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@shreeyashn20
Comment options

@glatterf42
Comment options

@shreeyashn20
Comment options

Answer selected by shreeyashn20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Explaining features/usage; no code change needed
2 participants