Commit f34f5389 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

Exit reverted to output confidence intervals in multiple runs

parent 631c88c4
...@@ -228,15 +228,15 @@ class Exit(CoreObject): ...@@ -228,15 +228,15 @@ class Exit(CoreObject):
json['results']['lifespan']=self.Lifespan[0] json['results']['lifespan']=self.Lifespan[0]
json['results']['takt_time']=self.TaktTime[0] json['results']['takt_time']=self.TaktTime[0]
else: else:
json['results']['throughput'] =self.Exits # json['results']['throughput'] =self.Exits
json['results']['lifespan'] = self.Lifespan # json['results']['lifespan'] = self.Lifespan
json['results']['takt_time'] = self.TaktTime # json['results']['takt_time'] = self.TaktTime
if self.Exits!=self.UnitExits: #output this only if there was variability in units
json['results']['unitsThroughput'] = self.UnitExits
# json['results']['throughput'] = getConfidenceIntervals(self.Exits)
# json['results']['lifespan'] = getConfidenceIntervals(self.Lifespan)
# json['results']['takt_time'] = getConfidenceIntervals(self.TaktTime)
# if self.Exits!=self.UnitExits: #output this only if there was variability in units # if self.Exits!=self.UnitExits: #output this only if there was variability in units
# json['results']['unitsThroughput'] = getConfidenceIntervals(self.UnitExits) # json['results']['unitsThroughput'] = self.UnitExits
json['results']['throughput'] = getConfidenceIntervals(self.Exits)
json['results']['lifespan'] = getConfidenceIntervals(self.Lifespan)
json['results']['takt_time'] = getConfidenceIntervals(self.TaktTime)
if self.Exits!=self.UnitExits: #output this only if there was variability in units
json['results']['unitsThroughput'] = getConfidenceIntervals(self.UnitExits)
G.outputJSON['elementList'].append(json) G.outputJSON['elementList'].append(json)
...@@ -5,24 +5,21 @@ ...@@ -5,24 +5,21 @@
"_class": "Dream.Exit", "_class": "Dream.Exit",
"id": "E1", "id": "E1",
"results": { "results": {
"lifespan": [ "lifespan": {
2.6669019802211222, "avg": 6.701966357053981,
7.595290030987388, "lb": 5.295967571611044,
11.316781137761925, "ub": 8.107965142496917
5.228892279245487 },
], "takt_time": {
"takt_time": [ "avg": 1.6582088340777719,
1.6041865530589627, "lb": 1.6315325244963546,
1.6625466007459841, "ub": 1.6848851436591892
1.7552468099668836, },
1.6108553725392574 "throughput": {
], "avg": 30.0,
"throughput": [ "lb": 29.45913944770772,
31, "ub": 30.54086055229228
30, }
28,
31
]
} }
}, },
{ {
......
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