Add total output flow objective function and its plot.