Foaming agent for making solar panels