Solar power generation in power distribution cabinet