Use a window style ac unit instead a 4000 btu,
and have front sit in the tent, back outside the tent all the heat generated will remain outside the tent. Beauty of window style is none of the air in the tent leaves the tent upon cooling. The condensation thay is created from temperature difference is captured, and drained into a filter.
This also takes up hardly any space compared to a portable.