Skip to content

Commit ecafd94

Browse files
committed
Clarify retained network THP limit comments
1 parent 8e668df commit ecafd94

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

opm/input/eclipse/Schedule/Action/SimulatorUpdate.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ struct SimulatorUpdate
7272
/// its internal notion of the connection transmissibility factors.
7373
std::unordered_set<std::string> welpi_wells{};
7474

75-
/// Wells whose THP limit and/or VFP table has been (re)specified, by
75+
/// Wells whose THP limit and/or VFP table has been (re)specified by
7676
/// WCONPROD or WCONHIST for the named wells, or by WELTARG with THP or
77-
/// VFP control. Unlike affected_wells, the wells are included also when
78-
/// the entered values are unchanged, since re-specifying the THP limit
79-
/// cancels a limit imposed dynamically by the simulator (e.g. by
80-
/// network balancing). See also the WELL_THP_UPDATE schedule event.
77+
/// VFP control. Unlike affected_wells, this set also includes wells for
78+
/// which the entered values are unchanged, since re-specifying either
79+
/// input cancels a THP limit imposed dynamically by the simulator (e.g.
80+
/// by network balancing). See also the WELL_THP_UPDATE schedule event.
8181
std::unordered_set<std::string> thp_respec_wells{};
8282

8383
/// New well connections created as a result of a geomechanical

opm/input/eclipse/Schedule/Events.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ namespace Opm
114114
/// the recorded schedule state).
115115
REQUEST_OPEN_COMPLETION = (UINT64_C(1) << 24),
116116

117-
/// The well THP limit and/or VFP table has been (re)specified,
117+
/// The well THP limit and/or VFP table has been (re)specified
118118
/// by WCONPROD or WCONHIST for the named wells, or by WELTARG
119119
/// with THP or VFP control. Unlike PRODUCTION_UPDATE, the event
120-
/// is triggered also when the entered values are unchanged,
121-
/// since re-specifying the THP limit cancels a limit imposed
120+
/// is also triggered when the entered values are unchanged,
121+
/// since re-specifying either input cancels a THP limit imposed
122122
/// dynamically by the simulator (e.g. by network balancing).
123123
WELL_THP_UPDATE = (UINT64_C(1) << 25),
124124
};

opm/input/eclipse/Schedule/Well/WellKeywordHandlers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void handleWCONHIST(HandlerContext& handlerContext)
188188
update_well = true;
189189
}
190190

191-
// The VFP table (item 8) is re-specified by every WCONHIST,
191+
// The VFP table (item 7) is re-specified by every WCONHIST,
192192
// whether or not any value changed.
193193
handlerContext.state().events().addEvent( ScheduleEvents::WELL_THP_UPDATE );
194194
handlerContext.state().wellgroup_events().addEvent( well2.name(), ScheduleEvents::WELL_THP_UPDATE);

0 commit comments

Comments
 (0)