Solar panels directly in electrical cabinet