Open 54549877777 opened 3 years ago
As always difficult to debug from remote. Easiest solution presumably would be to comment out the line that calls otfvis. Then the iterations would just run to the end. If you really want to have otfvis pop up, then what happens is the following:
Does this help?
Thank you for your answer,it help a lot . I saw on the instructional video that otfvis did not appear after someone clicked on start, but got the shutdown completed and the correct output. What happened after I clicked on the start was exactly the opposite. Why is this happening?
Presumably depends on the fact if the OTFVis line in the code is commented out or not. We go a bit back and forth on that.
Hello Everyone, I had successfully get the gui show shutdown completed once, and the results obtained can be visualized by via. But later, neither eclipse nor idea can get the shutdown complete, the OTFVis will pop up, and the results obtained cannot be visualized by via. Here is the code: 2021-02-26 00:36:26,881 INFO MobsimListenerManager:53 assigned class org.matsim.core.mobsim.framework.listeners.MobsimListener to interface org.matsim.core.mobsim.framework.listeners.MobsimBeforeCleanupListener 2021-02-26 00:36:26,926 INFO EventsManagerImpl:134 event # 1 D:\Program Files (x86)\matsim-example-project\scenarios\equil\otfsettings.vcfg 2021-02-26 00:36:26,928 INFO QNetsimEngine:346 SIMULATION (QNetsimEngine) AT 05:58:30 : #links=0 #nodes=1 2021-02-26 00:36:26,928 INFO EventsManagerImpl:134 event # 4 2021-02-26 00:36:26,928 INFO QSim:531 SIMULATION (NEW QSim) AT 05:58:30 : #Veh=100 lost=0 simT=0.0s realT=0s; (s/r): 0.0 2021-02-26 00:36:28,012 INFO OTFClientQuadTree:144 read constant data 2021-02-26 00:36:28,150 INFO OTFVisFrame:109 created MainFrame 2021-02-26 00:36:28,151 INFO OTFVisFrame:112 got OTFVis config 2021-02-26 00:36:28,163 INFO OTFVisFrame:115 created HostControlBar 2021-02-26 00:36:28,163 INFO OTFVisFrame:116 created drawer 2021-02-26 00:36:28,345 INFO MatsimResource:108 Resource 'otfvis/marker.png' not found locally. May not be fatal. 2021-02-26 00:36:28,376 INFO MatsimResource:108 Resource 'icon18.png' not found locally. May not be fatal. 2021-02-26 00:37:26,623 INFO MemoryObserver:41 used RAM: 108 MB free: 145 MB total: 254 MB 2021-02-26 00:38:26,627 INFO MemoryObserver:41 used RAM: 108 MB free: 145 MB total: 254 MB 2021-02-26 00:39:26,630 INFO MemoryObserver:41 used RAM: 108 MB free: 145 MB total: 254 MB 2021-02-26 00:40:26,642 INFO MemoryObserver:41 used RAM: 109 MB free: 144 MB total: 254 MB 2021-02-26 00:41:26,644 INFO MemoryObserver:41 used RAM: 109 MB free: 144 MB total: 254 MB 2021-02-26 00:42:26,659 INFO MemoryObserver:41 used RAM: 109 MB free: 144 MB total: 254 MB 2021-02-26 00:43:26,673 INFO MemoryObserver:41 used RAM: 109 MB free: 144 MB total: 254 MB thanks for your help!