Units of Measure

53 views
Skip to first unread message

mattia....@gmail.com

unread,
May 22, 2018, 9:27:12 AM5/22/18
to message_ix
Hi everybody,

I want to know if it is possible to add a new unit of measure for the emissions.
I saw that this is defined in "kg/kWa", but I want to define it in "kg/km".

Thank you


FRICKO Oliver

unread,
May 24, 2018, 2:33:14 AM5/24/18
to mattia....@gmail.com, message_ix

After importing and loading the connection to the database, a unit can be added as follows (in python):

 

import message_ix

mp = ix.Platform()

mp.add_unit("kg/km", comment="Adding new unit required for …")

 

best,

 

Oliver

--
You received this message because you are subscribed to the Google Groups "message_ix" group.
To unsubscribe from this group and stop receiving emails from it, send an email to message_ix+...@googlegroups.com.
To post to this group, send email to messa...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/message_ix/5c4e534d-ef56-4199-bf72-64dfba606f84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages