python: AGA3 GAS FLOW CALCULATION