Fudge Factors, Units of Measure.

Use this forum to post Vensim related questions.
Post Reply
karankhosla
Senior Member
Posts: 107
Joined: Wed Nov 26, 2008 6:12 am

Fudge Factors, Units of Measure.

Post by karankhosla »

Greetings!

Could someone please help me understand why Vensim gives me an error for units of measure when I want to use equations such as the following:

Price = 10-0.00794*Q

Units of Measure that I would like in the model:
Q = {Units}, Price = {$/Month}

Vensim will not give me a clear on the Units Check for this formula, unless I add the following fudge factors to get Price in {$/Month}:

Price = 10-0.00794*(Q/(NORMAL Q*NORMAL Q)*NORMAL P)

Where:
NORMAL Q = 1 {Units}, NORMAL P = 1 {$/Month}

If you see the model attached for maximizing profits in a monopolistic firm, there are other problems; for example, I must have a dimensionless argument before I use a "power operator", Q^2, must be (Q/NORMAL Q)^2 in order to get through the units-check.

I don't want to compromise on my units!

Thank you very much!
Attachments
ProfitMaxMonoply.mdl
(5.57 KiB) Downloaded 277 times
Administrator
Super Administrator
Posts: 4838
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

Create two new constants (not sure what you should call them) and put the two numbers "10" and "0.00794" in them. Now give the constants the correct units and all should balance properly.

Tony.
Post Reply