The problem I can see is that power is spotty but you want the NH3 plant to run 24/7.  This indicates that some kind of hydrogen storage is desirable.  Would it be feasible to use e.g. deep aquifers or spent gas wells as long-term storage for gaseous hydrogen?  Would the economics of the electrolysis be seriously affected by low capacity factors?
As long as we're dreaming of $100 billion worth of turbines we could just add some more with some H2 liquefiers.  Would just be cheaper to shut down some of the NH3 capacity though.