The SPDs need to be mounted outside of the inverter and in a NEMA sort- 3R enclosure or higher if it is an outside software.
Of course, a junction box is essential for solar panels. It is a crucial component https://dawudigkd366698.bluxeblog.com/62341086/not-known-factual-statements-about-pv-junction-box-manufacturers-in-china