I'm a new person in Vensim. Now I have to do an exercise about simulation the development of "economy, resource and environment" of a society. But I have some problems about the "Units Check". There are something wrong with the DELAY3 functions,
Error in units for the following equation:
#increase of coal industry assets>DELAY3>LV1# =
INTEG( exploitation investment of coal
- #increase of coal industry assets>DELAY3>RT1# ,
#increase of coal industry assets>DELAY3>LV3# )
#increase of coal industry assets>DELAY3>LV1# --> yuan/Year
exploitation investment of coal --> yuan/Year
#increase of coal industry assets>DELAY3>RT1# --> yuan/Year
#increase of coal industry assets>DELAY3>LV3# --> yuan/Year
I have posted my model. Can anyone help me about this problem? Thanks a lot!
Vivian
Units of DELAY3 function?
Units of DELAY3 function?
Last edited by cwclwei on Mon Dec 20, 2010 9:15 pm, edited 1 time in total.
Re: Units of DELAY3 function?
Hi Vivian
In your delay formulation you should replace for example delay3(x,3) by delay(x,y) with y = 3 units of time. this will take away all the errors coming from units bad formulation in delays. You can too replace all values like delay3(x,3) * 0.56 by delay3(x,y) * C with C a constant with dmnl units. it is a better practice to avoid puting directly any value whose dimension is not defined in an equation.
Regards.
JJ
In your delay formulation you should replace for example delay3(x,3) by delay(x,y) with y = 3 units of time. this will take away all the errors coming from units bad formulation in delays. You can too replace all values like delay3(x,3) * 0.56 by delay3(x,y) * C with C a constant with dmnl units. it is a better practice to avoid puting directly any value whose dimension is not defined in an equation.
Regards.
JJ
Re: Units of DELAY3 function?
LAUJJL wrote:Hi Vivian
In your delay formulation you should replace for example delay3(x,3) by delay(x,y) with y = 3 units of time. this will take away all the errors coming from units bad formulation in delays. You can too replace all values like delay3(x,3) * 0.56 by delay3(x,y) * C with C a constant with dmnl units. it is a better practice to avoid puting directly any value whose dimension is not defined in an equation.
Regards.
JJ
It works!!! Thank you so much!!!!!!!!
Vivian