Introduction

Sustainable development of urban drainage systems requires measures based, inter alia, on data on the quality of wastewater transported through the sewage network. These data are necessary for the sewerage design and operation (due to the corrosive effects of wastewater components on pipeline material and the sewer deposit formation), network modernization (e.g., when using BMPs/LIDs for stormwater management, disconnecting part of the catchment), design and operation of wastewater treatment plants (WWTPs) and investments to protect receiving waters, including solutions reducing discharges from combined sewer overflows. The municipal wastewater composition depends on many factors: the number of inhabitants and the type of their activity, industrial development, location of point pollution sources, level of water consumption, day of the week and season [1,2,3,4,5,6,7]. The continuous development of urban areas, changes of inhabitants lifestyle, the emergence on the market of new and varied substances, some of which end up in the sewage system, as well as climate change and water shortages often mean that the composition of municipal wastewater changes. Nowadays, many emerging contaminants are identified in wastewater: pharmaceuticals, pesticides, industrial chemicals, plasticizers and polycyclic aromatic hydrocarbons, xenobiotics, estrogens, oil and other petrochemical products [8,9,10,11,12,13,14,15].

In the case of combined sewer system, the sewage also contains pollutants build-up on the catchment area during dry weather and then washed off during rainfall. Hence, the type and quantity of pollutants in combined wastewater depend, among others, on the land use, the degree of catchment area contamination, the frequency and efficiency of street cleaning, the intensity of car traffic and the precipitation characteristics. Stormwater runoff may contain over 650 organic substances and 30 metals and trace inorganic compounds [16,17,18]. Loads of BOD5, TSS and nutrients from urban runoff are now comparable with those conveyed by treated wastewater in Europe [19].

Urban wastewater may contain substances that are toxic for receiving water and the biological treatment process in WWTPs, which may significantly reduce the efficiency of the treatment process, and sometimes even lead to its complete collapse. Understanding the qualitative characteristics of wastewater requires measurement campaigns, which is a long-term and costly task, especially in the case of combined sewerage, where the dynamics of wastewater composition changes is high due to the unpredictability and large variability of precipitation phenomena [20,21,22]. For this reason, methods reducing the number of analyses are being sought, e.g., by establishing the correlation between parameters. Various types of matrix and composite indexes replacing several parameters are created to simplify the procedures of wastewater quality assessment [23,24,25,26,27]. Nowadays, in order to limit measurement campaigns and to facilitate the analysis and evaluation of measurement data, statistical optimization and forecasting methods, also with the use of artificial intelligence, are increasingly used [28,29,30,31,32].

This paper presents the results of a measurement campaign carried out in Lodz (Poland) in 2018–2021. The aim was to assess the quality and composition variability of wastewater in the sewage system, to establish the correlation between quality parameters and to learn about the qualitative specificity of wastewater discharged from different parts of the city, especially in terms of threats to WWTP and receiving water. The campaign was the first stage of the development of the monitoring, early warning, and sustainable management system for the wastewater treatment plant in Lodz that would minimize the pollutants emission into the aquatic environment.

Materials and methods

Study area

Lodz city is located in the central part of the country on the border of two major river watersheds (Vistula and Oder). Elevation above sea level is between 163.6 and 284.1 m. Total area of the city is 293 km2 with the structure of the land as follows: built-up and urbanized area—46.8%, agricultural land—41.7%, forest land as well as woody and busty—10.0%. Population of the city is 677.3 thousand inhabitants. Lodz has a humid continental climate, with an average annual temperature of 8.7 °C. The average annual precipitation is 582 mm.

The city is equipped with the hybrid sewer system. In the central part of the city, there is a combined sewer system serving the catchment area of about 4240 ha. This system is equipped with 18 combined sewer overflows, which, during wet weather, discharge excess wastewater into four small rivers. The remaining districts covering an area of 8200 ha, are equipped with a separate system. Municipal wastewater is discharged into the Group Wastewater Treatment Plant (GWTTP) which is located in the southwest part of the city and serves also two neighboring smaller towns. The biological stage of the GWWTP works in the MUCT system. The designed capacity of the GWWTP is 1.026.260 PE, while the current load on the plant is 934.700 PE. Maximum sewage inflow to the treatment plant during dry weather with a probability of 85% is 166,000 m3 per day. 99.9% of industrial and domestic wastewater from the city is treated. Sometimes the inflow of unidentified, toxic substances which inhibit the biological treatment process in the GWWTP, was observed, which resulted in decreasing the nitrogen removal and significant increase in nutrients emission to the environment [33]. At present, there are not many large industrial plants in the city. There are factories of electro-mechanical, chemical, textile, and leather footwear industries in the city, but because of the development of in-house effluent treatment and quality monitoring of discharged wastewater, the industry is not recognized as a significant source of toxic substances. It is suspected that the presence of such substances was caused by illegal sewage discharges into the sewage system.

Sampling and analytical methods

The survey of wastewater quality was conducted in 2018–2021. Wastewater samples were collected at 12 points of the sewer system using a portable sampler. The location of the sampling points is presented in Fig. 1, and their characteristics are presented in Table 1.

Fig. 1
figure 1

Scheme of the sewer system in Lodz with location of sampling points

Table 1 Characteristic of sampling points

Usually, the sampler was placed in a manhole for 24 h, and samples were taken every 1 h. One aggregate sample was prepared from four consecutive samples, thus obtaining 6 test samples. The exceptions were sampling points no. 6–8, where the wastewater was collected manually due to the impossibility of placing the sampler in the street manhole, predominantly 3 times a day or more. The wastewater after transport to the laboratory was tested in accordance with the range and procedures given in Table 2. Analysis results of 20 physicochemical wastewater parameters are presented in the paper: pH, conductivity (CD), total suspended solids (TSS), biological oxygen demand (BOD5), chemical oxygen demand (COD), ammonia (NH4–N), total nitrogen Kjeldahl (TKN), total phosphorus (TP), sulfide (S2), zinc (Zn), copper (Cu), chromium (Cr), lead (Pb), cationic surfactants (CS), anionic surfactants (AS), non-ionic surfactants (NIS), hydrocarbon oil index (HOI), benzene, toluene, xylene (BTX), phenol compounds (PC), and naproxen (NAP). Most of the analyzed parameters are limited in wastewater discharged to the sewage system and to surface waters. Additionally, naproxen has been investigated as an example of pharmaceuticals that are increasingly found in wastewater in concentrations that may adversely affect the biological treatment process in WWTPs and receiving waters body. Naproxen is one of the most commonly found pharmaceuticals in sewage treatment plant effluents and in surface waters [34, 35]. The sewage samples for testing were collected 72 times, 55 times during dry weather, and 17 during wet weather.

Table 2 Tested parameters of wastewater quality—methodology of analysis and emission standards

Results and discussion

Wastewater composition and its variability

The results of wastewater composition survey in Lodz sewer system are presented in Table 3 with the exception on BTX which were not detected in any of the tested wastewater samples. This means that BTX concentrations were lower than 5 μg/L. Similar results were also observed in other municipal wastewater studies, for example in Paris BTX were occasionally detected [36].

Table 3 Results of wastewater composition survey in sewer system in Lodz

During the research, in the case of most standard parameters for wastewater discharged to the sewer system in Lodz, exceedances were observed. The results in Table 3 show that only pH, concentration of Zn and Pb, as well as the HOI and PC always met the requirements given in Table 2. The median values were exceeded only in the case of 2 parameters at 3 sampling points. At sampling point no. 8, the median COD was equal to 1283.5 mg/L, while the median BOD5 was equal to 642 mg/L at sampling point no. 10 and 705 mg/L at no. 12. Summarizing the results of the analysis, it can be concluded that at sampling point no. 8, 10, and 12, the wastewater has the highest levels of organic compounds. The concentration of TSS was also high, and the limit values for wastewater discharged into the sewage system were sometimes exceeded. All points: 8, 10, and 12 are located on sanitary sewers. In point no. 10 and 12, the flowing wastewater contains a large share of industrial sewage (e.g., from the food industry), while point 8 is located in the old part of the city with a dense housing development.

However, Table 3 does not take into account a few cases when very significant, occurring within a short period of time, differences of quality parameters in relation to the values usually observed at a given sampling point, were found. These could be the indicative of illegal discharge of pollutants into the sewer system. Such situations were observed at sampling point no. 7 on 16/01/2019 at 9 a.m., when BOD5, COD, and TSS significantly exceeded the required values and were equal to: 9600, 17,955, and 11,500 mg/L, respectively. In sampling point no. 1 on 09/11/2019 at 9 a.m., a very high HOI of 68 mg/L was found, and in sampling point no. 12 on 14/01/2020 at 16 p.m. high Cr concentration of 3.091 mg/L. These situations, despite the occurrence of significant deviations from the typical wastewater composition, did not pose a threat to the GWWTP operation. During the measurement campaign, there was never a case in which the composition of wastewater in the sewer system could reduce the efficiency of the sewage treatment process.

In the case of the sampling points on the combined sewer system (sampling points no. 2, 6, and 9), the quality wastewater parameters during wet weather significantly exceeded the permissible values for the wastewater discharged into the waters. In Poland, in the case of combined sewer overflows (CSOs), only the number of discharges is standardized (maximum 10 per year—according to the Regulation of the Minister of Maritime Economy and Inland Navigation); however, the surface water protection also requires the reduction of pollutant emissions by CSOs. This is particularly important when the recipients of wastewater are small urban rivers, and this is the case in Lodz.

Figure 2 summarizes the results of the analysis of the wastewater composition in the sewer system (data from all sampling points) and the results of the analysis of sewage flowing into the GWWTP, for dry and wet weather. Greater differentiation of composition was observed in wastewater from the sewer system than at the point of inflow to GWWTP, which is surely a desirable phenomenon in terms of ensuring the stability of the treatment process, especially the biological stage. Higher values of wastewater quality parameters were generally observed during dry weather, especially in the case of CD, COD, TSS, TKN, and NH4–N.

Fig. 2
figure 2

Composition of wastewater flowing into GWWTP and in the sewer system (median, 25–75%, min–max): a, b, c inflow to GWWTP during dry weather; d, e, f inflow to GWWTP during wet weather; g, h, i wastewater in sewer system during dry weather; j, k, l wastewater in sewer system during wet weather

The composition of wastewater in the sewage system in Lodz does not differ significantly from the composition observed in sewage systems in other cities in Poland and in the world [36,37,38,39,40,41,42,43]. However, it should be noted that the content of organic substances (BOD5 and COD) was high at all sampling points. Comparing the obtained research results to the analyzes of the wastewater composition on the catchment area from a few years ago, a slight increase in the level of basic pollution indicators can be noticed; however, it should be emphasized that the previously conducted studies had a smaller range [30, 44, 45]. In recent years, an increase in the average values of the basic quality parameters in wastewater, such as BOD5, COD and TSS, has also been observed at the inflow to the GWWTP [46].

The assessment of the composition variability of wastewater in Lodz sewage system is shown in Fig. 3, where the values of the coefficient of variation for the tested parameters at all sampling points are given. Only pH was characterized by low variability (CV < 25%); CD, TKN, NH4–N, Zn, and surfactants had an average variability (25% < CV < 45%); all other parameters had a high variability (45% < CV < 100%) except for sulfide, in which concentration was characterized by a very high variability (CV > 100%). Wastewater from sanitary sewers showed less variation in composition than wastewater from combined sewers. The lowest average values for all parameters were found at the sampling point no. 10 (CV = 30%), at point no. 4 (CV = 49%) and at point no. 5 (CV = 45%). At the other points, the mean values of the coefficient of variation for the parameters studied ranged from 50 to 65%.

Fig. 3
figure 3

Coefficient of variation of wastewater composition in Lodz sewer system

For the quality parameters of wastewater tested in Lodz, Pearson correlation coefficients were determined, which are given in Table 4. The results indicate that there are strong correlations between the basic parameters of wastewater quality: between BOD5 and COD, TSS, NH4–N, TKN, and CS; between COD and NH4–N and TKN; between TSS and TKN, TP, Zn, Cu, HOI and CS. A strong negative correlation occurs between pH and CD, BOD5, COD, TSS, TKN, Cu and CS. However, pH was characterized by an extremely low coefficient of variation (between 2.28 and 10.72% for individual sampling points, average 4.04%). Very strong positive Pearson correlations were observed between CD and CS and between TSS and CS.

Table 4 Pearson correlations for wastewater quality parameters for all sampling points

Multivariate statistical analysis

In order to identify similarities and differences between the composition of wastewater discharged from different parts of the city, the obtained research results were subjected to multivariate statistical analysis with the use of Statistica 13 software. Two methods were used: Principal Component Analysis (PCA) and Cluster Analysis (CA). Both methods are often applied to assess the composition of water and wastewater, to establish relationships between quality parameters and to identify sources of pollution [31, 47,48,49,50,51,52]. The analysis was based on the median of quality parameters for all wastewater sampling points in dry and wet weather, and separately for dry weather only. Results of surfactants (CS, AS, and NIS) and naproxen were not included due to the small number of performed tests. For all survey results (wet and dry weather), PCA was based on 3 components for which the cumulative percentage of explained variances was over 70% (PC1—32.91%, PC2—20.23% and PC3—17.77%). Basic sewage quality parameters: BOD5, COD, TSS, and TKN are well represented by the used coordinate system. TKN, COD, BOD5, NH4−N, TSS, Zn, and Cr are well correlated with the first principal component, while pH, conductivity (CD), Zn, Cr, and Pb are well correlated with the second principal component. TP, H2S, PC, and Cu are loaded to component 3. The absolute values loadings for all these parameters are greater than 0.3. As can be seen in Fig. 4, there are 3 well-defined groups on the biplots. The first one is composed of BOD5, COD, TSS, NH4–N, TKN, and PC, and the second is composed of Zn, Cu, and pH. CD, Pb, Cu, TP, and sulfide form the third group.

Fig. 4
figure 4

Biplots of pollutant concentrations and sampling points for all results—dry and wet weather

PCA for dry weather results was also based on 3 components for which the cumulative percentage of explained variances was over 70% (PC1—35.80%, PC2—21.85% and PC3—14.09%). TSS, NH4–N, TP, Zn, and Cu are well correlated with the first principal component; BOD, COD, and TKN are well correlated with the second principal component. pH, Cr, Pb, and PC are loaded to component 3. The absolute values loadings for all these parameters are greater than 0.3. As can be seen in Fig. 5, there are 2 well-defined groups on the biplots. The first one is composed of BOD5, COD, TKN, HOI, Cr, Pb, CD, and S2−, and the second is composed of TSS, NH4–N, TP, Zn, and Cu. Conductivity (CD) and pH are not related to any group.

Fig. 5
figure 5

Biplots of pollutant concentrations and sampling points for dry weather

The grouping of quality parameters on biplots is not unambiguous and is different for all results and for the results obtained for dry weather. Therefore, their use, e.g., for the selection of key parameters monitored in a combined sewer system, may be difficult. For example, the suspended solids for dry weather correlate well with TP, NH4–N, Cu, and Zn, whereas for all results the correlation TSS with the metals is not observed, while there is a correlation with BOD5.

For better discrimination of sampling points and city districts discharging wastewater of similar composition, Cluster Analysis was used. In this study, Ward’s method and Euclidean distance was used. According to the dendrogram in Fig. 6a for all survey results, 3 clusters can be distinguished. The first group includes sampling point no. 2 and 4, and the second group includes sampling point no. 3, 5, 11 and 6. The remaining points are in the third group. Dendrogram for dry weather (Fig. 6b) results also combines the sampling points into 3 groups but in a slightly different way. On both dendrograms, sampling points no. 8, 10, 12, and 1 (i.e., the inflow to GWWTP), are located in one cluster. The composition of wastewater at these points is distinguished by a high content of organic compounds, TSS, and TKN. Both dendrograms indicate a similar composition of wastewater at sampling points no. 3 and 5, which are located on sanitary sewers in residential areas with a small share of industry. It is interesting to link points no. 7 and 9 on both dendrograms, because point no. 9 is located on the combined sewer discharging sewage from the central part of the city, and point no. 7 is on the sanitary sewer serving a relatively small catchment area with a predominance of residential buildings. This may be due to the fact that the stormwater runoff from the city center is characterized by a high content of pollutants, also organic. The sampling points located on the combined sewer system, i.e., no. 2, 6, 9, and 11 on both dendrograms are in different clusters, which proves the large influence of stormwater on the variability of municipal sewage composition. It should be noted that the composition of wet weather wastewater is significantly influenced not only by pollutants washed off from the catchment area, but also by sewer sediments. The share of sewer solids in the total suspended solids load in combined sewage can reach even 20–80% [53]. This also causes an increase in the concentration of other contaminants associated with TSS.

Fig. 6
figure 6

Cluster analysis for all results—dendrogram for sampling points; a all results; b dry weather results

The obtained results are only partially consistent with the results of Principal Component Analysis, which not identify exactly the same grouping. The statistical methods used in this research generally were, according to other authors, more useful in the analysis of the composition of wastewater in industry, WWTPs, and in the selection of optimal solutions in the wastewater management [49, 54, 55]. The use of this type of analysis as tools useful in wastewater management for a large city would require a much wider measurement campaign, both in terms of the number of sampling points and the frequency of tests. This method of sewage system monitoring, based on laboratory tests of sewage samples taken from sewers, also does not allow for the detection of threats to WWTP and receiving waters, resulting, e.g., from the discharge of toxic substances into the sewer system or extremely large loads of pollutants.

The conducted research allowed for a more precise understanding of the composition and variability of wastewater in Lodz sewer system. However, a full assessment of wastewater composition to enable optimal, sustainable operation and development of the sewage disposal and treatment system requires much more extensive research and the use of other approaches. Modern techniques of online wastewater composition monitoring, the use of statistical and forecasting methods currently allow for the creation of reliable, precise solutions that facilitate the operation and modernization of sewage systems in cities [43, 56,57,58]. Nowadays, more and more wastewater quality parameters can be measured using online sensors, also with the use of UV–Vis spectroscopy. This type of measurement techniques is quite expensive solutions, sometimes additionally troublesome in operation. Therefore, it is important to determine the optimal scope of monitoring. Establishing correlations between the various wastewater components can help to reduce the number of parameters monitored or replace one parameter with another easily measurable one [59, 60]. The last decade has seen an explosion of new technologies and online measurement techniques. These include, for example, cheap online self-calibrating gas sensors for measuring volatile pollutants in water and sewage [61], microbial fuel cell biosensors for the determination of BOD or toxicity [62, 63]. Despite great progress, these methods still need to be developed in order to improve sensor performance, reliability and cost-effectiveness. The solutions mentioned will not exclude the need for laboratory tests. However, they will make it possible to limit them and, above all, to warn WWTP of inflow of large pollutant amount, which is particularly important in the case of combined sewer systems. A monitoring system with 4 online station each of which measures 8 wastewater quality parameters is currently under construction in Lodz. This system will enable early warning and sustainable management of wastewater treatment plant and minimization of pollutant emission to aquatic environment from the city. Research on sewage quality with online sensors conducted on one of CSO and on the inflow to GWWTP in Lodz showed that these types of stations can be successfully used for assessment of sewage composition and amount of pollutant emissions from the sewage system [33, 45]. Proper selection and placement of online wastewater quality monitoring stations in the sewage system, as well as measurements of flows in the sewers and rainfall monitoring will allow not only to create a modern system forecasting the inflow to WWTP, but also to obtain valuable, comprehensive data on the wastewater composition and variability in the city necessary for the development and modernization of wastewater management.

Conclusions

  • The conducted research has shown that the quality parameters of wastewater discharged into the sewer system in Lodz sometimes exceed the legislative requirements. At most sampling points, such cases occurred only sporadically, but at 3 points, the median content of organic substance in the sewage was higher than the permissible values (BOD5 and COD). During the measurement campaign, several high exceedances of the concentration of one or more pollutants were identified, which may indicate illegal discharge of industrial wastewater. No situations were observed, in which the composition of wastewater flowing into the treatment plant would endanger the treatment process and its efficiency. However, such situations occurred outside the period of the measurement campaign.

  • In the samples of sewage collected from combined sewers during wet weather, significant exceedances of the pollutant concentrations established for sewage discharged into the waters were found, which indicates that during combined sewer overflow, small rivers in Lodz are exposed to the discharge of large loads of pollutants.

  • Wastewater composition was rather typical for municipal sewage, but the BOD5 and COD values were quite high. Most of the investigated wastewater quality parameters were characterized by medium to high coefficient of variation. The study carried out showed high Pearson correlations between selected indicators of wastewater quality, which can be used in the development of a future wastewater composition testing plan and allow a reduction in the number of parameters to be controlled.

  • The multivariate statistical analysis carried out identified some similarities in the composition of wastewater collected at different points in the sewerage system, but the results are not conclusive. Obtaining full knowledge of the wastewater characteristics in the sewage system would require a significant extension of the scope of monitoring.

  • Traditional monitoring of wastewater quality, based on laboratory tests, does not allow for WWTP warning about the inflow of wastewater that may threaten the treatment process. It seems that continuous monitoring with the use of online sensors is becoming a necessity, especially in the case of large hybrid sewage systems. The use of data from online quality monitoring stations and other measurement systems—of wastewater flow in sewers and rainfall—allows the development of modern tools helpful in the operation and modernization of sewage disposal system in cities.