From 0ede21ff88b8845517830172715a369678b16a07 Mon Sep 17 00:00:00 2001 From: amyheather Date: Thu, 3 Oct 2024 16:25:18 +0100 Subject: [PATCH] fix(reproduction): corrects arrivals from int to float, else model error --- reproduction/python_scripts/PODSimulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reproduction/python_scripts/PODSimulation.py b/reproduction/python_scripts/PODSimulation.py index 393860ee..d2702a3a 100644 --- a/reproduction/python_scripts/PODSimulation.py +++ b/reproduction/python_scripts/PODSimulation.py @@ -29,7 +29,7 @@ def __init__(self, capacities, parameterReader=None): """ self.maxTime = 60# 24*60=1440 minutes self.maxNumber = 500000 #entities - self.meanTBA = 1/100 #mean time between arrivals, minutes btw entities + self.meanTBA = 1/float(100) #mean time between arrivals, minutes btw entities self.capacities = capacities self.parameterReader = parameterReader