IWEL: Identify Items for Active and Requested Well Controls
This commit refines our understanding of IWEL items relating to well constraints. In particular Item 8 is the well's active control mode as determined by the simulator from dynamic state variables. On the other hand, Item 16 is the constraint that is requested in the simulation run input for prediction wells (keywords WCONINJE, WCONPROD) while Item 50 is the requested constraint for wells controlled by observed rates (WCONINJH, WCONHIST). Special Note: This commit outputs the requested control mode to Item 8 and will need an update later once the simulator becomes aware of the distinction.
This commit is contained in:
@@ -548,7 +548,7 @@ BOOST_AUTO_TEST_CASE (Dynamic_Well_Data_Step1)
|
||||
|
||||
const auto& iwell = awd.getIWell();
|
||||
|
||||
BOOST_CHECK_EQUAL(iwell[i0 + Ix::item9 ], iwell[i0 + Ix::WCtrl]);
|
||||
BOOST_CHECK_EQUAL(iwell[i0 + Ix::item9 ], iwell[i0 + Ix::ActWCtrl]);
|
||||
BOOST_CHECK_EQUAL(iwell[i0 + Ix::item11], 1);
|
||||
}
|
||||
|
||||
@@ -668,7 +668,7 @@ BOOST_AUTO_TEST_CASE (Dynamic_Well_Data_Step2)
|
||||
const auto& iwell = awd.getIWell();
|
||||
|
||||
BOOST_CHECK_EQUAL(iwell[i1 + Ix::item9],
|
||||
iwell[i1 + Ix::WCtrl]);
|
||||
iwell[i1 + Ix::ActWCtrl]);
|
||||
BOOST_CHECK_EQUAL(iwell[i1 + Ix::item11], 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user