This has been discussed several times but I can't seem to locate the threads. So, in that case .....
What I've done is set up a spreadsheet to do this and used the formulas out of Crane for the flow through the valve and piping (if you don't have Crane, get it, it's a great reference to have). Calculate the starting mass of air in the tank given its volume, pressure and temperature. Calculate the flow through the valve and piping for a certain period of time. You want to remove enough air that the inlet pressure changes slightly so you can assume the flow is constant over that time period. Then, calculate how much air is remaining in the tank and recalculate the pressure (you won't need to worry about temperature cooling or compressibility at these pressures). Then, redo the calculation for the next time period and repeat which is why I like a spreadsheet for this.
For inputs, you change change the valve's Cv or the time step as needed to get the solution you need. That's why I like a spreadsheet, if you need to do a smaller time step to avoid big changes in the tank pressure after each 'blow', it's trival to add more rows.
Depending how low of a tank pressure you are going, you may need at some point to switch from chocked flow through your depressuring line (where the flow rate is proportional only to the inlet pressure) to non chocked flow where the flow is proportional to the dP^2.
Fisher valves also have a depressuring calculation which I've found matches the above method pretty good, you could contact them.