<div dir="ltr">On 19 March 2013 10:54, NZach <span dir="ltr"><<a href="mailto:nickzacharatos@gmail.com" target="_blank">nickzacharatos@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">@eli m : The problem is that i execute on lines 83 and 90 the main() and although the seed value is the same, equal to 12345, i receive different results from lines 85 and 92.<br>

<br>
@alex23: I changed the code, <a href="http://codeviewer.org/view/code:30d4" target="_blank">http://codeviewer.org/view/code:30d4</a>, but i still receive have the same problem. The results are different.<br>
<br>
</div>Any idea please<br></blockquote><div><br></div><div style>have you actually tried printing out the return value of </div><div><br></div><div>G.Rnd.expovariate(MachineClass.SrvRate)<br></div><div><br></div><div>?</div>
<div><br></div><div style>I'm not sure as I have not used SimPy before, but the values you are printing out at the bottom seem to be related to the timing, specifically now(), which would give you a different result each time.</div>
<div style><br></div><div style>If you print out or inspect the result of expovariate, it should be the same each time you run main.</div></div><div><br></div>-- <br>./Sven
</div></div>