Text this: Method for Calculating Transients in a Gas Pipeline