Thanks ABC007,
I used the same equations, but to plot the flow rate of a tank pressurizing over time (ln(P/Po) instead). The difference in my problem was that the mass flow rate into the tank was known. I simply added this initial flow rate to the rate from your equations. Otherwise the...
Correct. It's the time from t=0 UNTIL the tank is filled that is of interest.
I've attached the work I've done so far. As I said in my initial post, since the formula I derived doesn't contain the initial mass flow rate I question it's validity.
It's been a long time since I had to do any calculus and longer still since I had to deal with ideal gases but now I'm confronted with both.
The problem setup is this:
Air is coming into a compressor at a known mass rate, pressure and temp.
It's being compressed to fill a known tank...