Requirements for installing solar power in residential buildings