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
67ddcf5c
Commit
67ddcf5c
authored
Feb 06, 2014
by
Georgios Dagkakis
Committed by
Jérome Perrin
Feb 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change in Exit to output dailyThroughputList. Dump updated
parent
10a3b9aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dream/simulation/Exit.py
dream/simulation/Exit.py
+1
-1
dream/tests/dump/Topology48.json.result
dream/tests/dump/Topology48.json.result
+5
-5
No files found.
dream/simulation/Exit.py
View file @
67ddcf5c
...
...
@@ -215,7 +215,7 @@ class Exit(CoreObject):
json
[
'results'
][
'unitsThroughput'
]
=
self
.
totalNumberOfUnitsExited
if
len
(
self
.
intervalThroughPutList
):
#output this only if there is an interval throughput
#TODO - check how to output in stochastic cases
json
[
'results'
][
'
daily
ThroughputList'
]
=
self
.
intervalThroughPutList
json
[
'results'
][
'
interval
ThroughputList'
]
=
self
.
intervalThroughPutList
json
[
'results'
][
'lifespan'
]
=
self
.
Lifespan
[
0
]
json
[
'results'
][
'takt_time'
]
=
self
.
TaktTime
[
0
]
...
...
dream/tests/dump/Topology48.json.result
View file @
67ddcf5c
...
...
@@ -5,14 +5,14 @@
"id": "E1",
"results": {
"unitsThroughput": 28720,
"dailyThroughputList": [
"throughput": 359,
"takt_time": 4.006963788300836,
"lifespan": 454.0,
"intervalThroughputList": [
9520,
9600,
9600
],
"throughput": 359,
"takt_time": 4.006963788300836,
"lifespan": 454.0
]
}
},
{
...
...
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