Added docstring for align_mains_appliances