Merge pull request #4461 from totto82/injalq

Fix default alq injector
This commit is contained in:
Bård Skaflestad
2023-02-17 11:58:03 +01:00
committed by GitHub

View File

@@ -410,6 +410,10 @@ bool WellInterfaceGeneric::thpLimitViolatedButNotSwitched() const
double WellInterfaceGeneric::getALQ(const WellState& well_state) const
{
// no alq for injectors.
if (isInjector())
return 0.0;
return well_state.getALQ(name());
}