Hello, you may be able to achieve your objectives without modifying the source code of SUMO. As I understand your objective, you do not intend to modify the vehicle behavior and just want to use their positions as mobile monitoring locations. You can build your model of emission sources outside sumo (optionally using the vehicles as additional emission sources) and then post-process the monitored emissions in the programming environment of your choice (Python, Matlab, Java). Using output such as http://sumo.dlr.de/wiki/Simulation/Output/FCDOutput http://sumo.dlr.de/wiki/Simulation/Output/EmissionOutput should be sufficient to achieve your goals. regards, Jakob
2017-06-27 16:37 GMT+02:00 Le Van Duc <[email protected]>: > Dear ALL, > > I am currently studying the vehicular sensor network for air pollution > monitoring. I am a very beginner with SUMO. I have studied the basic of > SUMO about installation, creating a simple traffic simulation, integrating > a real street map obtained from OpenStreetMap to SUMO, ect. > > My goal is to simulate a vehicular sensor network, in which multiple > vehicles periodically collect the air quality (e.g., CO, CO2 concentration) > at their location and then send the reading values to a center for further > analysis. I think in my scenario I first need modify the source code of > SUMO to simulate air pollution emission sources. Then, enable the vehicle > to read the pollution emission at their locations, and send the reading to > the center. So on... > > There may be many things I need to study to achieve my goal. However, I > found that the SUMO is very large, and contains many difference tools. And > it may take very long time for me to study entire SUMO and find the > necessary tools to obtain my simulation goal. I do not know where and how I > should start? > > I would appreciate very much If you could give me any advise or specific > document tutorial about this problem. Even I have not find the way how to > modify the source code of SUMO and compile to enable the effect of the > change. > > Any advise from your learning experiences is significant to me. > > Best regards, > Le Van Duc. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
