Modeling Total Dissolved Gas for Optimal Operation of Multireservoir Systems