Commit 84569594 authored by Georgios Dagkakis's avatar Georgios Dagkakis

dump updated for the examples where SimPy3 does not process the events of the simulation end

parent c4fefcad
......@@ -5,9 +5,9 @@
"_class": "Dream.Exit",
"id": "E1",
"results": {
"lifespan": 483.49062278839347,
"takt_time": 1.019108280254777,
"throughput": 1413
"lifespan": 483.16660764872523,
"takt_time": 1.0191218130311614,
"throughput": 1412
}
},
{
......
......@@ -9,9 +9,9 @@
"_class": "Dream.Exit",
"id": "E1",
"results": {
"lifespan": 5.993741307371349,
"takt_time": 1.0013908205841446,
"throughput": 1438
"lifespan": 5.993736951983299,
"takt_time": 1.001739735560195,
"throughput": 1437
}
},
{
......
......@@ -5,10 +5,10 @@
"_class": "Dream.Exit",
"id": "E1",
"results": {
"lifespan": 720.687581415545,
"takt_time": 0.6252713851498046,
"throughput": 2303,
"unitsThroughput": 46060
"lifespan": 720.3751086012163,
"takt_time": 0.6253258036490009,
"throughput": 2302,
"unitsThroughput": 46040
}
},
{
......
......@@ -9,9 +9,9 @@
"_class": "Dream.Exit",
"id": "E1",
"results": {
"lifespan": 5.993741307371349,
"takt_time": 1.0013908205841446,
"throughput": 1438
"lifespan": 5.993736951983299,
"takt_time": 1.001739735560195,
"throughput": 1437
}
},
{
......
......@@ -5,9 +5,9 @@
"_class": "Dream.Exit",
"id": "E1",
"results": {
"lifespan": 15.3125,
"takt_time": 0.5,
"throughput": 480
"lifespan": 15.343423799582464,
"takt_time": 0.5005219206680585,
"throughput": 479
}
},
{
......
......@@ -5,7 +5,7 @@
"_class": "Dream.Job",
"id": "C1",
"results": {
"completionTime": 3.0,
"completionTime": 2.0,
"schedule": [
{
"entranceTime": 0,
......@@ -24,7 +24,7 @@
"stationId": "M2"
},
{
"entranceTime": 3.0,
"entranceTime": 2.0,
"stationId": "E1"
}
]
......@@ -34,7 +34,7 @@
"_class": "Dream.Job",
"id": "C2",
"results": {
"completionTime": 2.0,
"completionTime": 3.0,
"schedule": [
{
"entranceTime": 0,
......@@ -53,7 +53,7 @@
"stationId": "M4"
},
{
"entranceTime": 2.0,
"entranceTime": 3.0,
"stationId": "E1"
}
]
......
......@@ -7,7 +7,6 @@
"results": {
"intervalThroughputList": [
9520,
9600,
9600
],
"lifespan": 454.0,
......
......@@ -64,7 +64,7 @@ class SimulationExamples(TestCase):
def testDecompositionOfBatches(self):
from dream.simulation.Examples.DecompositionOfBatches import main
result = main()
self.assertEquals(result['subbatches'], 2303)
self.assertEquals(result['subbatches'], 2302)
self.assertTrue(79.96 < result["working_ratio"] < 79.97)
self.assertEquals(result["blockage_ratio"] , 0.0)
self.assertTrue(20.03 < result["waiting_ratio"] < 20.04)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment