Allow using mode LIFT in WELTARG
This commit is contained in:
parent
6e6b438405
commit
2a612b5c64
@ -263,6 +263,8 @@ void Well::WellProductionProperties::handleWCONHIST(const std::optional<VFPProdT
|
||||
this->THPTarget.update_value( new_arg );
|
||||
this->addProductionControl( ProducerCMode::THP );
|
||||
}
|
||||
else if (cmode == WELTARGCMode::LIFT)
|
||||
this->ALQValue.update_value( new_arg );
|
||||
else if (cmode == WELTARGCMode::VFP) {
|
||||
OpmLog::warning("When using WELTARG to change VFP table it is assumed that ALQ type is the same for the new and old table");
|
||||
this->VFPTableNumber = static_cast<int>( new_arg.get<double>() );
|
||||
|
@ -954,6 +954,7 @@ WELTARG
|
||||
OP_1 BHP 1900 /
|
||||
OP_1 THP 2000 /
|
||||
OP_1 GUID 2300.14 /
|
||||
OP_1 LIFT 1234 /
|
||||
/
|
||||
|
||||
DATES
|
||||
@ -997,6 +998,7 @@ I1 THP 4 /
|
||||
BOOST_CHECK_EQUAL(prod_controls.resv_rate, 1801.05 * siFactorL);
|
||||
BOOST_CHECK_EQUAL(prod_controls.bhp_limit, 1900 * siFactorP);
|
||||
BOOST_CHECK_EQUAL(prod_controls.thp_limit, 2000 * siFactorP);
|
||||
BOOST_CHECK_EQUAL(wpp_2.ALQValue.get<double>(), 1234);
|
||||
|
||||
BOOST_CHECK (wpp_2.hasProductionControl( Opm::Well::ProducerCMode::ORAT) );
|
||||
BOOST_CHECK (wpp_2.hasProductionControl( Opm::Well::ProducerCMode::RESV) );
|
||||
|
Loading…
Reference in New Issue
Block a user