Solar panels can be attached to most kinds of roofs including pitched roofs and flat roofs
, or even fixed vertically onto external wall or on the ground. The panels don't have to be directly attached to the building, so they can be kept separate and simply connected by a wire. The panels will work effectively in most places as long as no part of the panel is being shaded from the sun.