Data import from excel

Use this forum to post Vensim related questions.
Post Reply
cchab
Junior Member
Posts: 7
Joined: Fri Feb 11, 2005 4:33 pm

Data import from excel

Post by cchab »

Hi

I have a problem importing data from excel.

The data are only available at distinct time points

I did try to use the :hold backward: and :look forward" data
functions , but obtained the same results with and without
these functions...

I would to hold bakward data values ...

I send to you a short vensim program (test.mdl and the excel file (test.xls)

can you tell me what is wrong ?

Thanks

[Edited on 1-24-2007 by cchab]
Attachments
test.xls
(13.5 KiB) Downloaded 259 times
cchab
Junior Member
Posts: 7
Joined: Fri Feb 11, 2005 4:33 pm

vensim file

Post by cchab »

The vensim file was attached in my last message... sorry
Attachments
test.mdl
(1.35 KiB) Downloaded 280 times
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

It is all working exactly as you expect. The problem is that when graphing, Vensim only plots the points it has joined with straight lines, which are the data points from Excel.

If you look at the attached model, you will see I have introduced three aux variables, these show how the data points are actually used in Vensim.

Hope it clears things up.

Tony.
Attachments
test.mdl
(2.04 KiB) Downloaded 274 times
Post Reply