Add comparator support to tanks and capacitor banks