Vensim PLE - forecasting

Use this forum to post Vensim related questions.
Post Reply
Iss
Junior Member
Posts: 3
Joined: Fri Jun 09, 2006 9:57 pm

Vensim PLE - forecasting

Post by Iss »

Hi,
Does anyone know if there is a function named FORECAST in Vensim PLE ?If there isn't, then is there another way to forecast in vensim ple, or some other function that would do it instead of forecast? I would be glad if someone shared that information with me:)
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Forecast

Post by LAUJJL »

Hi

Forecast is the equivalent of
FORECAST=input*(1+TRD*horizon)
TRD = ZIDZ(input-AV,average time*AV)
AV=INTEG((input-AV)/average time,ininput)
as explained when you consult the index of forecast in the help.
All this works in PLE, and if the zidz does not work it is transformable too in a simple equation, with an if then else.
You can use, smooth or trend too, that have their equivalent explained too in simple equations.
It is to my opinion better to use the detailed equations than the original equation, because it is easier to understand how the formula works. It is more visible and easier to modify if you want to change how the function works.
Regards.
JJ
Iss
Junior Member
Posts: 3
Joined: Fri Jun 09, 2006 9:57 pm

Post by Iss »

Thank You for your help
Still, I can't find an equation that stands for AV, INTEG or TRD. The only equation that I see is ZIDZ, yet in order to count it I need to know value AV. And in order to count AV I need to know the INTEG, which to be counted needs AV:/ In that case, what is this AV and how to count it?:(
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

The molecules have an example of a forecast formulation. You can download them from

http://www.vensim.com/freedownload.html

(select Moleucle) - install and read the documentation. The above equations are actually pretty self explanatory (and complete)- INTEG is the Integration function and ZIDZ is a Zero if Divide by Zero function.
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Forecast

Post by LAUJJL »

Hi

Here is the forecast equations in a model.
Regards.
JJ
Attachments
forecast.mdl
(927 Bytes) Downloaded 615 times
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Forecast

Post by LAUJJL »

Hi

joined the right model, the previous was empty.
Regards.
Attachments
forecast.mdl
(3.22 KiB) Downloaded 643 times
Iss
Junior Member
Posts: 3
Joined: Fri Jun 09, 2006 9:57 pm

Post by Iss »

Finally!
My model works:) Thank you for your indispensable help!I wouldn't manage to create that model without forecast. And now it works:)
Regards
Post Reply