Solar power generation cabinet connected to inverter