Control solutions for air-conditioning, refrigeration and heating, and systems for humidification and evaporative cooling