diver300 said:
With that approach you are in danger of getting oscillation. If the current draw is less than the maximum, and the tank heater takes it over the maximum, then as soon as the heater turns on, the current goes over the maximum, and the heater gets turned off.
wrong again...
you monitor total power, including the power you are supplying, for a maximum, and as other loads turn off, you turn your power out up, and as other loads turn on, you turn yours down. This is done all the time in electronics.