I worked out that depending on where you live solar panels will pay themselves off within 7-10 years. It also depends on how much sun your country gets as well. Maybe if you take a loan you can break even with the electricity bill and then it's free forever. I think for young people it is a good investment.
I see how in Europe and America many people are starting to equip houses with solar panels and so many of their projects on green energy are incredible. Unfortunately, for the time being, in our country it is forbidden to install individual solar power plants, which contributes to the growth of popularity.
What!? So you can't do what you want with your own house? I wouldn't want to live there.