Re: [sumo-dev] Mesoscopic changes

2018-11-30 Thread Jakob Erdmann
Hello Jan, (2) there already exists infrastructure within Sumo to compute emissions for mesosim using the default compute() interface (admittedly, this is very hard to figure out from the code alone). This is done by implementing the method MSMoveReminder::notifyMoveInternal >From this method you

Re: [sumo-dev] Mesoscopic changes

2018-11-29 Thread Jan Přikryl
Dear Jakob, sorry for the delay, a colleague of mine who did many of the microscopic changes for the trolleybus + overhead line mode was away and I did not want to provide only part of the information. So: On Sun, 11 Nov 2018, at 1:17 PM, Jakob Erdmann wrote: > (2) I don't understand why the type

Re: [sumo-dev] Mesoscopic changes

2018-11-11 Thread Jakob Erdmann
Dear Jan, (1) Yes. We do the same thing (e.g MSDevice_Tripinfo::notifyEnter) (2) I don't understand why the type of simulation needs to be known within HelpersEnergy:compute(). Can you elaborate? (3) If all you need is a lookup from lanes to an ID there may be better ways to approach this. You