Here are the specs:

154,000gal tank

Temp: 100F (311K)

CO2 is being produced at a rate of 1,538.4mol CO2/hr or

**39.26 m**@311K

^{3}/hrPsi inside of tank cannot exceed 1, preferably 0

Atmospheric pressure at the outlet of the pipe is standard.

All materials are stainless steel.

Assume that the effects of gravity and bends in the pipe are negligible.

I would like to be able to learn how to solve this for varying lengths of the pipe.

Any help on this would be greatly appreciated, let me know if there are any missing variables I can fill in or if I am under/over thinking it. Thank you!