Unit : It is possible to have (k*pas) *(k*km) = M*km*pas

Use this forum to post Vensim related questions.
Post Reply
paccoba
Newbie
Posts: 1
Joined: Tue Jul 02, 2019 7:07 am
Vensim version: DSS

Unit : It is possible to have (k*pas) *(k*km) = M*km*pas

Post by paccoba »

I begin with an an exemple, I have two variables :

- passengers
------> Value = 12
------> Unit = k*pas

and

- distanceMean
------> Value = 3
------> Unit = k*km

and I multiply them, to get :

- mobility
------> Value = 36
------> Unit = k*k*km*pas

So my question is :

Is it possible to define a unit "k" for kilo and unit "M" for Mega to transform the unit of the last variable in M*km*pas ? I would like to keep unit consistency when I use the "unit check" tool

Thank you for your anwser

Pacco
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Unit : It is possible to have (k*pas) *(k*km) = M*km*pas

Post by Administrator »

You would usually have something like
- passengers
------> Value = 12
------> Unit = kpas

and

- distanceMean
------> Value = 3
------> Unit = kkm

and I multiply them, to get :

- mobility
------> Value = 36
------> Unit = kpas*kkm
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Unit : It is possible to have (k*pas) *(k*km) = M*km*pas

Post by tomfid »

You could define a variable called "kilos per mega" with units k*k/M and use that to make the conversion.
Post Reply