if you use a very smart and expensive on-grid inverter and power it all from the mains, then solar energy can be deducted from your electricity bill. And at night hang a dual-zone counter. Probably it will be more optimal, but this all increases the cost of miners by 2-3 times.