Merge pull request #2805 from bska/restart-continuous-xlpt

Ensure Continuous Cumulative Liquid Production On Restart
This commit is contained in:
Joakim Hove 2021-11-03 08:40:50 +01:00 committed by GitHub
commit dd54d2aad1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1451,6 +1451,11 @@ namespace {
smry.update_well_var(well, "WGPT", xwel[VI::XWell::index::GasPrTotal]);
smry.update_well_var(well, "WVPT", xwel[VI::XWell::index::VoidPrTotal]);
// Cumulative liquid production = WOPT + WWPT
smry.update_well_var(well, "WLPT",
xwel[VI::XWell::index::OilPrTotal] +
xwel[VI::XWell::index::WatPrTotal]);
smry.update_well_var(well, "WWIT", xwel[VI::XWell::index::WatInjTotal]);
smry.update_well_var(well, "WGIT", xwel[VI::XWell::index::GasInjTotal]);
smry.update_well_var(well, "WVIT", xwel[VI::XWell::index::VoidInjTotal]);
@ -1494,6 +1499,11 @@ namespace {
update("GPT", xgrp[VI::XGroup::index::GasPrTotal]);
update("VPT", xgrp[VI::XGroup::index::VoidPrTotal]);
// Cumulative liquid production = xOPT + xWPT
update("LPT",
xgrp[VI::XGroup::index::OilPrTotal] +
xgrp[VI::XGroup::index::WatPrTotal]);
update("WIT", xgrp[VI::XGroup::index::WatInjTotal]);
update("GIT", xgrp[VI::XGroup::index::GasInjTotal]);
update("VIT", xgrp[VI::XGroup::index::VoidInjTotal]);