Commit 5534559d authored by Georgios Dagkakis's avatar Georgios Dagkakis

examples in the documentation

parent 369da575
......@@ -21,7 +21,7 @@ def main():
runSimulation(objectList, maxSimTime, trace='Yes')
#print the results
print "the system produced", E.numOfExits, "parts in", E.timeLastEntityLeft
print "the system produced", E.numOfExits, "parts in", E.timeLastEntityLeft, "minutes"
working_ratio = (M.totalWorkingTime/G.maxSimTime)*100
print "the total working ratio of the Machine is", working_ratio, "%"
ExcelHandler.outputTrace('Wip1')
......
......@@ -22,7 +22,7 @@ def main():
runSimulation(objectList, maxSimTime, trace='Yes')
#print the results
print "the system produced", E.numOfExits, "parts in", E.timeLastEntityLeft
print "the system produced", E.numOfExits, "parts in", E.timeLastEntityLeft, "minutes"
working_ratio = (M.totalWorkingTime/G.maxSimTime)*100
print "the total working ratio of the Machine is", working_ratio, "%"
ExcelHandler.outputTrace('Wip2')
......
......@@ -22,7 +22,7 @@ def main():
runSimulation(objectList, maxSimTime, trace='Yes')
#print the results
print "the system produced", E.numOfExits, "parts in", E.timeLastEntityLeft
print "the system produced", E.numOfExits, "parts in", E.timeLastEntityLeft, "minutes"
working_ratio = (M.totalWorkingTime/G.maxSimTime)*100
print "the total working ratio of the Machine is", working_ratio, "%"
ExcelHandler.outputTrace('Wip3')
......
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