Setting Well->BHP limit from Schedule.

This commit is contained in:
Joakim Hove
2014-01-27 18:31:22 +01:00
parent 99ef84b438
commit 3d2ddd70fc
2 changed files with 6 additions and 2 deletions

View File

@@ -103,9 +103,11 @@ BOOST_AUTO_TEST_CASE(WellTesting) {
BOOST_CHECK( well1->isInjector(9));
BOOST_CHECK_CLOSE(20000/Metric::Time , well1->getSurfaceInjectionRate(9) , 0.001);
BOOST_CHECK_CLOSE(5000/Metric::Time , well1->getSurfaceInjectionRate(10) , 0.001);
BOOST_CHECK_CLOSE(200000/Metric::Time , well1->getReservoirInjectionRate(9) , 0.001);
BOOST_CHECK_CLOSE(6891 * Metric::Pressure , well1->getBHPLimit(9) , 0.001);
BOOST_CHECK_CLOSE(123.00 * Metric::Pressure , well1->getBHPLimit(10) , 0.001);
BOOST_CHECK_CLOSE(5000/Metric::Time , well1->getSurfaceInjectionRate(12) , 0.001);
}
}