From 0b082b964e2246dd396159400fd40225d3b2c040 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Wed, 4 Dec 2024 14:41:19 +0100 Subject: [PATCH] Silence warnings re: units in .transport.ldv "output" for most technologies is dimensionless because ACT and the output commodities have the same units. --- message_ix_models/model/transport/ldv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message_ix_models/model/transport/ldv.py b/message_ix_models/model/transport/ldv.py index 292d0cc85..c89f5f1cf 100644 --- a/message_ix_models/model/transport/ldv.py +++ b/message_ix_models/model/transport/ldv.py @@ -299,7 +299,7 @@ def prepare_tech_econ( # Create base quantity for "output" parameter nty = tuple("nty") - c.add(k.output[0] * nty, wildcard(1.0, "gigavehicle km", nty)) + c.add(k.output[0] * nty, wildcard(1.0, "", nty)) for i, coords in enumerate(["n::ex world", "t::LDV", "y::model"]): c.add( k.output[i + 1] * nty,