Towards advanced one-dimensional numerical models for multiphase flow in pipelines