You have to ask a couple of questions before you can get to an answer:
[ol 1]
[li]What is the limiting factor in the rate of fill (is it the compressor? the hose? the inlet nozzle?)?[/li]
[li]What mass of air represents the full vessel?[/li]
[/ol]
If your limiting factor is the hose or the nozzle, then the upstream pressure will remain constant. Use something like the Panhandle A equation to calculate a flow rate through the hose with your constant upstream pressure and your starting downstream pressure. Run that for 10 seconds and calculate the pressure of the vessel. Calculate a new rate with the new pressure and run that for 10 seconds and recalculate downstream pressure. Repeat until your downstream pressure reaches the target. You can try it with longer or shorter intervals (I sometimes use a minute, but that overstates the flow rate for most of the time interval and doesn't usually match measured data very well, using 1 second intervals results in a lot of iterations but slightly better results).
If the limiting factor is the compressor, then the problem is a lot more difficult. Compressor discharge pressure will build with vessel pressure and friction, so you have a really hard time calculating the flow rate in the hose with an unknown upstream and downstream pressure.
College Engineering courses would seem to tell you that you can integrate a function to predict the elapsed time without iterating. I've never seen a single time that I was able to make that work with real-world fluid mechanics problems.
David Simpson, PE
MuleShoe Engineering
"Belief" is the acceptance of an hypotheses in the absence of data.
"Prejudice" is having an opinion not supported by the preponderance of the data.
"Knowledge" is only found through the accumulation and analysis of data.
The plural of anecdote is not "data"