The problem is no different that that faced by the Mars Rovers....You have X amount of energy in from the sun on a good day, you set up an energy budget to use what you think you can and still leave enough in the bateries for a few bad days.
Inverter technology has gotten quite good. You can buy compter power supplies that are 85% efficient. If you are willing to pay more, they get more efficient.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.