I thought that Venezuela has a lot of oil and oil reserves and it can fuel their electric grid for a long time. So why they have problems with electricity though?
Yup, because not only do they have huge oil reserves but they also have a lot of socialism.
And how history has shown us a hundred times already you can have everything in this world, no matter how wealthy you are socialism will ruin you.
The reason why the country is so crippled economically is because it has no way to process any of those oil reserves and sell them or convert them into electricity on a large scale.
You can blame US sanctions for that.
Also that explains why Venezuela president has wanted to invade some neighboring countries like Guyana that have lots of oil reserves, to get access to liquid assets that can be sold easily for case.
Actually it doesn't explain it at all, since they can't process their own oil why do they go for another oil deposit?
And sanctions have nothing to do with it, what stops them from buying and constructing their own refineries like 100 other countries have done so?
Besides, since we talk about those sanctions, what actually are those sanctions, the US refusing to buy Veneuela oil, that's all, you know that CitGo gas stations are owned and operated by PDVSA, owned by the Venezuelan government, 4000 gas stations operating in the US with a revenue of 20 billions from American customers, so, what sanctions?

It's corruption, incompetence and socialism, not sanctions.