A photovoltaic inverter, comprising: a box ; and an inverter cabinet configured to provide two or more inverter units, a direct current cabinet configured to provide two or more direct current units, an alternating current cabinet configured to provide two or more alternating current units, a communication cabinet, and a power distribution cabinet which are all arranged in the box , wherein the inverter cabinet is arranged on a first side of the box ; the alternating current cabinet , the communication cabinet and the power distribution cabinet are all arranged on a second side of the box , and the alternating current cabinet , the communication cabinet, and the power distribution cabinet are all arranged opposite to the inverter cabinet ; the direct current cabinet is arranged on a third side of the box , and the direct current cabinet is arranged on a same side of the inverter cabinet and the alternating current cabinet ; the box has a cuboid shape or cube shape, the first side of the box is opposite to the second side of the box , and the third side of the box is located at a same end of the first side and the second side of the box ; the inverter cabinet is connected to the direct current cabinet , the direct current cabinet is connected to the alternating current cabinet , and the alternating current cabinet is arranged adjacent to the direct current cabinet ; and a maintenance passage is arranged between the alternating current cabinet and the inverter cabinet , the maintenance passage is also arranged between the communication cabinet and the inverter cabinet , and the maintenance passage is also arranged between the power distribution cabinet and the inverter cabinet , and the maintenance passage extends to the direct current cabinet ; and the box is provided with a maintenance entrance communicated with the maintenance passage. a box ; and an inverter cabinet configured to provide two or more inverter units, a direct current cabinet configured to provide two or more direct current units, an alternating current cabinet configured to provide two or more alternating current units, a communication cabinet, and a power distribution cabinet which are all arranged in the box , wherein the inverter cabinet is arranged on a first side of the box ; the alternating current cabinet , the communication cabinet and the power distribution cabinet are all arranged on a second side of the box , and the alternating current cabinet , the communication cabinet, and the power distribution cabinet are all arranged opposite to the inverter cabinet ; the direct current cabinet is arranged on a third side of the box , and the direct current cabinet is arranged on a same side of the inverter cabinet and the alternating current cabinet ; the box has a cuboid shape or cube shape, the first side of the box is opposite to the second side of the box , and the third side of the box is located at a same end of the first side and the second side of the box ; the inverter cabinet is connected to the direct current cabinet , the direct current cabinet is connected to the alternating current cabinet , and the alternating current cabinet is arranged adjacent to the direct current cabinet ; and a maintenance passage is arranged between the alternating current cabinet and the inverter cabinet , the maintenance passage is also arranged between the communication cabinet and the inverter cabinet , and the maintenance passage is also arranged between the power distribution cabinet and the inverter cabinet , and the maintenance passage extends to the direct current cabinet ; and the box is provided with a maintenance entrance communicated with the maintenance passage. <EOS>