Menu

Commit [r18752]  Maximize  Restore  History

activating the use of qvehicle.getSizeInEquivalents() for the flow capacity calculation in the qnetsimengine (more specifically, in QLinkImpl).

As far as we can tell, nobody is using this EXCEPT for transit vehicles, which seem to have a hard coded sizeInEquivalents of 5.

Surprisingly, none of the tests failed in spite of the fact that there are transit vehicles with size larger than 1.

vsp_nagel 2012-03-15

changed /matsim/trunk/src/main/java/org/matsim/ptproject/qsim/QSim.java
changed /matsim/trunk/src/main/java/org/matsim/ptproject/qsim/qnetsimengine/QLinkImpl.java
changed /matsim/trunk/src/main/java/org/matsim/vehicles/VehicleTypeImpl.java
/matsim/trunk/src/main/java/org/matsim/ptproject/qsim/QSim.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/main/java/org/matsim/ptproject/qsim/qnetsimengine/QLinkImpl.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/main/java/org/matsim/vehicles/VehicleTypeImpl.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB