Introduction

“Closing the loop—an EU action plan for the circular economy” from 2015 (EC 2015) indicated a departure from the traditional linear economy model based on obtaining raw materials, production, and use and waste disposal. In the new approach, the value of products, materials, and resources is retained for as long as possible. However, it is common knowledge that these assumptions can be introduced only sequentially, forcing industrial symbiosis and the following innovation, resulting from the need to create new technological solutions, measurement methods or devices. One of the service facilities in which the “circular economy” (CE) model assumptions can be successfully implemented is the water and sewage industry. CE model framework in the water and wastewater sector includes the six following actions: (i) reduction—prevention of wastewater generation by the reduction of water usage and pollution reduction at the source; (ii) reclamation (removal)—an application of effective technologies for the removal of pollutants from water and wastewater; (iii) reuse—reuse of wastewater as an alternative source of water supply (non-potable usage); (iv) recycling—recovery of water from wastewater for potable usage; (v) recovery—recovery of resources such as nutrients and energy from water-based waste; and (vi) rethink—rethinking how to use resources to create a sustainable economy, which is `free` of waste and emissions (Smol et al. 2020). Despite many existing technologies and strategic documents at the EU (2016, 2020) or national level, it is difficult to apply these solutions comprehensively in practice, combining wastewater treatment with the production of energy, fertilizers, saving water and reducing the negative impact on the environment at the regional level. Both the European Green Deal and the Circular Economy Action Plan (CEAP) accept the importance of recycling of materials as a priority area, which are in line with circular economy principles. The new Regulation (EU) 2020/741 on minimum requirements for water reuse for agricultural irrigation of May 25, 2020, will apply from June 26, 2023, and is expected to stimulate and facilitate water reuse in the EU; however, the new regulation comes with strict circumstances for water quality requirements. Moreover, scientific progress and technological developments as well as changes in the policy landscape (resulting from the first and second CEAP, the Bioeconomy Strategy, the new Fertilising Products Regulation, the Farm to Fork Strategy, the EU Biodiversity Strategy for 2030, and the recently evaluated Urban Wastewater Treatment Directive 91/271/EEC (UWWTD)), resulted in the Commission’s decision to revise the Sewage Sludge Directive (86/278/EEC).

The transformation of WWTPs and/or biowaste facilities from “the strategy one goal” (wastewater and waste treatment) into “the CE strategy” as biorefineries (Tobin et al. 2020), biopower (Pott et al. 2018) or even biomaterial producers (You et al. 2019) is becoming more realistic nowadays. Currently, WWTPs should be an area where these assumptions can be successively implemented through (Neczaj and Grosser 2018; Qui et al. 2019; Sfez et al. 2019; Maroušek et al. 2020): (i) closed water and wastewater cycles, (ii) recovery of valuable substances (nitrogen, phosphorous, cellulose, humic acids, fatty acids, enzymes, and polysaccharides), (iii) recovery of products generated in technological processes (fertilizers and biochar), and (iv) recovery of energy and heat. However, European WWTPs frequently operate within the linear economy paradigm with the main target connected with wastewater treatment at the suitable level. Part of them understands the necessity to improve energy efficiency and increase matter recovery; however, there is lack of both a practical approach and well-documented cases in this subject.

Kehrein et al. (2020) calculating market supply potentials of water, energy, fertilizer, and other products recoverable from municipal WWTPs in the Netherlands or Flanders identified the potential resource recovery and market supply potential. They found on the basis of data from 11 WWTPs that advanced technologies used for water recovery, such as microfiltration and ultrafiltration, could reduce Dutch freshwater use by 17%, while reverse osmosis could reduce it by 13%. In spite of the fact that WWTPs can reuse the treated effluent in the system, contributing to the closure of the water cycle and avoiding the pumping of treated water into the sea (like Spain does, for instance), the important questions regarding the illegal connection of waste pipes with traditional irrigation or the payment of pumping costs for reuse have gone unanswered, and there is a need for better reflection from all stakeholders (Hagenvoort et al. 2019). Trimmer et al. (2017) recognized that in developed countries, replacing existing sanitation systems will account for most of the total resource recovery potential (77−84%) and could offset between 4 and 12% of projected synthetic fertilizer use. It is extremely important, because 55% of phosphorous in European countries is lost through wastewater systems (van Dijk et al. 2015). In spite of the exciting number of technologies of phosphorous recovery, only Switzerland and Germany introduced legislation requiring P recover and recycling for the wastewater treatment sector.

The subject of the presented work is to determine the implementation of circular economy principles in the wastewater sector in Poland. The specific goal of this work was the estimation of installations at WWTPs that in practice displayed the effectiveness of combining different ways of proceeding during wastewater treatment in the context of water–nutrient–energy–recovery under the national/EU legislation.

Statistical data in polish wastewater sector

Statistical data were collected from Statistics Poland (2020). It is estimated that almost 61% of people in Poland live in cities (the average for Europe is 74.4%). In 2019, there were 3278 municipal wastewater treatment plants (which support 75% of the Polish population), 2055—with a throughput up to 500 m3 of sewage per day—and another 878 with a throughput between 501 and 5000 m3 per day. This is a total of over 90% of all municipal sewage treatment plants, but their share in the “production” of treated wastewater is only 19%. In addition, the number of treatment plants in the years between 2000 and 2019 serving cities increased from 801 to 938, while in the villages, simultaneously, the number of treatment plants increased from 1510 to 1965. The largest percentage of the population using sewage treatment plants was recorded in the province Zachodniopomorskie (83%), and the lowest was in the province of Lublin—58%. At the same time, almost 95% of the population use sewage treatment plants, while in villages it is 44%. It has been estimated that 96.6% of the urban population have access to the treatment plant in the provinces of Kuyavian-Pomeranian, Podkarpackie, and Podlaskie regions; the least—91% in Silesia. As for the village population, the highest percentage is at 62.1% in the Pomeranian province, and the least is at 22.8% in the Podlaskie region. For comparison, in 2017, most European countries collected and treated sewage to a tertiary level from most of their population. In EU-27 countries, 69% of the population were connected to tertiary level treatment and 13% to secondary level treatment. Countries where less than 80% of the population were connected to public urban wastewater treatment systems include: Albania, Bosnia and Herzegovina, Bulgaria, Croatia, Ireland, Italy, Lithuania, Romania, Serbia, Slovakia, and Slovenia (EEA 2020a).

The amount of sewage sludge is about 1–3% of the volume of sewage operated at WWTP; however, it can pose a potential threat to the environment if managed inappropriately. In Poland, sewage sludge is used for: agricultural purposes, fertilization of soils and plants as a valuable source of nitrogen and phosphorus, compost production, as well as for the reclamation of degraded lands (Fig. 1). It has been noted that between years of 2000 and 2019, there was a significant decrease in the volume of sewage sludge distinguished in landfill (from 43 to 1.6%) and an increase in the volume of incinerated—from 1.4% to 19.1% (2018) and 12.1 (2019). Bianchini et al. (2016) analyzed statistical data (Eurostat, EC reports) concerning sewage sludge production and disposal and found two important considerations: (i) unknown disposal in EU-27 was too high to make a consistent analysis and was equal 10.7%, (ii) agriculture was the preferred disposal route in EU-27. In Poland, the difference between the sewage sludge produced and the one disposed was even higher and equal to 57% in 2019. According to Bianchini et al. (2016), such highly unknown disposal routes of sewage sludge disposal is very dangerous due to the possibility of fully disappeared from the official amount, since it is even practically realized as a sludge landfilling or land spreading.

Fig. 1
figure 1

The sewage sludge management between years of 2000 and 2019, performed their own study based on Statistics Poland data, (https://stat.gov.pl/en)

The wastewater treatment plant (WWTP) as an element of the “circular economy” concept

Protection of natural resources—biowater, bioresources, and biorecycling—theoretical base and national legislative solutions

The water and sewage sector offers many possibilities for implementing activities based on the closed cycle model—in both unitary and broader terms, assuming inter-branch cooperation. This, however, involves a change in the perception of waste generated during wastewater treatment processes and the creation of clear definitions and legislation allowing for multidirectional development in this area of the management. Until recently, WWTPs were associated with only one goal—bringing contaminated sewage to such a quality that they could be safely discharged into the environment. At present, the wastewater treatment plant represents not only a conventional bioprocessing facility, but is more often utilized as a bioenergy plant (biogas production) or even a biorefinery (Gherghel et al. 2019). In theory, many strategies/technologies are being proposed for improving energy self-sufficiency at wastewater treatment plants (WWTPs); however, limited case studies have been reported. As mentioned by Vij et al. (2021), the centralized and decentralized systems of wastewater treatment may use different technologies. They compared three aspects, representing the wastewater paradigms in India and the Netherlands: (1) framing, (2) policy goals, and (3) technical and financial instruments. They found that in both countries the paradigms have evolved. In India, the main concept is actually focused on “water scarcity and beautification of cities.” In the case of the Netherlands, the wastewater paradigms have changed from an emphasis on “public health and environmental concerns” to the “circular economy of wastewater” and governance strategies to increase the urban wastewater treatment capacity and reuse are developed. Contrary to the Netherlands, significant progress toward wastewater treatment and reuse has been made. Wallis-Lage et al. (2015) suggest that the best option is an equal priority between the waste to energy (WtE) approach that uses the potential of sewage sludge (but also other organic waste) to generate energy, as well as the new nutrient-energy water paradigm (NEW), (Fig. 2). Both define the future role of WWTPs and its share in creating the national concept of the/a circular economy in relation to municipal infrastructure (Karło and Gieleciak 2018). On the other hand, Villarín and Merel (2020)marked the following paradigms: (i) water reuse considering wastewater as a water resource rather than a hazardous waste, (ii) wastewater-based epidemiology considering wastewater as a source of information regarding the overall health of a population through the analysis of specific biomarkers, (iii) circular economy through the implementation of treatment processes aiming at harvesting valuable components such as precious metals or producing valuable goods such as biofuel. The authors mentioned that approaching “water reuse” should also take public acceptance into consideration. The necessity of design and the introduction of such an approach were described by Montwedi et al. (2021) in the research concerning rural South Africa. They noted that at the same time WWTPs consume large amounts of energy to comply with discharge standards, and wastewater contains resources that can be recovered for secondary uses, if treated properly. According to the authors, the conversion of wastewater treatment systems into low cost and environmentally sustainable water and resource recovery facilities should be widely introduced.

Fig. 2
figure 2

Resource recovery ways within the nutrient-energy water paradigm (NEW), (Wallis-Lage et al. 2015)

Actually, the most attention is paid to the following aspects: (i) management of treated wastewater (water renewal and reuse) and (ii) reduction in the loss of nutrients and decrease contamination of aquatic environments (removal and recovery of nutrients). Moreover, considering market potentials, technological innovations, early in the planning and process design phase, may facilitate the design, including: (i) improving the quality and conditions of the water and soil environment by removing harmful micropollutants as well as removing and recovering nutrients, (ii) reducing the consumption of water resources by water reuse, (iii) improving the living conditions of the society in connection with the developed water and sewage management system, (iv) reduction in the extraction of minerals used in the production of mineral fertilizers used in agriculture, (v) reducing the nuisance of the sewage treatment plant to its immediate surroundings (reduction of odor emissions), and (vi) low construction and operation costs of new and modernized wastewater treatment plants through, inter alia, increasing energy self-sufficiency.

EU legislation should be followed by regulation at the national level. The Polish “Strategy for dealing with municipal sewage sludge for 2019–2022” (Ministry of Environment, 2018) in order to ensure a proper method of dealing with municipal sewage sludge assumes the following strategic objectives:

(1) The decrease in the total amount of sewage sludge, especially of poor quality produced in municipal wastewater treatment plants. In accordance with regulations, the suitable use of sewage sludge, directly on the surface of the land, for production of fertilizers, plant suppliers or thermal treatment for energy recovery.

(2) Increasing the amount of municipal sewage sludge treated before entering the environment and increasing the amount of municipal sewage sludge thermally treated.

(3) Striving to maximize the degree of use of biogenic substances contained in sewage sludge while meeting all requirements regarding sanitary, chemical and environmental safety.

These regulations are not enough to achieve the circular model of WWTP in the area of waste management; however, it can be the starting point for further entries.

Area of technology

There are several new technologies, especially used in the operation of wastewater treatment plants, which have been implemented over the last few years in accordance with the "smart" idea and CE. The following directions of development of technology have been developed for the operation of WWTP’s in Poland (Rybicki 2019): (i) increasing the technological and functional efficiency of the WWTPs based on multi-phase biological reactors for the integrated removal of carbon, nitrogen and phosphorus compounds, and in justified cases, the development of technology to the water reuse in accordance with appropriate quality standards; (ii) implementation of technical solutions ensuring low energy consumption, not only by using devices with low electricity consumption (e.g., blowers, pumps, and mixers) but, above all, activities focused on the recovery of some energy in the technological process so as to use it as a renewable energy. First of all, it is the combined production of electricity and heat with the use of fermentation gas generated during the anaerobic treatment of sewage sludge. It can also be the use of heat pumps using sewage as the so-called lower source. Finally, there are some examples of the use of large, woodless land occupied by wastewater treatment plants as an area for solar farms; (iii) an example of the application of a technology that significantly reduces electricity consumption is the introduction of nitrogen removal by nitrification instead of the much more energy-consuming denitrification; (iv) minimization of the volume of sludge after the end of the technological process and the possibility of their disposal/use—to minimize the negative impact on the environment (“ecological footprint”) and the use of such methods of sludge treatment, which are characterized by lower electricity consumption than traditional methods.

Water supply potential

The data of the European Commission show that every year in the EU more than 40 billion m3 of sewage is treated, and less than 1 billion m3 is reused. On June 25, 2020, the Regulation of the European Parliament on the minimum requirements for water reuse came into effect, which included provisions on the use of municipal wastewater for irrigation of agricultural land. The new rules will apply from June 26, 2023, and are designed to stimulate and facilitate water reuse in the EU. In spite of the fact that water reuse is mainly a local solution to a local problem, water stress and balance of costs and benefits should be analyzed on a national, regional or river basin scale. However, it should be taken into consideration that the sewage (even after treatment) contains many contaminants (emerging contaminants) that are not standardized and may pose a threat to the environment. Hence, it is necessary to use tertiary treatment, which is a final process that improves wastewater quality before it is reused, recycled or discharged. Unfortunately, the process is usually very expensive. An important issue is also the social acceptance of wastewater reuse directly from WWTP (Kehrein et al. 2020). According to Wallis-Lage et al. (2015), the water can be reused in: (i) agriculture/horticulture such as irrigation of crops (food and non-food), orchards and pastures or aquaculture including algal farming; (ii) industry such as cooling water, process water, aggregate washing, concrete making, soil compaction, dust control and/or iii) municipal/landscape uses such as irrigation of public parks, recreational and sporting facilities, private gardens, roadsides, street cleaning, fire protection systems, vehicle washing, toilet flushing. In the document, several environmental, economic and social benefits are shown. Kehrein et al. (2020) estimated that wastewater discharged by Dutch WWTPs account for only 20% of the total amount of fresh water abstracted in the Netherlands. Generally, authors calculate that application of filtration technology, such as microfiltration and utrafiltration to wastewater, entails a loss of water by 17% and reverse osmosis by 13%. They are more skeptical in relation to the use of advanced treatment of wastewater to obtain good quality water to drink. In their opinion, only latter technology could reclaim water of a high enough quality to enter the potable supply. In Poland, a good example is the use of approximately 1.5 million m3 of sewage treated from the “Dabrowka Mala” WWTP operated by Katowickie Wodociągi S.A. by the neighboring heat and power plant belonging to Tauron Heat Sp. z o.o.—Katowice Production Plant. It has been calculated that during the 20 years of operation of the installation, it allowed for the savings of about 30 million m3 of drinking water (Konopka 2019). On the other hand, at the Chrzanow Trzebinia Group WWTP since 2019, treated sewage (as a “technological water”) has been used for the operation of the grate building: to a screenings washer and directly to a sand separator with a sand washer. In addition, treated wastewater will be used at WWTP not only to rinse the tanks, but also to wash specialized vehicles used for wastewater transport (Wyrwik 2020). At the WWTP Tychy, treated wastewater is used as technological water. Recirculant (meeting the necessary parameters) is used by power generators, a sewage sludge dewatering station, a biogas purification station, and is also used for car washing. This approach resulted in the reduction of tap (drinking) water consumption from 185.5 to 117 thousand m3 per year (Karło and Gieleciak 2019). In EU countries, over 40 billion m3 of sewage is treated every year, however only 964 million m3 of treated wastewater is reused, which is only 2.41% of the potential stream (Strategy 2016).

Wastewater treatment efficiency

High requirements to the degree of wastewater treatment, particularly with regard to the elimination of nitrogen and phosphorus, have far-reaching consequences for the construction and operation of treatment plants and lead to rapidly growing technological progress, especially in terms of process techniques. This applies to both large and small sewage treatment plants. Within project IWAMA there was an estimated efficiency of wastewater treatment of 66 WWTPs in the Baltic Sea Region (Finland, Sweden, Denmark, Germany, Poland, Lithuania, Latvia, Estonia, Belarus, Russia). According to Rettig et al. (2018), in all these regions, the activated sludge system with nitrification and denitrification can be considered as the dominant or even exclusively applied technology. The sequential biological reactor (SBR) was most frequently used in the Baltic Sea region for wastewater treatment; however, they were conventional multi-stage flow systems. Only two WWTPs in the South-Baltic region use other technology—a fan-activated sludge system in combination with a biological trickle bed, a USB reactor, and a two-stage biofiltration and CASS (Cyclic Activated Sludge System) sequence reactor. The largest wastewater treatment plant in Poland, which is called “Czajka” in Warsaw, was established in 1991, and after the modernization and adaptation of the technology to the applicable regulations in the field of wastewater treatment, it increased its capacity from 240,000 m3/day to 435,300 m3/day. The sewage treatment plant uses a conventional system to wastewater treatment. The first stage of wastewater treatment is mechanical treatment. Wastewater is transferred to the grates and is then sent to sand traps and preliminary settling tanks. In the second stage, they are directed to the activated sludge reactors with an enhanced biogen (N, P) removal system (Fig. 3). The sewage from the reactors goes to a final clarifier, where the activated sludge is separated from the sewage, which is then discharged to the Vistula River.

Fig. 3
figure 3

The block diagram of the biological system of the WWTP Czajka, Warsaw (MPWiK, Warsaw)

WWTP has 10 BIODENIPHO technological lines. Each technological line is equipped with one biological reactor with Bio-P systems for phosphorus removal, Biodenitro for nitrogen removal, two aeration chambers, two final clarifiers and an activated sludge recirculation system. The efficiency of the “Czajka” wastewater treatment system is presented in Table 1 in comparison with data from other WWTPs located in the largest Polish cities.

Table 1 The comparison of wastewater treatment efficiency from different Polish cities – the quality of treated wastewater

To achieve specific effluent goals for BOD, nitrogen and phosphorus, different adaptations and modifications have been made to the basic activated sludge design. Well known modifications include sequencing batch reactors (SBR), oxidation ditches, deep shafts, extended aeration, moving beds and membrane bioreactors. In WWTP Tychy, as part of numerous investments at the WWTP, two independent technological lines for biological wastewater treatment with the removal of biogenic compounds were introduced. First of all, wastewater treatment is realized according to the patented, modern and one of the largest in Poland, C-Tech technology, based on SBR sequential reactors. The second, in the process of purification, uses activated sludge chambers that work according to the technology of integrated, highly effective removal of nitrogen and phosphorus. The modified Johannesburg (JHB) system consists in the distribution of the inflow to the pre-denitrification chamber (20%) and the anaerobic chamber (80%). Recently, Song et al. (2020) developed a Johannesburg-Sulfur autotrophic denitrification system (JHB-SAD) to treat municipal wastewater. According to authors, the JHB-SAD could achieve the complete removal of nitrogen, and theoretically the nitrogen removal efficiency is independent of the COD/TN ratio. Moreover, the system achieved the phosphorus removal above 90% with a dosing of a small amount of sodium acetate (chemical oxygen demand, COD of 40 mg/L). At the WWTP Tychy after modernization, a better quality of wastewater was obtained (Fig. 4). The use of the technology C-TECH was more effective in the case of the reduction of COD/BOD—42/86% respectively and nitrogen—51%. However, the removal of phosphorous equal to 90% was obtained after treatment by JHB technology, the efficiency similar to that indicated in the literature. Installation of both technologies allowed for greater flexibility in conducting the processes.

Fig. 4
figure 4

The average values of WW quality indicators at WWTP Tychy before and after modernization with use of technology C-TECH and JHB (COD – chemical oxygen demand; BOD – biological oxygen demand, TSS—total suspended solids (Karło and Gieleciak 2019)

The importance of using advanced methods for wastewater treatment were confirmed by Robescu and Presură (2017) after carbon footprint calculation in WWTP in Romania. They found that modernization of technology used at WWTP could cause a decrease in the value of GHG emission at 0.17 kg CO2 eq per m3 treated wastewater or 32.33 [kg CO2eq/PE and year].

Biogas—a source of energy for public utilities

Biogas produced in separate fermentation chambers (digesters) has recently become the most important energy “substrate” for wastewater treatment plants. According to the data of the Statistics Poland in 2019, there were 2,454 wastewater treatment plants in Poland using biological treatment processes and 817 wastewater treatment plants with increased removal of biogens, which could therefore be producers of treated biogas. In Poland, there are many commercial technological solutions for biogas production on the market, including CAMBI, SEEN TECHNOLOGIES, SYMBIONS. Currently, 140 WWTPs are equipped with the installations for the production of biogas, 112 plants are equipped with biogas-powered generators, and the total volume of digesters in all WWTPs is estimated at 800,000–900,000 m3 (Masłoń et al. 2020). It is estimated that from 1 kg of the removed organic suspension contained in sludge, it is possible to obtain from 0.75 to 1.12 m3 of biogas, with the methane production coefficient being from 80 to 377 m3/Mg organic dry matter, and the calorific value from 13 to 23 MJ/m3. After applying effective methods of upgrading, this value can be increased to 35.7 MJ/m3, thus close to that of natural gas. The upgrading of biogas leads to the creation of a fuel with a very high methane content (over 90%), the so-called biomethane that can be successfully used for combustion in cogeneration devices. Unfortunately, the high investment costs of building the installation (both the digesters and the biogas refining system) and the common belief that in order for biogas production to be profitable, at least 10–12 thousand m3 of sewage per day must flow to the treatment plant. Otherwise, the amount of produced methane will reduce the operating costs of the WWTP to such an extent that the cost of building an appropriate infrastructure will exceed possible profits, which makes the production of biogas meaningful only in large facilities. Another counterargument for the construction of such systems in wastewater treatment plants is the fact that only 50% of the organic substance is biodegradable in anaerobic conditions, and no one has any influence on the composition of wastewater, and thus its suitability for methane production (Grosser et al. 2020). Improving the efficiency of high-quality biogas production can be achieved by: (i) optimization of fermentation chambers operation; (ii) initial conditioning of sewage sludge; (iii) adequate biostimulation (e.g., dosing the chambers with appropriately selected additives (biochar, zeolites, activated carbon) and bioaugmentation (e.g., using modified microorganisms by genetic engineering methods); co-fermentation; (iv) development of new structures for fermentation chambers.

In turn, Sarpong and Gude (2020) identified the following possibilities for enhanced energy recovery: (i) by increasing the COD capture in primary treatment to enhance energy production; (ii) by replacing the activated sludge process with other less energy-intensive biological treatment technologies; and (iii) by increasing energy production from digesting supplementary feedstock in anaerobic co-digestion (AD) schemes. All these methods have their own advantages and disadvantages, but they undoubtedly improve the quantity and quality of the biogas produced. It is estimated that the preconditioning alone can increase the value of the biogas production factor in the range of 10–50%. Another solution already used in Polish wastewater treatment plants is co-fermentation. High-energy waste is used, e.g., from the food and agricultural industry (sugar factories, fish and meat processing, fat plants, distilleries) or selectively collected biodegradable fraction of municipal waste. A good example is the WWTP Tychy, where the surplus of electricity and heat contributed to the investment in the Water Park Tychy. Co-fermentation is carried out in two separate fermentation chambers with a volume of 5500 m3 each. Biodegradable waste (including waste whey) is mainly used as substrates for co-fermentation, and the continuous optimization of the process has contributed to a gradual increase in the efficiency of biogas production—from almost 2.5 million m3 in 2009 to nearly 6.5 million m3 in 2018. High energy production of the company’s own RES (renewable energy source) allowed the company to leave the standard scope of the company's activity and construction of Water Park Tychy, powered exclusively with energy coming from this source. In order to cover the company’s and of the water park demand the Tychy wastewater treatment plant has to produce between 16 thousand m3 (in summer) and 19 thousand m3 per day (winter) of biogas. Due to the highly efficient energy economy during the co-digestion process, the average volume of biogas produced in the WWTP Tychy in 2017 was equal 17.4 thousand m3 per day (Karło and Gieleciak 2019). In comparison, the WWTP Lodz (the second largest WWTP in Poland) produced 23 thousand m3 per day in 2019 (data from WWTP).

Energy from WWTP

Wastewater is usually considered as a good energy source. In WWTP, electricity and/or heat can be produced from: (i) cogeneration and/or biogas combustion systems, (ii) chemical oxidation of sewage sludge, (iii) thermal treatment of sewage sludge, (iv) heat of treated sewage, and (v) additional installations—ground heat pumps or photovoltaic panels. Electricity generated by the cogeneration system is used to cover the plant's own needs, and the surplus of electricity is transferred to the public power grid. In the case of a biogas engine, waste heat from the engine cooling system and heat from the exhaust gas system are generated in wastewater treatment plants. This heat is transferred in the engine cooling water stream and used for heating purposes. It is estimated that under Polish conditions the investment costs can pay off even after 9 months.

According to Statistics Poland in 2018, there were approximately 72 MW of electric power using biogas from sewage treatment plants. The above generation capacity made it possible to generate approximately 337 GWh of electricity from treated biogas. Data illustrating the scale of electricity production in selected sewage treatment plants in Poland are presented in Table 2. Eleven WWTPs produce approximately 34% of the total volume of approximately 337 GWh of electricity from biogas in Poland. The potential of producing electricity from biogas in WWTPs in Poland can be estimated at approximately 700–850 GWh per year (Raport, 2020). For comparison, in 2018, the EU-28 primary energy production from sewage sludge gas amounted to 1,509 metric kilotons of oil equivalent (Statista 2021).

Table 2 Average annual energy production from biogas at WWTPs in Poland (Biogas in Poland, Raport 2020)

As Macintosh et al. described (2019), the Grüneck WWTP, operated in Germany, increased energy self-sufficiency by 24% (from 64 to 88%) through reducing energy consumption with aeration upgrades (8% increase) and increasing energy production with food waste co-digestion (16% increase). The plant-wide analysis indicated that the aeration upgrades did not affect effluent quality; however, co-digesting food waste at 20% additional organic load caused some minor downstream impacts including reduced dewaterability, fluctuating biogas quality, and solids accumulation.

Dried sewage sludge is also a source of renewable energy and is used, among others, in cement plants as alternative fuels. However, according to the Cement Producers Association in 2015, the share of sewage sludge in the total amount of alternative fuels used in the technological process (mainly for the production of clinker) was only 0.7%.

Energy self-sufficiency

Wastewater treatment plants is a high-energy-consuming facility in terms of the necessity for optimizing several technological processes during wastewater as well as sewage sludge treatment. The gain of the balance between the energy, heat production and consumption is one of the most significant challenges posed by the idea of the circular economy. At the WWTP, on the one hand, the energy balance is connected with production of biogas and energy from its own renewable energy source and its increase in quality with the usage of the biogas purification station. On the other hand, there is increased energy demand resulting from the need to adapt wastewater treatment processes and sludge treatment to increasingly higher standards for the removal of pollutants. To minimize the need for energy, diagnoses of the most energy-consuming locations in technological processes and their modernization or liquidation has been done. Usually, the processes used in the third stage of wastewater treatment (UV lamps, ozone generators, pumps, etc.) are considered the most energy-consuming, followed by biological and mechanical treatment. According to Wróblewski and Heidrich (2017), an electricity consumption in the Polish WWTPs ranges from 0.45 to 1.29 kWh/m3, with the average value equal to 0.84 kWh/m3. The similar average values of energy intensity index for WWTPs can be found in the report of the Chamber of Commerce “Polish water-works”—0.77kWh/m3 (Benchmarking 2019) and the study of Gromiec (2016), who makes the need for energy dependency on the size of the treatment plant: 0.84kWh/m3 for smaller facilities (less than 100 thousand inhabitants) and 0.62 kWh/m3 for bigger ones (more than 100 thousand inhabitants). The WWTP Tychy produces electricity and heat in the process of cogeneration of biogas produced from the co-fermentation of sewage sludge and biodegradable waste, which are obtained from external suppliers from various branches of industry. The approach based on industrial symbiosis has allowed for the achievement of very good energy efficiency indices. Already in 2010, energy produced from biogas covered the demand of the treatment plant up to 99.16%, and since 2012, surpluses have been regularly obtained. The red line shows that the number of investments in innovative technological solutions and continuous optimization of the co-fermentation process have contributed to achieving the energy self-sufficiency of the treatment plant at the level of 200%. Thanks to the energy symbiosis of both facilities, it was possible to entirely cover their demand for electricity and heat from biogas cogeneration arising in a sewage treatment plant, and in addition, surplus energy is sold to the grid (PEC/TAURON), which generates additional profits (Karło and Gieleciak 2019). Since 2006, when cogeneration units at the WWTP began working, by the end of 2018, 78 867.576 MWh of electricity was produced from biogas. To produce an equivalent amount of energy, a conventional power plant would use 37,408 Mg of heavy coal. Considering the thermal energy generated in cogeneration, the amount of this raw material would increase to 76,801 Mg (assuming efficiency of the plant at an average level of 33%, heating plant efficiency at an average level of 42% and a calorific value of coal equal to 23 GJ/Mg). The potential of industrial symbiosis for improving energy efficiency is not only the implementation of co-fermentation (with use of high-energy waste) but also the co-gasification of sewage sludge and municipal waste (including waste biomass classified as other and alternative SRF fuels) with the concept of waste to energy. Moreover, the modernization of the most energy-consuming devices and the optimalization of some processes also bring significant energy savings. In turn, at the WWTP Klimzowiec (Silesia region) identified the most energy-consuming devices: (i) internal recirculation (23.33%); (ii) air blowers (20.85%); (iii) pump station (10.84%); (iv) aeration of biological chambers (9.11%); (v) external recirculation (6.87%); and (vi) mechanical wastewater treatment (5.86%). According to the fact that the most energy-consuming process was nitrogen removal (aeration, internal recirculation), it was therefore decided to change the method of process control (Table 3).

Table 3 Optimalization of the nitrogen removal process for energy savings and process efficiency at the WWTP Klimzowiec as a modernization of biological chambers (aeration, internal recirculation)

As shown in Table 4, modernization of most energy-consuming devices at the WWTP Tychy did allow for significant reduction of energy consumption and substantial savings per year.

Table 4 The changes in energy consumption after modernization of high-energy-consuming processes at the Tychy WWTP (Gieleciak 2018)

On the other hand, the use of existing areas of sewage treatment plants for the construction of photovoltaic farms may undoubtedly improve the energy efficiency of the company but is not, however, directly related to wastewater treatment/sludge management. Such a farm was built, among others, in sludge lagoons decommissioned at the WWTP in Chrzanow Duzy (Grodzisk Mazowiecki).

Gu et al. (2017) noted that the construction of energy self-sufficient WWTPs is still a challenge in terms of technology, costs and environmental protection issues. In Poland, Rettig et al. (2018) after estimation of 23 WTTPs in the Baltic Sea Region, found that half achieved the degree of self-sufficiency at the level of 45%. Four WWTPs achieved values greater than 80%, simultaneously. According to Masłoń et al. (2020), in Poland, only a few WWTPs achieved a 100% degree of self-sufficiency—WWTP Tychy, WWTP Ilawa, WWTP Slupsk, WWTP Gubin-Guben, WWTP Swarzewo.

Recovery of biomatter

Appropriate management of sewage sludge is turning out to be important in terms of the circular economy, energy management and the depletion of non-renewable resources of minerals from which phosphorus is obtained (apatite, phosphate rock). Sewage sludge is “always” spread over the ground surface. And this is undoubtedly the simplest example of applying the “cradle to cradle” principle. Council Directive 86/278/EEC of June 12, 1986, on the protection of the environment, and in particular of the soil, when sewage sludge is used in agriculture is the one of the oldest European regulations. It prohibits the use of untreated sludge on agricultural land, unless it is injected or placed under the soil surface. The directive also requires that the sludge is applied in a nutrient-sensitive manner and that the quality of the soil, surface and groundwater is not deteriorated. In 2014, the directive was assessed as part of the “ex post evaluation of certain waste stream directives.” The evaluation revealed a number of shortcomings, largely due to the fact that the regulation was adopted 35 years ago and does not fully meet actual problems connected with the presence of new pollutants in the environment. In Poland, the use of sewage sludge is regulated by the Regulation of the Minister of the Environment from 2015. According to the data of the Statistics Poland in 2019, approximately 25% of sewage sludge is used in agriculture and for land reclamation in Poland. For comparison, in Germany, sewage sludge compost was used for agriculture purposes and in Italy as fertilizer for agriculture (95%), fertilizer for horticulture (3%), and fertilizer for fruit growing (2%), (Corden et al. 2019).

The processing of sludge from waste to product can be difficult, requiring additional installations and many bureaucratic activities. However, reclassification of the waste allows for a product to be obtained that can be marketed. From sewage sludge, promoting agents such as organic fertilizers, organic-mineral fertilizers or plant growth improvers may be produced. All of them require certification and fulfillment of the requirements specified in the relevant regulations of the Ministry of Agriculture.

Composting of sewage sludge requires mixing it with a structure-forming material, e.g., straw (corn, wheat, from energy crops—miscanthus), sawdust and/or other waste, e.g., grass or organic fraction of municipal waste. However, it should be remembered that the compost remains waste after the process, unless it meets the legal requirements (Table 5). In Poland, the compost produced can be marketed as an organic fertilizer or as an agent supporting the cultivation of plants, in the form of: a soil conditioner (soil improver), a growth stimulant, or a cultivation medium.

Table 5 The selected requirements of compost quality according Polish and German law

In practice, most often composting facilities or WWTPs apply for the status of an organic fertilizer for nutrient-rich composts or a soil conditioner for other composts. Regardless of the method of biomatter recovery and inclusion of sewage sludge in the biological cycle, the WWTP should choose not only the financial outlay to purchase and implement the appropriate technology, but also R&D work to obtain the appropriate product quality. It is estimated that in Poland more than 100 WWTPs in Poland produce compost at high quality. Some authors suggest, however, that not every substrate added to waste during composting process will produce good quality compost (Maroušek et al. 2016). The European Compost Network (ECN) noted that EU28 produced 12.1–16.2 million tonnes of compost. However, EU production of sewage sludge compost is much lower at the level 0.8 million tonnes (Corden et al. 2019).

In recent years, sludge treatment methods leading to the production of organic and mineral fertilizers have slowly started to gain importance. Within the Polish market, fertilizer products such as ORTWED, a Danish company fertilizer “Biowap” (Decision 91/04; July 13, 2004) OrCal® fertilizer (Decision No. 183/07 Mark HORnn-4077–2 / 07 of 2007); “Gramed” fertilizer with Decision No. 280/11 issued in 2011, “Klonex” fertilizer with Decision No. G-463/14 of 2014; and the “Oskar”" fertilizer by OMEGA (Decision 289/12 on February 16, 2012).

In order to use of this type as a fertilizer, a significant amount of inorganic substrates should be added. These are calcium compounds, sulfuric acid, magnesium, and potassium compounds, or fly ash from the combustion of hard coal or brown coal. The most frequently used solutions are based on the introduction of a significant amount of quicklime (containing active calcium oxide CaO), which is a traditional hygienizing agent for sewage sludge. The amount of heat generated by the strong exothermic reaction is directly proportional to the amount of water needed for evaporation and the amount of added quicklime CaO. According to fertilizer manufacturers, the resulting slaked lime can react at a temperature elevated to 135–140 °C with the presence of, for example, amorphous silicic acid or aluminum compounds present in the sewage sludge.

There are a few wastewater treatment plants that are also certified to produce a soil conditioner from sewage sludge. The WWTP Lubań, as a result of the autothermal aerobic (thermophilic) stabilization of sludge in ATSO reactors and their dehydration, obtained a permit in 2020 to introduce the NATUR-GLEB product. NATUR-GLEB has an approval issued by the Decision of the Ministry of Agriculture and Rural Development No.G-927/20 of April 21, 2020.

On June 25, 2019, a new Regulation (EU) 2019/1009 of the European Parliament and of the Council of 5 June 2019 laying down rules on the making available on the market of EU fertilizing products and amending Regulations (EC) No 1069/2009 and (EC) No 1107/2009 and repealing Regulation (EC) No 2003/2003 was published. Part II of this Regulation prohibits the use of sewage sludge as ingredients in the production of EU fertilizing products.

Management and decision methodology

According to linear economy, the processing capacity has been the leading factor in the design the wastewater treatment plants as a main value related to the supply and effluent requirements. The CE totally changed the approach to WWTP. The facility become a source of not only water but also energy, raw materials or substrates. WWTP, as a resource plant, is driven by local conditions and drivers. It should consist of a business case philosophy that balances resource supply, sustainable development and financial soundness. The products should be returned at the local market (for example heat), regional market (energy, bioproducts), national or global market (raw materials). Hence, the WWTP as production site during the planning phase of a large-scale renovation or new construction has to take into consideration not only the development of technology or social and environmental requirements, but also legislation and economy. Zarei (2020) mentioned that there are many relationships between infrastructures, complex economic–environmental–social–political circumstances, and reuse limits. The author identifies three different approaches: (i) the best available technology, (ii) the decision support system, and (iii) risk management. According to IWA (2017), cities aiming to meet sustainable development goals (SDGs) are establishing ambitious targets to reuse and find opportunities to address water security, public health and socioeconomic development for the wastewater sector (Table 6). The report indicates that decentralization leads to different technologies used in wastewater treatment plants, and that environmental, economic, and social conditions force the direction of changes (Table 6).

Table 6 Comparison of a reuse opportunities at different WWTP’s, according to IWA (2017)

There are several steps of a decision tree that when used in combination can result in an optimal model for the circular economy concept. The key points include: (i) the need to recover resources; the necessity of recovering nutrient, water, and energy should be balanced with the cost of technology implementation. Due to the fact that the costs may even make these options non-viable in the short term, it is very important to identify financial limitations versus sustainability goals in the long term; (ii) resource demands; product necessity should be identified at a local and more general level, its quality, frequency of use, distribution of the end product and storage requirements; (iii) technology/asset requirements; (iv) financial factors; and (v) risk/benefits factors.

Zarei (2020) notes that in the case of recovering energy from wastewater, it could be achieved by some basic actions and the use of a system decision tree: (i) engaging public support; (ii) establishing new policies; (iii) choosing the most applicable type a wastewater treatment; (iv) developing a national, regional and local action plan; (v) coordinating investments and financing; (vi) applying the quality criteria to end product; (vii) evaluating the most cost-effective potential wastewater reuse; (viii) building suitable infrastructures; and (ix) applying integrated schemes for wastewater treatment and reuse. Many WWTPs have invested in new technologies to better control processes and use less electricity, with non-CO2 greenhouse gas emissions decreasing by 20% between 2005 and 2017 (EEA 2020b). The European Environmental Agency identified new challenges for European wastewater sector such as: climate change and the presence of hazardous substances (EEA 2020b; Fig. 5). Despite significant improvements in recent years in wastewater treatment in urban areas, finding space to install new treatment plants or upgrade existing ones can be a challenge. Moreover, there can be public opposition to building facilities near residential areas, owing to noise and odor concerns (EEA 2020b).

Fig. 5
figure 5

source: EEA 2020b, modified)

Challenges, solutions and opportunities in the wastewater treatment management (

Unfortunately, in Poland, there are only a few WWTPs where the holistic approach to the circular economy concept is developing. A good example is the Regional Centre for Water and Wastewater Management Co. in Tychy, which has for many years effectively implemented the assumptions of intelligent and sustainable development as a part of the “circular economy” model. RCWWM Tychy as an WWTP owner has technical and technological facilities for cleaning up over 15 million m3 of municipal sewage during the year, both from residents and from industrial plants. The company based the concept on three basic pillars—ecology, economics and education improve following rules (Gieleciak 2018): (i) no emission or minimal emission to the environment; (ii) minimization of waste production; (iii) energy self-sufficiency; (iv) rationalization of water usage; and (v) optimalization of influent and rationalization of technological processes. In this way, the concept of the intelligent (smart) city of SymbioTychy was created by the Centre based on the free flow of energy within the urban framework as an effect of supplying renewable energy from the municipal infrastructure and in accordance with the principles of sustainable development (Fig. 6), (Karło and Gieleciak, 2018) The Centre is one of the first Polish communal companies to introduce elements of a circular economy in a practical way at WWTP, optimizing a company’s own technological processes and creating a long-term development strategy according to CE.

Fig. 6
figure 6

The conception of smart city SymbioTychy – cooperation among wastewater treatment (Karło and Gieleciak 2018), modified

In turn, at WWTP Krakow Plaszow, the Integrated Energy Efficiency System has been introduced (Małka et al. 2017). The system is designed to provide and aggregate the operating parameters of devices and environmental parameters—rainfall or water levels. The set of correlated and processed data collected in this manner is to help the staff make decisions about the selection of the best possible setting parameters of actuators in the context of optimizing electricity consumption under specific conditions. The system was built so that IT and communication solutions are compatible with the standards adopted and used in the WWTP. Additionally, due to the security of the system, it works in a virtualized environment. The system allowed for a decrease in the average energy consumption by 12%. An example was the management of three pumps with a capacity of 160 kW and seven pumps with a capacity of 132 kW. The introduced modifications resulted in an annual savings of approximately 1000 MWh in electricity consumption. In the case of blowers, a change in the method of controlling the operation of reactors allowed for savings in electricity consumption at the level of 20%. The annual savings amounted to another 2,100 MWh (Małka et al. 2017).

Conclusion

The transformation of a linear economy to a circular economy model should be multidirectional, industrialized and organized based on the search for places that are tangible in many areas of the economy and allow for the completion of niches and current needs according to sustainable development. The term “wastewater treatment plant” is associated more with waste disposal and utilization rather than resource opportunities. However, a WWTP is slowly becoming an important part of the smart city and is changing into important producers of water, energy, nutrients and other supplies (metals, humic acids, enzymes, polysaccharides, and many others). Such a model developed at WWTP should reconcile technology requirements, financial factors and risks/benefits which promote all recovery opportunities within the local community. The novelty of such an approach was verified during the introduction of the bioeconomy conception into a business model at the facility and shows possible economical, ecological and social benefits. Hence, the implementation of the idea, “think globally, do locally” could be a very important point at the trial of introduction of a circular economy at the infrastructure of water and wastewater management. The implementation of the global rules of a circular economy concept at the regional level could be possible due to cooperation with local entrepreneurs (for supplying high-energy waste to improve methane fermentation efficiency), local government (water park creation and building) and society (conducting educational classes, environmental activities, modernizing the water supply network). The wastewater treatment plant is less of a necessary investment but is usually located on the outskirts of cities due to odor nuisance and the negative impact on the environment.