#include <VFPProdProperties.hpp>
|
| | VFPProdProperties () |
| |
| | VFPProdProperties (const VFPProdTable *prod_table) |
| |
| | VFPProdProperties (const std::map< int, VFPProdTable > &prod_tables) |
| |
| ADB | bhp (const std::vector< int > &table_id, const Wells &wells, const ADB &qs, const ADB &thp, const ADB &alq) const |
| |
| ADB | bhp (const std::vector< int > &table_id, const ADB &aqua, const ADB &liquid, const ADB &vapour, const ADB &thp, const ADB &alq) const |
| |
| double | bhp (int table_id, const double &aqua, const double &liquid, const double &vapour, const double &thp, const double &alq) const |
| |
| double | thp (int table_id, const double &aqua, const double &liquid, const double &vapour, const double &bhp, const double &alq) const |
| |
| const VFPProdTable * | getTable (const int table_id) const |
| |
| bool | empty () const |
| |
Class which linearly interpolates BHP as a function of rate, tubing head pressure, water fraction, gas fraction, and artificial lift for production VFP tables, and similarly the BHP as a function of the rate and tubing head pressure.
| Opm::VFPProdProperties::VFPProdProperties |
( |
| ) |
|
| Opm::VFPProdProperties::VFPProdProperties |
( |
const VFPProdTable * |
prod_table | ) |
|
|
explicit |
Constructor Takes no ownership of data. - Parameters
-
| prod_table | A single VFPPROD table |
| Opm::VFPProdProperties::VFPProdProperties |
( |
const std::map< int, VFPProdTable > & |
prod_tables | ) |
|
|
explicit |
Constructor Takes no ownership of data. - Parameters
-
| prod_tables | A map of different VFPPROD tables. |
| ADB Opm::VFPProdProperties::bhp |
( |
const std::vector< int > & |
table_id, |
|
|
const Wells & |
wells, |
|
|
const ADB & |
qs, |
|
|
const ADB & |
thp, |
|
|
const ADB & |
alq |
|
) |
| const |
| ADB Opm::VFPProdProperties::bhp |
( |
const std::vector< int > & |
table_id, |
|
|
const ADB & |
aqua, |
|
|
const ADB & |
liquid, |
|
|
const ADB & |
vapour, |
|
|
const ADB & |
thp, |
|
|
const ADB & |
alq |
|
) |
| const |
Linear interpolation of bhp as a function of the input parameters given as ADBs Each entry corresponds typically to one well. - Parameters
-
| table_id | Table number to use. A negative entry (e.g., -1) will indicate that no table is used, and the corresponding BHP will be calculated as a constant -1e100. |
| aqua | Water phase |
| liquid | Oil phase |
| vapour | Gas phase |
| thp | Tubing head pressure |
| alq | Artificial lift or other parameter |
- Returns
- The bottom hole pressure, interpolated/extrapolated linearly using the above parameters from the values in the input table, for each entry in the input ADB objects.
| double Opm::VFPProdProperties::bhp |
( |
int |
table_id, |
|
|
const double & |
aqua, |
|
|
const double & |
liquid, |
|
|
const double & |
vapour, |
|
|
const double & |
thp, |
|
|
const double & |
alq |
|
) |
| const |
Linear interpolation of bhp as a function of the input parameters - Parameters
-
| table_id | Table number to use |
| aqua | Water phase |
| liquid | Oil phase |
| vapour | Gas phase |
| thp | Tubing head pressure |
| alq | Artificial lift or other parameter |
- Returns
- The bottom hole pressure, interpolated/extrapolated linearly using the above parameters from the values in the input table.
| bool Opm::VFPProdProperties::empty |
( |
| ) |
const |
|
inline |
| const VFPProdTable* Opm::VFPProdProperties::getTable |
( |
const int |
table_id | ) |
const |
| double Opm::VFPProdProperties::thp |
( |
int |
table_id, |
|
|
const double & |
aqua, |
|
|
const double & |
liquid, |
|
|
const double & |
vapour, |
|
|
const double & |
bhp, |
|
|
const double & |
alq |
|
) |
| const |
Linear interpolation of thp as a function of the input parameters - Parameters
-
| table_id | Table number to use |
| aqua | Water phase |
| liquid | Oil phase |
| vapour | Gas phase |
| bhp | Bottom hole pressure |
| alq | Artificial lift or other parameter |
- Returns
- The tubing hole pressure, interpolated/extrapolated linearly using the above parameters from the values in the input table.
Referenced by Opm::BlackoilModelBase< Grid, Implementation >::updateWellState().
The documentation for this class was generated from the following file:
|