on the contrary as much as
the water level increases across intermediate levels the microcontroller
should increase Tp and finally, when the water level overpasses
99% level the microcontroller should trigger to a “non-pulses
strategy” to prevent tank flooding. Following this scheme, to set Tp
within the intermediate range is certainly the most complex algorithm.
This selected temperature should take in account many
variables; just in a first glance we can guest some ideas: