Fix default alq injector

This commit is contained in:
Tor Harald Sandve 2023-02-15 11:10:32 +01:00
parent 3dc13c234c
commit be2b021167

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());
}