integrating real time data with eclipse abm platform [message #732331] |
Tue, 04 October 2011 10:20  |
Eclipse User |
|
|
|
Hi,
I'm new to this area. Appreciate if you could kindly clarify following quaries.
1. I just want to know how can I integrate a real data source that contains human movements with SEIR epidemic model example. Is it possible in eclipse agent based modeling platform?
2. Even though I was able to run the model I couldn't find the behavioral editor as illustrated in the video. Is there a way to enable it?
3. Is there a step by step guide for creating the epidemic model?
Thanks
Samitha
|
|
|
Re: integrating real time data with eclipse abm platform [message #733403 is a reply to message #732331] |
Tue, 04 October 2011 12:39   |
Eclipse User |
|
|
|
Hi Samitha,
samitha wrote on Tue, 04 October 2011 10:20Hi,
I'm new to this area. Appreciate if you could kindly clarify following quaries.
1. I just want to know how can I integrate a real data source that contains human movements with SEIR epidemic model example. Is it possible in eclipse agent based modeling platform?
It is certainly possible, but also of course ambitious. I'm helping a colleague right now with a model that uses more complex movement patterns. To actually map to real human movement patterns might warrant a GIS layer, something we've experimented with but haven't released. But the issues run deeper than that, as in order to simulate real world contagion patterns, you would need a tremendous amount of data and either deep behavioral models or very micro level human movement data. I think a lot could be done with some kind of in between approach. Did you have a data source in mind?
Quote:2. Even though I was able to run the model I couldn't find the behavioral editor as illustrated in the video. Is there a way to enable it?
Glad to hear that all worked for you. The behavioral editor is something that has been developed by Metascape. We haven't released a public version since a public beta a while back. We'll look into doing that.
Quote:3. Is there a step by step guide for creating the epidemic model?
There is just the tutorial for the "Stupid Model" in the docs -- hopefully you found that. Also, have you seen the series of articles on my blog?
http://milesparker.blogspot.com/2009/05/agent-based-model-for-influenza-h1n1.html
http://milesparker.blogspot.com/2009/05/experimenting-with-agent-based-model.html
http://milesparker.blogspot.com/2009/05/running-agent-based-model-of-influenza.html
cheers,
Miles
|
|
|
|
Re: integrating real time data with eclipse abm platform [message #733553 is a reply to message #733552] |
Tue, 04 October 2011 23:10   |
Eclipse User |
|
|
|
samitha wrote on Tue, 04 October 2011 23:05Hi,
Thank You for the prompt reply. Actually my concern is this. For each agent, if I have a data base of real movements and if I have already converted them into movements in (x,y) space with appropriate time stamps, could I include that to describe the movements of the agents rather than applying a random movement with out involving a GIS layer. For example agent K start its journey from point (x1,y1) at time t = t1 and it comes to point (x2,y2) at time t = t5 and so on.
Oh yeah, that would totally work. You'd probably want some custom java in there to accomplish but it shouldn't be too difficult. Check out the Ascape API docs, but basically you can just do:
Method:
//some routine to get x,y given period t..
agent.moveTo(new Coordinate2DDiscrete(x, y));
|
|
|
|
|
|
Re: integrating real time data with eclipse abm platform [message #734196 is a reply to message #734194] |
Thu, 06 October 2011 21:39  |
Eclipse User |
|
|
|
samitha wrote on Thu, 06 October 2011 21:32Hi,
I'm using a escape model. Little bit confused with what you referred as a Modeling Project as I started working on the eclipse abm platform exactly week ago.
You can do a straight Escape project or and Escape Modeling project. If you do the latter you could have the issues you describe below. See the description in the action references below for one good way of doing that. Basically you just delegate the method out to a static class somewhere so you don't have to hassle with code generation, protected regions etc...
http://www.eclipse.org/amp/documentation/contents/Modeler_Guide.html#Reference_2
Note that you should probably just create a copy of the Epidemic model and make sure you change the package name (in the root context) so that the two models won't both be generated to the same place.
Quote:Now those two methods are in a class called "Individual". Should I make them empty methods and override them in a sub class of Individual Class?
See above for a better way of doing this.
hth!
|
|
|
Powered by
FUDForum. Page generated in 0.03299 seconds