Oh, pshaw - we all knew before you started it wasn't going to be efficient enough for home use! 😉
In the large scale, gravity storage of energy is astonishingly efficient and low tech, and has an incredibly long working lifespan.
I did some analysis of this last year. It turns out that the problem is really nice from an electrical point of view, as you can choose exactly what speed and load you want your hoisting motor to have in order to get maximum efficiency, and only ever use that.
And of course generators are incredibly efficient.
I worked out an efficiency of above 97%. This is a little less efficient than a good battery, but batteries are expensive to make and have a fairly limited lifespan.
Thanks for a fun article! And good for you for using f-strings. I'm constantly surprised how few Python programmers know about that great feature, which I use almost every day.