Production Optimization Using Nodal Analysis