This is not specifically for Sweden, but if for some reason you want to imaging a single unit that produces continual output (which is not a desirable operation mode for any grid asset in the modern world), then imagine a solar installs distributed over a geographic areas with 18+ hours of storage at the desired power output. That's the overall design. People don't build that way but they could if they wanted.
Right now, batteries deployed on the grid cost $300-$500/kWh, and typically LFP batteries are designed to last for 5000-7000 cycles, and will have warranties for 15+ years. This places the cost of storing a MWh at between $42/MWh and $100/MWh. Solar costs vary based on location, but range from $20/MWh to $80/MWh. For places with high seasonal variation, sizing the install for daily storage, using the seasonal minimum of input, in some areas might double or triple the cost for a particular season. Nuclear costs vary widely by construction competence, but in the largely incompetent west costs are going to be far north of $150/MWh.
So for most areas, most of the time, solar+storage is going to be far cheaper than nuclear. But low insolation or high latitudes might make solar+storage more expensive than nuclear.
In the future, nuclear's prices will continue to rise very slowly, and solar and storage prices will continue to plummet at ridiculously fast paces. This is why solar and storage are winning.
For industrial processes that need heat, the storage options become even cheaper. And if the industrial site can be put somewhere with half-decent solar insolation, then the solar power can be directly connected without going through the grid, which means looping off that $60-100/MWh that utilities charge for the very very expensive grid transmission. We are just at the start of industry realizing what is possible with distributed renewables and thermal storage, and there is potential for drastically cheaper energy for energy intensive industry that be built at new sites.
This is why solar and storage are "winning" even if nuclear might be better for Sweden. And with the ever increasing deployment of EVs, people are going to be parking multiple days worth of their home's energy needs in their garage. People will soon realize just how cheap storage is, and how perhaps even their vehicles will act as grid storage, even if it's only though charging at selective times when energy is cheaper.