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