Menu

Commit [r600]  Maximize  Restore  History

Changes how departing vehicles are handled: They are now restricted to the same flow-capacity as other vehicles driving on that link. Before, it was possible that driving vehicles were not placed in the buffer because there was no flow-capacity left in this time-step, but vehicles departing (=in the waiting list) were still placed in the buffer, effectively enlarging the capacity of this link. This could lead to situations where more vehicles left a link that should have been possible according to the specified capacity. Added 2 Test Cases to ensure this behaviour in the future, and adapted three test cases to this new traffic flow.

mrieser 2008-02-08

changed /matsim/trunk/src/org/matsim/mobsim/QueueLink.java
changed /matsim/trunk/test/input/org/matsim/evacuation/EvacuationQSimTest/testEvacuationQSim/events.txt.gz
changed /matsim/trunk/test/input/org/matsim/evacuation/EvacuationQSimTest/testEvacuationQSim/plans.xml.gz
changed /matsim/trunk/test/input/org/matsim/examples/OnePercentBerlin10sTest/testOnePercent10s/events.txt.gz
changed /matsim/trunk/test/input/org/matsim/replanning/ReRoutingTest/testReRouting/plans.xml.gz
changed /matsim/trunk/test/src/org/matsim/mobsim/QueueSimulatorTest.java
/matsim/trunk/src/org/matsim/mobsim/QueueLink.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/test/src/org/matsim/mobsim/QueueSimulatorTest.java Diff Switch to side-by-side view
Loading...