diff --git a/opm/autodiff/BlackoilModelEbos.hpp b/opm/autodiff/BlackoilModelEbos.hpp index 3c320210c..de82a6844 100644 --- a/opm/autodiff/BlackoilModelEbos.hpp +++ b/opm/autodiff/BlackoilModelEbos.hpp @@ -212,9 +212,13 @@ namespace Opm { /// \param[in, out] reservoir_state reservoir state variables /// \param[in, out] well_state well state variables void prepareStep(const SimulatorTimerInterface& /*timer*/, - const ReservoirState& /*reservoir_state*/, + const ReservoirState& reservoir_state, WellState& well_state) { + if ( wellModel().wellCollection()->havingVREPGroups() ) { + updateRateConverter(reservoir_state); + } + well_model_.prepareTimeStep(ebosSimulator_, well_state); }