mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 04:26:55 -06:00
Add efficiencyFactor to GuideRate
This commit is contained in:
parent
c787f5a251
commit
31657a5d1c
@ -1388,7 +1388,7 @@ namespace Opm
|
|||||||
// 1. preventing the well from group control with keyword WGRUPCON
|
// 1. preventing the well from group control with keyword WGRUPCON
|
||||||
// 2. the well violating some limits and working under limits.
|
// 2. the well violating some limits and working under limits.
|
||||||
if ( (!only_group || !individualControl()) && isProducer() ) {
|
if ( (!only_group || !individualControl()) && isProducer() ) {
|
||||||
return prodSpec().guide_rate_;
|
return prodSpec().guide_rate_ * efficiencyFactor();
|
||||||
} else {
|
} else {
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
@ -1400,7 +1400,7 @@ namespace Opm
|
|||||||
double WellNode::injectionGuideRate(bool only_group)
|
double WellNode::injectionGuideRate(bool only_group)
|
||||||
{
|
{
|
||||||
if ( (!only_group || !individualControl()) && isInjector() ) {
|
if ( (!only_group || !individualControl()) && isInjector() ) {
|
||||||
return injSpec().guide_rate_;
|
return injSpec().guide_rate_ * efficiencyFactor();
|
||||||
} else {
|
} else {
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user