Added units required for formation volume factors

This commit is contained in:
babrodtk
2016-09-05 16:05:47 +02:00
parent 7e99d07144
commit 6097ebb1eb
2 changed files with 30 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ namespace {
1, /* gas-oil ratio */
1, /* oil-gas ratio */
1, /* water cut */
1, /* gas formation volume factor */
1, /* oil formation volume factor */
1, /* water formation volume factor */
};
static const double from_metric[] = {
@@ -83,6 +86,9 @@ namespace {
1, /* gas-oil ratio */
1, /* oil-gas ratio */
1, /* water cut */
1, /* gas formation volume factor */
1, /* oil formation volume factor */
1, /* water formation volume factor */
};
static constexpr const char* metric_names[] = {
@@ -106,6 +112,9 @@ namespace {
"SM3/SM3",
"SM3/SM3",
"SM3/SM3",
"RM3/SM3", /* gas formation volume factor */
"RM3/SM3", /* oil formation volume factor */
"RM3/SM3", /* water formation volume factor */
};
static const double to_field[] = {
@@ -129,6 +138,9 @@ namespace {
1, /* gas-oil ratio */
1, /* oil-gas ratio */
1, /* water cut */
1 / (Field::ReservoirVolume / Field::GasSurfaceVolume), /* gas formation volume factor */
1, /* oil formation volume factor */
1, /* water formation volume factor */
};
static const double from_field[] = {
@@ -152,6 +164,9 @@ namespace {
1, /* gas-oil ratio */
1, /* oil-gas ratio */
1, /* water cut */
Field::ReservoirVolume / Field::GasSurfaceVolume, /* gas formation volume factor */
1, /* oil formation volume factor */
1, /* water formation volume factor */
};
static constexpr const char* field_names[] = {
@@ -175,6 +190,9 @@ namespace {
"MSCF/STB",
"STB/MSCF",
"STB/STB",
"RB/MSCF", /* gas formation volume factor */
"RB/STB", /* oil formation volume factor */
"RB/STB", /* water formation volume factor */
};
static const double to_lab[] = {
@@ -198,6 +216,9 @@ namespace {
1 / Lab::GasDissolutionFactor, /* gas-oil ratio */
1 / Lab::OilDissolutionFactor, /* oil-gas ratio */
1, /* water cut */
1, /* gas formation volume factor */
1, /* oil formation volume factor */
1, /* water formation volume factor */
};
static const double from_lab[] = {
@@ -221,6 +242,9 @@ namespace {
Lab::GasDissolutionFactor, /* gas-oil ratio */
Lab::OilDissolutionFactor, /* oil-gas ratio */
1, /* water cut */
1, /* gas formation volume factor */
1, /* oil formation volume factor */
1, /* water formation volume factor */
};
static constexpr const char* lab_names[] = {
@@ -244,6 +268,9 @@ namespace {
"SCC/SCC",
"SCC/SCC",
"SCC/SCC",
"RCC/SCC", /* gas formation volume factor */
"RCC/SCC", /* oil formation volume factor */
"RCC/SCC", /* water formation volume factor */
};
}