mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
small corrections in WellsGroup
should not change reults.
This commit is contained in:
parent
e8aa431ec7
commit
ff08c6b4f3
@ -426,6 +426,7 @@ namespace Opm
|
|||||||
// not sure if no water and no oil, what will happen here, zero guide_rate?
|
// not sure if no water and no oil, what will happen here, zero guide_rate?
|
||||||
well_node.prodSpec().guide_rate_ = guide_rate;
|
well_node.prodSpec().guide_rate_ = guide_rate;
|
||||||
well_node.prodSpec().guide_rate_type_ = ProductionSpecification::LIQ;
|
well_node.prodSpec().guide_rate_type_ = ProductionSpecification::LIQ;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case ProductionSpecification::NONE: {
|
case ProductionSpecification::NONE: {
|
||||||
// Group control is not in use for this group.
|
// Group control is not in use for this group.
|
||||||
|
@ -871,12 +871,14 @@ namespace Opm
|
|||||||
} else {
|
} else {
|
||||||
// can not produce more to meet the target
|
// can not produce more to meet the target
|
||||||
OpmLog::info("group " + name() + " can not meet its target!");
|
OpmLog::info("group " + name() + " can not meet its target!");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
} else { // overproducing the target, the only possibility is that all the wells/groups are under individual control
|
} else { // overproducing the target, the only possibility is that all the wells/groups are under individual control
|
||||||
// while somehow our algorithms did not make the wells/groups return group controls
|
// while somehow our algorithms did not make the wells/groups return group controls
|
||||||
// either we should fix the algorithm of determining the target for well to return group controls
|
// either we should fix the algorithm of determining the target for well to return group controls
|
||||||
// or we should do something here
|
// or we should do something here
|
||||||
OpmLog::info("group " + name() + " is overproducing its target!");
|
OpmLog::info("group " + name() + " is overproducing its target!");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user