diff --git a/src/opm/input/eclipse/Schedule/KeywordHandlers.cpp b/src/opm/input/eclipse/Schedule/KeywordHandlers.cpp index 5021924bc..acccd2c72 100644 --- a/src/opm/input/eclipse/Schedule/KeywordHandlers.cpp +++ b/src/opm/input/eclipse/Schedule/KeywordHandlers.cpp @@ -795,6 +795,11 @@ File {} line {}.)", wname, location.keyword, location.filename, location.lineno) this->invalidNamePattern(groupNamePattern, handlerContext); const auto& pressure_item = record.getItem(); const int vfp_table = record.getItem().get(0); + // It is assumed here that item 6 (ADD_GAS_LIFT_GAS) has the two options ON and FLO. THe option ALQ is not supported. + // For standard network the summation of ALQ values are weighted with efficiency factors. For extended networks + // this calculation using efficiency factors is the default set by WEFAC item 3 (YES), the value NO is not supported. + // Therefore in opm-simulators (opm/simulators/wells/WellGroupHelpers.cpp) no changes are needed. + const bool add_gas_lift_gas = DeckItem::to_bool(record.getItem().get(0)); for (const auto& group_name : group_names) { const auto& group = this->snapshots.back().groups.get(group_name); @@ -836,8 +841,10 @@ File {} line {}.)", wname, location.keyword, location.filename, location.lineno) } // To use update_node the node should be associated to a branch via add_branch() // so the update of nodes is postponed after creation of branches - for(const auto& node: nodes) + for(const auto& node: nodes) { + node.add_gas_lift_gas(add_gas_lift_gas); network.update_node(node); + } this->snapshots.back().network.update( std::move(network)); }