Sorry guys but I made a slight math error in the previous memo. The solution should have included 1/k not k.
However, I'm confused by your discussions. The key is certainly, as Haf says, to "choose a small enough time step". That's probably where your difference is and also where the naperian logs come in. Ultimately, the time step gets so small you need to integrate the solution in order to do the sum and that throws up the log function.
As far as I can see here the solution resolves to
Air at 600 psia, and 68 degF = 3.0684 lb/cu.ft
206 cu ins contains 0.3658 lb initially and 0.01696 lb at 27.818 psia (critical) and 0.00896 lb at ambient (14.696 psia)
The initial rate of discharge through a 0.228 inch, sharp edged orifice (assuming 0.6 coeff) is 0.302 lb/sec.
If the discharge rate were constant, you'd get down to critical in (0.3658-0.01696)/0.302 = 1.155 secs, but it's not and at the critial condition, the discharge rate has gone down to 0.014 lb/sec.
The time constant of this part of the depressuring is actually (0.3658-0.00896)/0.302 = 1.1816 secs
The decay needed to get to 0.01696 from 3.0684 is 99.445% complete so the exponent of exp is -5.198. 5.198 time constants gives us 6.142 secs to get from 600 psia down to the critical condition. After that we need a new calculation. But hey! were already 99.445% complete. How much do we care?
If we do care, the formula is a bit more complicated but, very roughly, the time constant for the next bit works out to roughly 3 seconds and it takes about 15 seconds to get down the rest of the way to (almost) atmospheric pressure.
I don't think I've seriously missed anything but I'm open to erudite correction because I use this procedure for a number of different problems and I really need to know if I'm stumbling down the wrong path.
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)