Advanced simulation of gas-liquid pipelines