This article link, US Wars in Afghanistan, Iraq to Cost $6 trillion basically states we will pay trillions in interest rate charges on the war debt. More than enough money to completely absorb research, development & production costs for ultra efficient solar and wind technologies.
The U.S. is probably spending 10 billion dollars a MONTH in interest rate charges just to service the war debt of the past 10 years. If the war was a noble cause, then why are those who loaned the war money profiting so handsomely and for so long?