In general, solar is not in the same category of energy generation as nuclear because it can't carry the base load of the energy grid, because it is so inconsistent.
We do not currently have a general-purpose battery for solar and wind that could power the grid when they stop producing. (Some regions can through pumped storage hydro.)
Nuclear compares against base-load power sources: coal, gas, oil, hydro, geothermal.