mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Allow for shut wells in solvent run
This commit is contained in:
parent
a3ae13b892
commit
41aa55ec82
@ -106,9 +106,15 @@ namespace Opm
|
||||
ScheduleConstPtr schedule = BaseType::eclipse_state_->getSchedule();
|
||||
|
||||
for (const auto& well_solvent : schedule->getWells( currentStep )) {
|
||||
if (well_solvent->getStatus( currentStep ) == WellCommon::SHUT) {
|
||||
continue;
|
||||
}
|
||||
|
||||
WellInjectionProperties injection = well_solvent->getInjectionProperties(currentStep);
|
||||
if (injection.injectorType == WellInjector::GAS) {
|
||||
|
||||
double solventFraction = well_solvent->getSolventFraction(currentStep);
|
||||
|
||||
// Find the solvent well in the well list and add properties to it
|
||||
int wix = 0;
|
||||
for (; wix < nw; ++wix) {
|
||||
|
Loading…
Reference in New Issue
Block a user