From 58ed0fd1a4130fb8adb29ae125f26170b31dbaa9 Mon Sep 17 00:00:00 2001 From: Janek Laudan Date: Thu, 31 Oct 2024 14:32:14 +0100 Subject: [PATCH] Add tests for storage capacity under queue and kinematicWaves traffic dynamics (#3533) Co-authored-by: janekdererste --- .../qsim/qnetsimengine/QueueWithBuffer.java | 55 ++--- .../qnetsimengine/QueueWithBufferTest.java | 199 ++++++++++++++++++ 2 files changed, 228 insertions(+), 26 deletions(-) create mode 100644 matsim/src/test/java/org/matsim/core/mobsim/qsim/qnetsimengine/QueueWithBufferTest.java diff --git a/matsim/src/main/java/org/matsim/core/mobsim/qsim/qnetsimengine/QueueWithBuffer.java b/matsim/src/main/java/org/matsim/core/mobsim/qsim/qnetsimengine/QueueWithBuffer.java index 741763e4c87..947b2faa2a6 100644 --- a/matsim/src/main/java/org/matsim/core/mobsim/qsim/qnetsimengine/QueueWithBuffer.java +++ b/matsim/src/main/java/org/matsim/core/mobsim/qsim/qnetsimengine/QueueWithBuffer.java @@ -40,7 +40,6 @@ import org.matsim.core.config.groups.QSimConfigGroup.LinkDynamics; import org.matsim.core.config.groups.QSimConfigGroup.TrafficDynamics; import org.matsim.core.gbl.Gbl; -import org.matsim.core.gbl.MatsimRandom; import org.matsim.core.mobsim.framework.MobsimDriverAgent; import org.matsim.core.mobsim.qsim.interfaces.MobsimVehicle; import org.matsim.core.mobsim.qsim.interfaces.SignalGroupState; @@ -63,8 +62,8 @@ * Separating out the "lane" functionality from the "link" functionality. *

* Design thoughts: