During the production of thermal waters, drinking water as well as crude oil and natural gas from deep wells, accompanying substances in dissolved or solid form are usually brought to light in addition to the desired raw materials. The considerable reduction in pressure and temperature in the production string causes precipitation and deposits of these substances in the pipes. So-called scales are formed. These can consist of several layers and components. Within a short period of time, production can be significantly impaired by the scales and the economic efficiency of the plant can be jeopardized accordingly. In addition, there may be a significant increase in the dead weight of the pipe.