If you have 48v battery you can connect 500v solarpanels directly to it, the panels dont magically make the batteries 500 volt. There will be a little spark and the batteries will draw max current and naturally bring the terminal voltage down to 48v then slowly rise at max panel current up to X...