Introduction

Water is a precious resource, threatened by intensive exploitation, increasing pollution of the reserves and the growing needs of a constantly increasing population. In Algeria, wastewater is generally sent to a treatment plant (WWTP) where it undergoes treatment, which mainly aims to eliminate organic matter (OM), suspended solids (SS) and more and more often nitrogen and/or phosphorus. These “treated” effluents are then discharged into the natural environment, into a watercourse or a river, which itself directly or indirectly feeds the underground aquifers used for drinking water supply.

The purpose of pollution control is to preserve the quality of water for human or agricultural use and to protect shellfish, finfish and wildlife (Munter 2000). The primary sources of water pollution are untreated municipal and industrial wastewater (Chau et al. 2015). It is currently established that pharmaceuticals are ubiquitous contaminants of wastewater effluents mostly occurring at sub-mg L−1 concentrations (Kim et al. 2007). Current wastewater treatment plant (WWTP) processes are designed to reduce levels of dissolved organic carbon, as well as nitrates and phosphates (Bouissou-Schurtz et al. 2014). Many “lower”- and “lower-middle”-income countries use the wastewater they generate for irrigation of agricultural and horticultural land, and some countries use more than 40% of their municipal wastewater for this purpose (Lees et al. 2016).

An inconsistent level of disinfectant supply may be the source of an increased risk of biological instability in water distribution systems (Eissa 2017). In the pharmaceuticals industry, there are four main water treatment categories—namely process water treatment, ultrapure water treatment, wastewater treatment and sludge treatment (Pharmaceuticals Industry 2017). The treatment of wastewater containing aqua-toxic substances, discharged from pharmaceutical manufacturing facilities, can only be effective when it is not mixed with wastewater from other sources (European Commission 2003; Directive 2010/75/EU 2010).

Advanced wastewater treatment technologies as membrane filtration, nanofiltration, ultrafiltration and reverse osmosis can partially remove some chemicals and pharmaceutically active compounds (González et al. 2016). Some factories using one or the other of these technologies exist in the Maghreb and elsewhere in the world.

New water quality monitoring programs are being implemented that use LED-based sensors to meet a range of environmental standards (Venugopalan 2017). Gentili and Fick (2016) found out that algae cultivation can partially or totally remove pharmaceutical pollutants from urban wastewater, with reduction of inorganic nitrogen of 68% and total phosphorus by 56%. The pharmaceutical industries are generating new substances, hence the urgent need to implement means of rapid assessment of possible risks for humans as well as for environmental ecosystems (Spitta et al. 2016).

Physicochemical properties are the foundation for pharmaceutical product development, manufacturing, and stability.

Research into bioremediation techniques has been implemented in the treatment of wastewater discharged by pharmaceutical plants which greatly improved waste disposal (Rana et al. 2014). The presence or absence of organic micro pollutants is a major factor in the acceptance of recycled water for indirect potable reuse (Escher et al. 2011).

Despite the treatments, these effluents remain the vectors of a large number of micropollutants, among which contaminants considered as “emerging”, such as pharmaceuticals, very unevenly eliminated by conventional methods. These substances, derived from the pharmaceutical industry, persist in treated or untreated wastewater; they denature the physicochemical parameters of water and contaminate aquatic environments (Buser and Müller 1998; Andreozzi et al. 2003; Kreuzinger et al. 2003) and thus the reservoirs in drinking water (Heberer 2002; Stamatelatou et al. 2003).

Many non-biodegradable organic compounds are found in low concentrations in rivers and groundwater. Because of their toxicity, their persistence, and their bio-accumulation, they are likely to generate nuisances even when they are released in very small quantities (Creanca 2007).

The aim of this work was the monitoring of the water quality degradation between the inlet and the outlet of a pharmaceutical plant and its possible impact on the environment.

Materials and methods

This work was performed in a pharmaceutical plant (Saidal Biotic, Bellevue, El Harrach, Algeria, Figs. 1 and 2). This water purification plant was created in 2003 with the participation of Christ Water Technology (Switzerland) in order to produce purified water that meets a certain number of required standards. It is managed by the Utilities Department, responsible for water treatment, boiler and compressor operation and maintenance of cooling and air conditioning equipment.

Fig. 1
figure 1

Location of the Biotic Saidal (Bellevue, El Harrach, Algeria)

Fig. 2
figure 2

The water purification plant

The waters supplying the pharmaceutical water production facilities (incoming waters) are drinking waters. However, they contain undesirable elements, hence the need to make them undergo additional treatments before there use in this type of unit.

Characteristics of the water processing chain

To obtain a quality drug, the use of pure water is essential. The incoming waters are therefore subject to several stages of treatment before their use in the process of manufacturing drugs (Fig. 3).

Fig. 3
figure 3

The water treatment station

The water samples were collected twice a month from February 28 to June 28, 2013, in 1-L bottles after repeated rinsing with water from the point of sampling. For heavy metals analyzes, sampling was done in acidified flasks. All of these samples refrigerated in a cooler at 6 °C during transport were brought directly to the laboratories.

The physicochemical quality of the incoming waters to the plant, the outgoing waters which are directly discharged outside the plant and the quality of water subjected to reverse osmosis used during the process of drugs manufacturing were analyzed at SEAAL Kouba (Société des Eaux et de l’Assainissement d’Alger).

The impact of the seasonal variations of several physicochemical parameters was also investigated for 5 months.

Physicochemical analysis

The electrical conductivity and the pH have been measured with Hach sensION pH meter and a Mettler Toledo conductimeter, respectively; the turbidity values were determined using Hach 2001 N.

The alkalimetric title, based on the concentrations of HCO3, CO32− and OH, was determined under fr T90-036 norm. The total suspended solids (TSS) were measured with filtration method under fiberglass ISO 11923. The nitrates and the aluminum were dosed on Hach DR5000 spectrophotometer. The chlorides levels were accessed using Mohr’s method.

The Na+, K+, Mn2+, Fe2+, Zn2+ were determined by PerkinElmer flame AAS 800 spectrometry, the Ca2+ by EDTA titration. The BOD5 was measured on Hach BODTrak; the phosphates, the ammonium and the sulfates were measured using standard methods (Rodier et al. 2009).

The WQI, the SAR and the OPI determinations

The WQI proposed by Bascaran (1979) is calculated using the formula

$$ {\text{WQI}} = \frac{{k\mathop \sum \nolimits_{i = 1}^{n} C_{i} P_{i} }}{{\mathop \sum \nolimits_{i = 1}^{n} P_{i} }} $$
(1)

with k = 1 = constant for apparently good quality water and lower than 1 for apparently polluted water, Ci is the normalized value of the parameter, and Pi is the relative weight assigned to each parameter (Table 1).

Table 1 Relative weight and normalized values of the parameters entering in the calculation of WQI

The WQI determination requires, at first, a normalization step where each of the ten variables is transformed into a 0–100 scale (0: minimal quality, 100: maximum quality).

The United States Salinity Laboratory Staff (1954) has introduced the Sodium Adsorption Ratio

$$ {\text{SAR}} = \frac{{\left[ {{\text{Na}}^{ + } } \right]}}{{\sqrt {\frac{{\left[ {{\text{Ca}}^{2 + } } \right] + {\left[ {\text{Mg}}^{2 + } \right]}}}{2}} }} $$
(2)

where [Na+], [Ca2+] and [Mg2+] are the ion concentrations values in equivalents per million which is an important ratio concerning the effect of irrigation water on soils.

The OPI (Leclercq and Maquet 1987) is a saprobic index, i.e., for detection of organic pollution (Almeida 2001). This index is based on four parameters: BOD5, NH4+, NO2 and PO43− (Table 2) to which are assigned class values between 1 and 5 according to their levels in water.

Table 2 Classes for the organic pollution index (OPI) calculus

The OPI is then calculated by the averaging of the four values. This index varies from 1 (strong organic pollution) to 5 (no organic pollution).

Data treatment and statistical analysis

The normality of the distributions and the homogeneity of data variances were tested using Kolmogorov-Smirnov and Levene tests, respectively. The comparison of the incoming and outgoing waters parameters was performed with the period as covariable according to a general linear model (GLM) and an analysis of covariance (ANCOVA).

The Water Quality Index (WQI), the Sodium Adsorption Ration (SAR) and the Organic Pollution Index (OPI) had been determined during all the period of the experiment.

The statistical analysis was performed using Statistica 10 (Statsoft Inc., Tulsa, OK, USA). The results are given as mean ± SE (SE: standard error). The differences were considered significant at p < 0.05.

Results and discussion

Physicochemical parameters

The average parameters levels between incoming and outgoing waters were analyzed to assess the trophic status of the wastewater discharged by the plant in relation with the standard values of Food and Agriculture Organization (FAO) (Ayers and Westcot 1985).

The average temperatures were found significantly higher at the output (from 21.8 ± 0.6 to 23.8 ± 0.6 °C) increasing by + 2 °C (p = 0.02). It is known the increase in temperature also increases the rate of microbial activity. The pH decreased significantly (p = 0.002) but remained in acceptable values, slightly basic in input (8.1 ± 0.1) and output waters (7.4 ± 0.1) but slightly acid for osmosed water (6.5 ± 0.3).

Highly significant increases (p < 0.001) were observed between incoming and outgoing waters (Fig. 4) for the parameters EC (837 ± 6–1409 ± 14 μS cm−1, + 68%), the alkalinity (102 ± 2–195 ± 4 mg L−1, + 91%), the total suspended solids (TSS) (< 2.0–1624 ± 843 mg L−1, > 800 ×), Ca2+ (80.9 ± 2.1–136.3 ± 6.9 mg L−1, +68%) and Na+ (43.9 ± 0.8–98.6 ± 2.2 mg L−1, + 125%). Some of these parameters increased near or more than the AG (Algerian standards): Ca2+ (75 mg L−1), Na+ (100 mg L−1), or the WHO standards: EC (180–1000 μS cm−1), TSS (30 mg L−1).

Fig. 4
figure 4

Mean levels of some parameters in input and output waters *p < 0.05, **p < 0.01, ***p < 0.001

The TSS which increase up to limit values for irrigation waters are an important parameter for the design of the wastewater treatment facility and the time needed to preserve the wastewater for primary treatment (Kavitha et al. 2012). It should be noted the over standard values for Na+ levels of outgoing waters, source of an increase in the SAR.

These increases were also very significant (p < 0.01) for NO2 (< 0.02–0.09 ± 0.02 mg L−1, > 4 ×), COD (< 30–57.5 ± 11.9 mg-O2 L−1, > 1.9 ×) and BOD5 (< 0.50–48.0 ± 14.5 mg-O2 L−1, > 96 ×). The increase in BOD5 is over the WHO standard (30 mg L−1).

A sharp rise in the level of COD or BOD in the water bodies increases their pollution (Effendi et al. 2015). The COD that doubles in outlet is a useful test in pinpointing toxic condition and the presence of biological resistant substances (Kavitha et al. 2012). The BOD5, that has reached values near one hundred times those in input, is linked to removal of oxygen by microorganisms in aerobic degradation of the dissolved organic matter in water over a 5-day period (Lokhande et al. 2011). The COD/BOD5 ratio in outgoing waters was found equal to 2.3 ± 0.6 (range 0.4–5.1), highlighting a wastewater sometimes difficultly biodegradable. The range of the COD/BOD ratio is generally 2–3, but for a 6-month period, it could have reach values up to 12 in wastewater from clinical laboratories of hospitals (Akin 2016). It is suggested, for a direct unloading on surface water after a pre-treatment for instance, BOD5 ≤ 40 mg-O2 L−1 and COD/BOD ≤ 2.2 (with TSS ≤ 80 mg L−1 and NO3 ≤ 20 mg L−1) (D. Lgs. 3 aprile 2006), values well beyond those found in this work.

The increases were significant (p < 0.05) for turbidity (0.76 ± 0.18–1.81 ± 0.33 mg L−1, + 138%) and chlorides (99.2 ± 4.8–152 ± 22 mg L−1, + 53%). There were no significant differences (p > 0.05) for the sulfates (136 ± 9–127 ± 15 mg L−1), the nitrates (8.8 ± 1.0–25.5 ± 9.4 mg L−1), the phosphates (< 0.09 mg L−1), the ammonia (< 0.02 mg L−1), the magnesium (36.4 ± 3.0–38.0 ± 2.4 mg L−1), the aluminum (0.10 ± 0.01–0.08 ± 0.05 mg L−1), the iron (< 0.05 mg L−1) and the manganese (< 0.05 mg L−1); only K+ decreased significantly (2.14 ± 0.16–1.56 ± 0.14 mg L−1, − 27%, p = 0.01), and Zn levels reached 0.09 ± 0.04 mg L−1.

Nitrogen and phosphorus are the main factors leading to water blooms, but also important indices for the evaluation of the reservoirs’ degrees of eutrophication (Nazeer et al. 2014), and high levels of Mg2+ and Cl may cause harmful effects in irrigation waters. Mustufa et al. (2013) using bio-filtration wastewater treatment have found a decrease in K+ between effluent and influent waters in range 6.0 to 36.6% with gypsum biofilter and 42.2–60.5% with phosphate biofilter.

On the other hand, if we limit ourselves to only outgoing waters parameters, there were no significant changes over time from February to June, except for BOD5 which decreased from 97.4 mg-O2 L−1 in cold season to 9.3 mg-O2 L−1 in warm season. In this work, the seasonal impacts were not totally taken into account; the experiments held just between last February and middle of June, knowing that significant differences may be observed for a parameter between rainy and dry season (Estrada-Arriaga et al. 2016). The seasonal effects can slightly temperate the previous results because P limitation frequently occurs in the spring, whereas N is often limited during the summer months (Chen et al. 2016).

WQI

The WQI is an available tool to approximate the quality of water and facilitate the work of decision makers by grouping and analyzing numerous parameters with a single numerical classification system (de La Mora-Orozco et al. 2017). This index was at the first time proposed by Horton (1965). The use of water quality indices (WQI) simplifies the presentation of results of any analysis related to a water body (Damodhar and Reddy 2013).

The index provides a user-friendly interface that links each data element to integrated relationships found in scientific literature (USDA 2017); it can be considered as a reliable indicator for the classification of the waters (Hernandez-Romero et al. 2004). The WQI summarizes the information from a large number of parameters in a single value, allowing time trends to be examined on a single site (Lindbo and Miller 2012).

In this work, the WQI, based on 10 parameters: T, pH, EC, nitrates, nitrites, phosphates, ammonia, COD, BOD5 and TSS, has summarized the information on water quality overall parameters over the period of experiment.

The water quality rating for the different ranges of WQI is: very bad (range 0–25), bad (25–50), medium (50–70), good (70–90) and excellent (90–100).

The calculated values for incoming waters (Fig. 5) were found between 81.8 and 85.5 indicating a good WQI rating, but in medium-to-bad WQI rating for the outgoing wastewater (Table 3), indicating its high level of pollution.

Fig. 5
figure 5

Water Quality Index (WQI) of incoming and outgoing waters in the pharmaceutical plant from February 27 to June 17, 2013

Table 3 Water Quality Index (WQI) of the outgoing waters in the pharmaceutical plant from February 27 to June 17, 2013

SAR

The water hardness increases with the Na+ and Ca2+ concentrations, which form insoluble minerals in the presence of high carbonates (Rabeiy 2017). Based on the levels of Na+, Ca2+ and Mg2+, the SAR is actually an important parameter for determining the suitability of groundwater for irrigation because it is a measure of alkali/sodium hazard to crops (Ramesh and Elango 2012).

High sodium concentration leads to development of alkaline soil and is difficult to take into agricultural production due to low infiltration capacity and rain water stagnation (Nag and Suchetana 2016). The irrigation water with a high EC will tend to have fewer problems with infiltration than a low EC water (Cahn 1985), and high levels of bicarbonate may have less calcium available to counteract the dispersion effects of sodium.

At high levels of sodium relative to divalent cations in the soil solution, under low total salt concentration and high pH, the permeability of the soil is reduced and the surface becomes more crusted, its ability to transmit water is severely reduced by excessive sodicity (FAO 1992).

Based on the SAR in relation with the EC, the incoming waters were found with high salinity and low sodium hazard (area C3S1 Figs. 6 and 7) with a mean of EC at 837 ± 6 μS cm−1 (range 818–865) and 1.02 ± 0.03 (meq L−1)1/2 for SAR (range 0.94–1.16), which indicated water suitable for irrigation without particular danger.

Fig. 6
figure 6

Quality of the incoming (in green) and outgoing waters (in red) in relation to salinity and sodium waters in the pharmaceutical plant from February 27 to June 17, 2013

Fig. 7
figure 7

Relationship between the Sodium Adsorption Ratio (SAR) and the electrical conductivity (EC) of the incoming and outgoing waters in the pharmaceutical plant from February 27 to June 17, 2013

The outgoing waters were with relatively higher EC levels (1409 ± 14 μS cm−1, range 1322–1347) and SAR (1.93 ± 0.05 (meq L−1)1/2, range 1.67–2.07), but remaining in the same area.

Meanwhile, some precautions are required in soils with restricted drainage.

There is, indeed, between the incoming and the outgoing waters an increase of 68% of the EC and 89% for the SAR. It has been demonstrated that there was a negative correlation between yield and soil SAR (Rasouli et al. 2013) and, to date, it is confirmed that there is a direct relationship between the soil water content and the variables related to the liquid water balance in the vegetation covers (Gómez-Giráldez et al. 2014).

That is why, over time, it can be expected negative effects on the soils.

OPI

This index can be used for detection of organic pollution or to assess the sediment quality using sediment quality guidelines (Zhang et al. 2017). Among the important factors (Na+, Cl, pH, HCO3−, EC, SAR and TDS) concerning the quality of irrigation waters, the SAR has the maximum weight factor (Misaghi et al. 2017).

The results (Table 4) showed a low OPI for incoming and reverse osmosis waters. This index has mostly remained in range corresponding to moderate pollution for the outgoing waters. Some high levels of nitrites participated in the decrease in the index, corresponding to more polluted waters, but essentially due to high levels of BOD5 (up to 15 times the standard values).

Table 4 Organic pollution of the waters in the pharmaceutical plant from February 27 to June 17, 2013

The nitrites concentrations, punctually up to eight times the standard values (73 μg-N L−1≡0.24 mg L−1 of NO2 in last of May), are generally indicative of industrial effluents and often associated with unsatisfactory microbiological quality of water (Chapman 1996).

It should be noted that the water quality might be affected by various organic substances, even in situations where the concentrations of individual components were below their NOEC (no observed effect concentration) (Faust et al. 2003).

Conclusion

The results of the present work showed that the outgoing waters from the pharmaceutical plant had presented significant increases in parameters as EC, COD, BOD5, alkalinity, Na2+ or Ca2+ making the water often with bad quality and non-negligible risks for soils. These high levels in the outgoing waters remained stable without sensible changes all over the period of experiment, which implies a sustained and constant pollution. The treatment methods usually used must be seriously improved to bring down the different parameters to acceptable levels at the output of the plant.