Skip to content

Commit

Permalink
Remove .model.disutility & docs; adjust imports
Browse files Browse the repository at this point in the history
upstreamed in #13
  • Loading branch information
khaeru committed Jul 29, 2024
1 parent 840890a commit 11d60f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions message_ix_models/model/transport/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

from message_ix_models import ScenarioInfo
from message_ix_models.util import eval_anno, load_private_data
from message_ix_models.model import bare, build
from message_ix_models.model import bare, build, disutility
from message_ix_models.model.structure import get_codes
from sdmx.model import Annotation, Code

from message_data.model import disutility
from message_data.model.transport.utils import consumer_groups


Expand Down Expand Up @@ -142,7 +141,7 @@ def main(context, scenario, **options):
lu = dict(level="useful", unit="km")
disutility.add(
scenario,
consumer_groups=consumer_groups(),
groups=consumer_groups(),
technologies=generate_set_elements("technology", "LDV"),
template=Code(
id="transport {technology} usage",
Expand Down

0 comments on commit 11d60f4

Please sign in to comment.