Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
9aca3ec2
Commit
9aca3ec2
authored
Feb 09, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction in last commit, we want to output lists and not CIs
parent
48828936
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
22 deletions
+21
-22
dream/simulation/Assembly.py
dream/simulation/Assembly.py
+3
-3
dream/simulation/BatchReassembly.py
dream/simulation/BatchReassembly.py
+5
-5
dream/simulation/Conveyer.py
dream/simulation/Conveyer.py
+3
-3
dream/simulation/Dismantle.py
dream/simulation/Dismantle.py
+3
-3
dream/simulation/Exit.py
dream/simulation/Exit.py
+4
-5
dream/simulation/Operator.py
dream/simulation/Operator.py
+3
-3
No files found.
dream/simulation/Assembly.py
View file @
9aca3ec2
...
...
@@ -433,8 +433,8 @@ class Assembly(CoreObject):
json
=
{
'_class'
:
self
.
class_name
,
'id'
:
self
.
id
,
'results'
:
{}}
json
[
'results'
][
'working_ratio'
]
=
getConfidenceIntervals
(
self
.
Working
)
json
[
'results'
][
'blockage_ratio'
]
=
getConfidenceIntervals
(
self
.
Blockage
)
json
[
'results'
][
'waiting_ratio'
]
=
getConfidenceIntervals
(
self
.
Waiting
)
json
[
'results'
][
'working_ratio'
]
=
self
.
Working
json
[
'results'
][
'blockage_ratio'
]
=
self
.
Blockage
json
[
'results'
][
'waiting_ratio'
]
=
self
.
Waiting
G
.
outputJSON
[
'elementList'
].
append
(
json
)
dream/simulation/BatchReassembly.py
View file @
9aca3ec2
...
...
@@ -341,11 +341,11 @@ class BatchReassembly(CoreObject):
'id'
:
self
.
id
,
'family'
:
self
.
family
,
'results'
:
{}}
json
[
'results'
][
'failure_ratio'
]
=
getConfidenceIntervals
(
self
.
Failure
)
json
[
'results'
][
'working_ratio'
]
=
getConfidenceIntervals
(
self
.
Working
)
json
[
'results'
][
'blockage_ratio'
]
=
getConfidenceIntervals
(
self
.
Blockage
)
json
[
'results'
][
'waiting_ratio'
]
=
getConfidenceIntervals
(
self
.
Waiting
)
json
[
'results'
][
'off_shift_ratio'
]
=
getConfidenceIntervals
(
self
.
OffShift
)
json
[
'results'
][
'failure_ratio'
]
=
self
.
Failure
json
[
'results'
][
'working_ratio'
]
=
self
.
Working
json
[
'results'
][
'blockage_ratio'
]
=
self
.
Blockage
json
[
'results'
][
'waiting_ratio'
]
=
self
.
Waiting
json
[
'results'
][
'off_shift_ratio'
]
=
self
.
OffShift
G
.
outputJSON
[
'elementList'
].
append
(
json
)
dream/simulation/Conveyer.py
View file @
9aca3ec2
...
...
@@ -496,9 +496,9 @@ class Conveyer(CoreObject):
json
=
{
'_class'
:
self
.
class_name
,
'id'
:
self
.
id
,
'results'
:
{}}
json
[
'results'
][
'working_ratio'
]
=
getConfidenceIntervals
(
self
.
Working
)
json
[
'results'
][
'blockage_ratio'
]
=
getConfidenceIntervals
(
self
.
Blockage
)
json
[
'results'
][
'waiting_ratio'
]
=
getConfidenceIntervals
(
self
.
Waiting
)
json
[
'results'
][
'working_ratio'
]
=
self
.
Working
json
[
'results'
][
'blockage_ratio'
]
=
self
.
Blockage
json
[
'results'
][
'waiting_ratio'
]
=
self
.
Waiting
G
.
outputJSON
[
'elementList'
].
append
(
json
)
...
...
dream/simulation/Dismantle.py
View file @
9aca3ec2
...
...
@@ -370,7 +370,7 @@ class Dismantle(CoreObject):
json
=
{
'_class'
:
self
.
class_name
,
'id'
:
self
.
id
,
'results'
:
{}}
json
[
'results'
][
'working_ratio'
]
=
getConfidenceIntervals
(
self
.
Working
)
json
[
'results'
][
'blockage_ratio'
]
=
getConfidenceIntervals
(
self
.
Blockage
)
json
[
'results'
][
'waiting_ratio'
]
=
getConfidenceIntervals
(
self
.
Waiting
)
json
[
'results'
][
'working_ratio'
]
=
self
.
Working
json
[
'results'
][
'blockage_ratio'
]
=
self
.
Blockage
json
[
'results'
][
'waiting_ratio'
]
=
self
.
Waiting
G
.
outputJSON
[
'elementList'
].
append
(
json
)
dream/simulation/Exit.py
View file @
9aca3ec2
...
...
@@ -221,10 +221,9 @@ class Exit(CoreObject):
'id'
:
self
.
id
,
'family'
:
self
.
family
,
'results'
:
{}
}
json
[
'results'
][
'throughput'
]
=
getConfidenceIntervals
(
self
.
Exits
)
json
[
'results'
][
'lifespan'
]
=
getConfidenceIntervals
(
self
.
Lifespan
)
json
[
'results'
][
'takt_time'
]
=
getConfidenceIntervals
(
self
.
TaktTime
)
json
[
'results'
][
'throughput'
]
=
self
.
Exits
json
[
'results'
][
'lifespan'
]
=
self
.
Lifespan
json
[
'results'
][
'takt_time'
]
=
self
.
TaktTime
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
G
.
outputJSON
[
'elementList'
].
append
(
json
)
dream/simulation/Operator.py
View file @
9aca3ec2
...
...
@@ -324,9 +324,9 @@ class Operator(ObjectResource):
'id'
:
self
.
id
,
'family'
:
self
.
family
,
'results'
:
{}}
json
[
'results'
][
'working_ratio'
]
=
getConfidenceIntervals
(
self
.
Working
)
json
[
'results'
][
'waiting_ratio'
]
=
getConfidenceIntervals
(
self
.
Waiting
)
json
[
'results'
][
'off_shift_ratio'
]
=
getConfidenceIntervals
(
self
.
OffShift
)
json
[
'results'
][
'working_ratio'
]
=
self
.
Working
json
[
'results'
][
'waiting_ratio'
]
=
self
.
Waiting
json
[
'results'
][
'off_shift_ratio'
]
=
self
.
OffShift
if
self
.
ouputSchedule
:
if
self
.
schedule
:
json
[
'results'
][
'schedule'
]
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment