Can capacitors be directly connected to wires
240KW/400KW industrial rooftop - commercial rooftop - home rooftop, solar power generation system.
you can attach the capacitor anywhere down the length of the wires. for example use the perfboard, but have the wires run through it at an appropriate safe distance and solder the cap directly to the point where the wires punch through the board. then mount the power supply on top of the board.