Simulation Of Transient Gas Flows In Networks