I guess what I’m saying is, even if you had a solar trailer, you would lose a lot of the load flexibility of using a semi truck. And you wouldn’t want to plan a load where you needed the solar power. So either way, you’re planning for charging at fixed intervals. Solar might help a little here, but not very much.
You'd need some sort of standard for the trailer to provide electricity to a hybrid/electric truck but ignoring that (major) issue it seems like a pretty great idea.
Imagine what a similar investment in a stationary solar panel in that same yard would yield, a panel that will charge 100% of time.
That will have to be rolled out by the yards not the manufacturers of trailers. Trailers are leased as very few companies buy them.
It still doesn't work.
Delivery trucks make a little more sense, but they still have the problem of being in motion for a large chunk of the day. Basically you're just slightly increasing your watt mileage/range on sunny days.