mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
recovering the running of flow_multsigement without group control
flow_multisegment should not be able to handel group control yet.
This commit is contained in:
parent
e0d96b3410
commit
7038b6eb57
@ -150,10 +150,13 @@ namespace Opm {
|
||||
// get reasonable initial conditions for the wells
|
||||
wellModel().updateWellControls(well_state);
|
||||
|
||||
// enforce VREP control when necessary.
|
||||
Base::applyVREPGroupControl(reservoir_state, well_state);
|
||||
// TODO: I do not think the multi_segment well can handle group control yet
|
||||
if (asImpl().wellModel().wellCollection()->groupControlActive()) {
|
||||
// enforce VREP control when necessary.
|
||||
Base::applyVREPGroupControl(reservoir_state, well_state);
|
||||
|
||||
asImpl().wellModel().wellCollection()->updateWellTargets(well_state.wellRates());
|
||||
asImpl().wellModel().wellCollection()->updateWellTargets(well_state.wellRates());
|
||||
}
|
||||
|
||||
// Create the primary variables.
|
||||
SolutionState state = asImpl().variableState(reservoir_state, well_state);
|
||||
|
Loading…
Reference in New Issue
Block a user