Automatic line for the production of photovoltaic panels