Page 1 of 1

GET TIME VALUE for PLE Plus

Posted: Mon Jun 04, 2018 5:27 pm
by SteveVijayan
Can GET TIME VALUE function be used in PLE Plus?

Re: GET TIME VALUE for PLE Plus

Posted: Mon Jun 04, 2018 6:04 pm
by Administrator
No, Vensim PLE cannot read from external data files (which is what GET TIME VALUE does). The help system does mention that it is not available in PLE or PLE Plus.

See
http://www.vensim.com/documentation/ind ... _value.htm

Re: GET TIME VALUE for PLE Plus

Posted: Mon Jun 04, 2018 9:10 pm
by SteveVijayan
Thank you.

Re: GET TIME VALUE for PLE Plus

Posted: Tue Jun 05, 2018 12:33 pm
by tomfid
What do you need it for? Maybe there's another way.

Re: GET TIME VALUE for PLE Plus

Posted: Tue Jun 05, 2018 1:03 pm
by SteveVijayan
I am modeling arrival and departure rates of an entity which varies by hour-of-day.

For example, 6 entities may arrive at simulation time (in hours) 7, 3 entities arrive at hour 10, 3 depart at hour 12, etc.

I need to specify these arrival and departure rates by simulation time.

Thanks!

Re: GET TIME VALUE for PLE Plus

Posted: Tue Jun 05, 2018 1:44 pm
by tomfid
You could put them in a lookup.

Re: GET TIME VALUE for PLE Plus

Posted: Tue Jun 05, 2018 4:51 pm
by Administrator
SteveVijayan wrote: Tue Jun 05, 2018 1:03 pm I am modeling arrival and departure rates of an entity which varies by hour-of-day.

For example, 6 entities may arrive at simulation time (in hours) 7, 3 entities arrive at hour 10, 3 depart at hour 12, etc.

I need to specify these arrival and departure rates by simulation time.

Thanks!
So do you only want the simulation time?

Re: GET TIME VALUE for PLE Plus

Posted: Wed Jun 27, 2018 6:00 pm
by SteveVijayan
Yes, thats correct. I am looking to create a table based on simulation time.

Re: GET TIME VALUE for PLE Plus

Posted: Wed Jun 27, 2018 6:18 pm
by tomfid
arrivals = arrival table(time/unit time)
unit time == 1 ~ with unit of whatever your time unit is; this suppresses warnings
arrival table ( { make this a lookup containing your data } )

Re: GET TIME VALUE for PLE Plus

Posted: Tue Jul 10, 2018 8:44 pm
by SteveVijayan
Thanks Tomfid. I'll try this.