-
Notifications
You must be signed in to change notification settings - Fork 182
faq 110562458
by Kai Nagel on 2017-07-11 07:31:55
<proxied>
Dear Prof. Nagel,
I an a PHD student from Tongji University in China,I want to make a study about the urban traffic emission.But I face a problem of emission-0.8.0.jar programe.
I use the following command to run the emissions-0.8.0.jar:
java –Xmx2000m -cp matsim-0.8.0\MATSim-0.8.0.jar;emissions-0.8.0\emissions-0.8.0.jar org.matsim.contrib.emissions.EmissionModule
But the error occured,and the progarme can’t work,the emissions window never appear.Can you give me some suggestions?Thank you very much!
This is the Printscreen.
by Kai Nagel on 2017-07-11 07:52:11
Hello,
- The recommended place to look up information about extensions is http://matsim.org/extensions .
- In the emissions case, this points to http://matsim.org/javadoc . There, you find that version 0.8.0 is not supported, but you can go to the info for 0.8.1.
- This eventually goes to http://matsim.org/apidocs/emissions/0.8.1/ . Which states that you need to run
RunEmissionToolOnlineExample
orRunEmissionToolOfflineExample
from theexample
(!!) package. Could you please try that?
Best wishes
Kai
PS: 0.8.0 will probably work in the same way but please understand that our support is voluntary and so we need to restrict the number of versions that we support.
PPS: Could you please let us know where you found the info the run EmissionsModule so we can remove that information?
by Benjamin Kickhöfer on 2017-07-13 06:56:49
Dear Cui,
I have little experience with running the emission tool from the command line with jars. However, I think you should try to follow s suggestion in (2) and (3) above.
Please bear in mind that http://ci.matsim.org:8080/job/MATSim_contrib_M2/org.matsim.contrib$emissions/javadoc/org/matsim/contrib/emissions/package-summary.html indicates that there is newer code (e.g. RunEmissionToolOnlineExampleV2
).
Additionally, after fixing your setup, you need to construct the input files yourself, following the instructions from the URL above.
Please let us know if/how you solved your problem.
Cheers,
Benjamin
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq