SWEL Array: Use L=O+W if LRAT Limit Unavailable

As an alternative source for LRAT data.
This commit is contained in:
Bård Skaflestad 2018-07-09 15:16:44 +02:00
parent 7b301cb300
commit f16b45eeed

View File

@ -469,6 +469,12 @@ namespace {
sWell[Ix::LiqRateTarget] =
swprop(M::liquid_surface_rate, pp.LiquidRate);
}
else if (pp.hasProductionControl(PP::ORAT) &&
pp.hasProductionControl(PP::WRAT))
{
sWell[Ix::LiqRateTarget] =
swprop(M::liquid_surface_rate, pp.OilRate + pp.WaterRate);
}
if (pp.hasProductionControl(PP::RESV)) {
sWell[Ix::ResVRateTarget] =