One-dimensional two-phase analytical models applied to closed-loop reservoir management