It's fairly simply - just build your spread of volumes vs pressures for each stage and then at the end of the sheet, you'll have a certain amount of gas and a certain amount of volume. Use the PVznrt rule to find the pressure - you can iterate on z or plug it into a simulator to get exact results. Heck, you could even assume z =1 for the first pass and see if this makes sense once you get the pressure.