Innovative control logics for a rational utilization of electric loads and air-conditioning systems in a residential building