См. определение в файле Land_Underground_WaterReservoir.c строка 445
Перекрестные ссылки IsValveActive() и IsValvePressureLevelGaugeAtBase().