04-04-2012 11:30 PM
Thanks. Initially i used time delay inside the while loop, set it to 0.01 i.e is like setting the sampling period of 15minutes (0.01041667day). The final time of the simulation 60x60x24x14days(1209600s) but this lead to no synchronization between the while loop and simulation loop, therefore i have changed to 0.0104167 so that immeadiately the sample is read the simulation loop will also read it. But ideally the final simulation time is 14days (1209600secs), this is my major problem configuring this time so that each sample data is read at interval of 15minutes (900secs), from t=0 to the last t=13.98958days. Thanks once more
04-06-2012 12:32 PM
Have you tried putting your final time at 900 seconds instead? Can you adjust your data to serve this? It seems this rounding could be the source of the inaccuracy.
04-06-2012 07:49 PM
Thanks so much. I tried 900secs but it was giving me NaN as the output. This timing issue is my problem.
04-09-2012 05:49 PM
Is it at all possible to get your data formatted in a different way? Where is it from? What format options did you have for it?
04-09-2012 10:00 PM
Yes you can format it, provided the values are not tempered and the required results will be obtained. Thanks