Importing "Time" in System Dynamic Modeler (Netlogo)

9 views
Skip to first unread message

Mohammad Hossein Bagheri

unread,
Nov 29, 2022, 1:01:40 PM11/29/22
to netlogo-users
Hi,
I have already made a  System Dynamic model in Vensim. But Now, I am trying to develop that in Netlogo (by System Dynamic Modeler).
Although, Vensim have Lookup tools to import "Time" (which use time as the input) , I could not find this option in Netlogo. So. I use "list" to define my data on variable that I think it is not correct. Please Help.
a.jpg

Pradeesh Kumar K V

unread,
Nov 30, 2022, 9:29:02 AM11/30/22
to netlogo-users
You can use the table extension to represent the data in the same way as the LookUp function in Vensim. But additionally, you will have to define a linear interpolation function to account for values that fall between these two given points.

For example, if your input time value is equal to 1.5 (continuous time) but the data available are for time values 1 (1, 100) and 2 (2,200), then you will have to create a linear model that uses these two given points to calculate the output for any input falling between these two data points.

--
You received this message because you are subscribed to the Google Groups "netlogo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-users/1dba6583-00ca-420a-a505-1a6d01c30301n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages