PV inverters and air conditioners

The invention provides a photovoltaic inverter which comprises a basic photovoltaic inverter unit, the basic photovoltaic inverter unit comprises a photovoltaic battery module, a DC-DC booster, a first switching switch, a grid-connected inverter and a grid-connected filter, the photovoltaic battery module, the DC-DC booster, the grid-connected inverter, the grid-connected filter and an AC grid are sequentially electrically connected, the first switching switch comprises an input end and two output ends, the two output ends are respectively a first output end and second output end, the input end of the first switching switch is connected with the output end of the DC-DC booster, the first output end of the first switching switch is connected with the input end of the grid-connected inverter and used for outputting AC in grid connection, and the second output end of the first switching switch serves as a DC bus port and used for outputting DC. The invention also relates to an air conditioner. By the photovoltaic inverter and the air conditioner, provided by the invention, the utilization rate of electric energy generated by the photovoltaic battery pack is improved.