@Daniel Lioz Not sure I follow your structure here. 504 gives you 90% against appraised value if you are an existing business (2 years operation), otherwise for SS it's 85%. But I'll assume your acquisition will come under an existing 2-year old entity. The Green Loan doesn't do 100%, but the standard advance rates. It doesn't make a lot of sense to do only $50K in equipment with it since the chief benefit is to increase the SBA lending limit from $5 million to $16.5 million. Unless you're doing a lot of big projects, this doesn't get you anything. And there is an extra burden of documenting energy savings or production with Green Loans. Same thing with equipment loans--standard advance rates. Term for equipment loans is 10 years or useful life of equipment. I doubt you could get a useful life rep on solar or containers more than 10 years.
If you just did the solar, it's likely it could be rolled into the real estate loan term--25 years.
If you slammed everything up into one 504 loan, total project cost would be $1,150K plus soft costs. Third party lender would do 50% or $575K, SBA 40% or $460K, and you'd come up with cash equity of 10% or $115K. SBA or any lender for that matter will fund based on the lower of cost or appraisal. SBA fees are roughly 2.5% of SBA amount or $11.5K, plus any other costs, such as appraisal, environmental, attorney. You can add these fees to the loan amount, so you can make the adjustments as necessary. None of this includes third party lender fees.
If you want to capitalize on increased value based on appraisal, then your strategy should be a bridge facility to be taken out on stabilization. You could then consider SBA, or maybe CMBS if you have the track record. CMBS lenders don't particularly care what you do with cash out proceeds.