Closed marlinarnz closed 1 year ago
Hello, we found an error in the functions analysismodel.analysis_pt_length and analysis_car_length.
it returned false pt_los['in_vehicle_length] car_los['in_vehicle_length] when there was NaN length into the links and road_links.
fast_assign work fine handling thoses nan and I have the same result using your method and fast_assign.
Dear developers, Recently, I had problems with quetzal's assignment methods. Both, the
assign
andfast_assign
methods, produced wrong results, i.e. a network load that did not correspond to the pkm computed in the LoS table by a magnitude of up to ten (depending on the mode). Hence, I tried around and found a method that works without errors and takes less than half the time. It's a vectorised method instead of the sequential method as currently implemented:The LoS table needs computed volumes and must be split in car and PT to update
car_los
andpt_los
. It takes 6.26 minutes per demand segment for a 15 million rows LoS table. Thefast_assign
method takes 14.5 minutes per segment.