Energy is generated from solar & wind power. Solar power must be at most 6 units/day or the panels will burn out. Wind must be strong enough to power 1 unit/day or else the turbines won’t turn. The wind power must be less than twice the solar power less one, or the batteries won’t charge properly.
Find the optimal production of wind and solar that will maximize overall power output.