Handle WEFAC

Added test combining WEFAC and GEFAC
This commit is contained in:
Tor Harald Sandve
2017-11-21 09:59:33 +01:00
committed by Tor Harald Sandve
parent 1d1347d2b3
commit 1b13f44e12
4 changed files with 80 additions and 2 deletions

View File

@@ -1612,8 +1612,8 @@ namespace Opm
production_specification.control_mode_ = toProductionControlMode(WellProducer::ControlMode2String(properties.controlMode));
}
}
// TODO: should be specified with WEFAC, while we do not have this keyword support yet.
const double efficiency_factor = 1.0;
// Efficiency factor given specified with WEFAC
const double efficiency_factor = well->getEfficiencyFactor(timeStep);
std::shared_ptr<WellsGroupInterface> wells_group(new WellNode(well->name(), efficiency_factor, production_specification, injection_specification, phase_usage));
return wells_group;
}