The design for wastewater treatment plant (WWTP) with GPS X modelling

Abstract Wastewater treatment is a process, which is being done on the wastewater to change its quality for drinking or other suitable purposes. Wastewater treatment takes place in wastewater treatment plants, which should be designed under different circumstances. The criteria are being considered in this design for wastewater treatment plant (WWTP) Al-Hay. Moreover, the characteristics of physical, chemical and biological wastewater also are described. Based on the population of Al-Hay city, the project is undertaken to design a wastewater treatment plant. The girt chamber, equalization basin, oil and grease removal, aeration tank and secondary settling tank have been designed, and then the values for mean cell residence time, volume of aeration tank, hydraulic retention time, F/M ratio, return sludge flow rate, sludge production and oxygen requirement have been calculated. Modelling using GPS X also has been done on this data. It is exhibited a typical diagram of WWTP staring with influent flow, aeration tank and settling (clarifier) tank. The simulation time is also illustrated. With increasing the time, the parameters such as TSS and solids are typically enhanced. This is as indicator to improve the fit of the model and the actual data for the secondary effluent TSS. The research shows the treatment process design of Al-Hay wastewater treatment plant (WWTP). The paper also described the equations process design for WWTP. Sludge age (θc) has been calculated and associated to the observed yield (Yobs). There is correlation between sludge age and the mixed liquor suspended solid (MLSS). The value of the observed yield has been noticed, with values ranging from 0.2 to 0.6 kgVSS/kg(BOD5). The sludge retention time is equal to 27.7 day and the sludge produce is 3339.18 Kg/day. These results are related to biological tank for Al-hay WWTP is worked during with high efficiency.

Nuralhuda Aladdin Jasim This is a short summary in which the author (Nuralhuda Aladdin Jasim) uses GPS X modelling for design wastewater treatment in Al-Hay city. The criteria also are considered in this research during the design of wastewater treatment plant. Also, the aim of this paper is to verify the treatment process design of Al-Hay wastewater treatment plant (WWTP). The author' activities are to work on nanotechnologies technique. The papers have been published based on nanoparticles in which investigating the properties of natural organic matter affect the impact of nanoparticles on plants, the dispersion of nanoparticles and their effect on plants and other researches paper regarding to nanoparticles area. The author also is interested in water treatment using different coagulants either natural or synthetic coagulants used in water treatment. She is very interested in GIS technique by doing spatial analysis of forest biomass in some state located in different areas.

PUBLIC INTEREST STATEMENT
The aim of our paper is to verify the treatment process design of Al-Hay wastewater treatment plant (WWTP), taking into account some characteristics occur in that city. Designing a WWTP depends on the characteristics of the wastewater so the designing process should be analysed carefully because even a small mistake can be fatal. Modelling using GPS X also has been done on this data. The paper can be beneficial for public area especially in Iraq. Design wastewater treatment plant can reduce the amount of waste that is usually released into the environment. By doing so, the reduction in the health risks associated with environment pollution thus improving environment's health. Wastewater treatment is essential to remove the suspended solids as much as before the effluent is discharged back to the environment. Design WWTP is utilised to purify contaminated substances such as solid, liquid and semi-solids. The article has the potential impact in wider level in which designing a WWTP with immunizing the mistakes in the results.
has been calculated and associated to the observed yield (Yobs). There is correlation between sludge age and the mixed liquor suspended solid (MLSS). The value of the observed yield has been noticed, with values ranging from 0.2 to 0.6 kgVSS/kg (BOD5). The sludge retention time is equal to 27.7 day and the sludge produce is 3339.18 Kg/day. These results are related to biological tank for Al-hay WWTP is worked during with high efficiency.

Introduction
The purpose of wastewater treatment is to remove or reduce contaminants in water that impose threats to human and environment if discharged to surface and/or ground waters without proper treatment. While developed countries are continuing working on setting more efficient treatment processes in the WWTP or establishing new technologies to meet the increasing demand for water, the developing countries are still straggling to establish the required infrastructure for treatment. Although the damage from lack of such infrastructure is obvious, the public concern still limited due to lack of governmental programs that explain the environmental problems for public and the influence of crisis and political conflicts in these countries (Avijit, Md, & Mhia, 2018).
Current outreach programs in these countries are still limited and not operative. Increases in water pollution, concomitant with water scarcity may limit economic development and lead to the commonness of poverty, hunger and disease (Steve, Jin, & Arnold, 2016). Problem of improper wastewater treatment is acute in countries suffering crisis like Iraq. Decades of wars and sanctions in Iraq combined with limited environmental awareness in both public and governmental representatives, have highly contributed to the destruction of Iraq's national water system. According to the United Nations report, six million people have no access to clean water and more than 500,000 Iraqi children access their water from a river or creek and that over 200,000 access their water from open wells. In the first six months of 2010, there were over 360,000 diarrhoea cases as a result of polluted drinking water and a lack of hygiene awareness among local communities, particularly vulnerable groups such as women and children. The report showed that "Every day at least 250,000 tonnes of raw sewage is pumped into the Tigris River threatening unprotected water sources and the entire water distribution system". Currently, the lack of permanent governmental programs for environment protection, lack of expenses, unavailability of professionals, engineers, and skilled operators, unprofessional design and treatment of most of existing plants, and lack of public awareness about the danger of direct discharge of wastewater to water courses had led to serious deficiencies in operations in the country's wastewater treatment plants. Most of these plants were not designed based on a proper local data and were constructed by inexperienced companies. In addition to the improper design and implementation, the mechanical and electrical equipment at these plants have suffered from lack of spare parts and no preventative maintenance due to lack of expenses and trained operators. In many cases, untreated raw sewage is directly discharged into Rivers, endangering the health of residents and downstream populations.
Conventional wastewater treatment consists of a combination of physical and biological processes to remove solids, organic matter and nutrients from wastewater. General terms used to describe different degrees of treatment, in order of increasing treatment level, are preliminary, primary, secondary and tertiary or advanced wastewater treatment (Janssen, Meinema, & van der Roest, 2002). However, the key treatment process in the conventional sewage treatment is the secondary treatment process, which consists of biological treatment by utilizing mixed types of microorganisms in a controlled environment. Several aerobic and anaerobic biological processes are used for secondary treatment, including activated sludge process, total oxidation process, contact stabilization, aerated lagoons, waste stabilization ponds, trickling filters and anaerobic treatment. Activated sludge process is the most widely applied process comparable to other biological process for its facility design is well known as well as having characterized operation parameters (Culp, 1978).
This research is to explain the physical, chemical and biological properties of wastewater. Secondly, it is to design some parts of wastewater treatment plant in Al-Hay station. Therefore, the study of wastewater properties are important regarding to the biological and chemical wastewater treatment processes, which include (aerobic treatment such as (oxidation ponds and activated sludge) and anaerobic treatment. Also, the chemical wastewater treatment processes include chemical precipitation (coagulation and flocculation), ion exchange, neutralization and adsorption. Thus, studying the properties of wastewater has to be investigated because all important in terms of plant layout, plant design, plant sizing and plant location. In this study, it describes the process of preliminary design; secondary design is done based on extended aeration activated sludge system. This system is commonly used is Iraq because it is known technology with less expensive sludge treatment requirement and it can satisfy the standards criteria for effluent disposal to surface water. Finally, chlorination unit is a common method for pathogen reduction. Moreover, modelling and simulation of the process of design Al-Hay station is performed by GPS X program with some parameters.

The characteristics of wastewater
The first important information should have for the design of wastewater treatment system is the strength and characteristics of the wastewater to be treated. The strength of wastewater is normally expressed in terms of pollution load, which is determined from the concentrations of significant physical, chemical and biological contents of the wastewater (Davis and Cornwell, 2008).
The characteristics or the quality of wastewater is expressed in terms of its physical, chemical and biological characteristics on the basis of the parameters given in the table below.
Characteristics of wastewater depend on the quality of water used by the community, conservation practice and culture of population, type of industries present and treatment given by industries and their wastewater. Many of the above parameters are interrelated. For example, the concentration of dissolved gases and microbial activities in wastewater are affected by temperature.
One of the most important physical characteristics of wastewater is its content of solids, which consists of floating matter, sediment, suspended material and soluble matter. Other physical properties are temperature, colour and degree of turbidity. In addition, for chemical characteristics, it includes organic materials and inorganic substances.
Organic substances consist of a mixture of carbon, hydrogen, oxygen, and sometimes nitrogen, as well as other important elements such as sulphur, phosphorus and iron. Regarding to organic substances, many inorganic indicators of wastewater are important for the development and control of wastewater quality standards. Concentrations of inorganic compounds are increased due to the natural evaporation process, which disposes of some of the water, leaving the inorganic materials in the wastewater (Hubble, Roth and Clark [HRC] INC, 2019).
This diversity in the sources it generates leads to the multiplicity of types of contaminants it contains. Wastewater contains organic matter, trace microorganisms, salts, minerals, ammonia, pesticide residues, residues of pharmaceutical drugs and their metabolites, and highly toxic chemical pollutants for disruption of the endocrine system. Among all this diversity of pollutants, heavy metals and pathogens can be considered the most serious to public health and the environment. Nitrate and phosphorus are an important contaminant if the water after treatment is thrown into the surface and sea water media, leading to nutrient contamination, which in turn disrupts water quality and affects aquatic organisms by significantly reducing the dissolved oxygen content. They are acceptable substances, but nutrients if the goal is to use treated water in agricultural irrigation. The contamination of water is considered a crucial issue, thus the achievement of water purification is needed to reduce nutrient contamination.
In Karkush, Abdul Kareem, and Jasim (2018) studys', it is shown the lateral load-bearing capacity of a single pile and piles group calculations that it was installed in contaminated claying soil. Two-line slopes intersection method and a proposed model are utilized in pile foundation calculations. The results showed that the increasing of the number of loading cycles is presented by the decreasing of the ultimate lateral capacity. In addition, the concentration of contaminant in the soil increased with the decreasing of the ultimate lateral capacity (Karkush et al., 2018). Kim, Jung, and Han (2019) study showed that water purification can be achieved by using ABFT system (autotrophic biofloc technology). The power of ABFTsystem at the remaining stages (seedling to adult farming) was demonstrated for industrial-level implementation. An excellent water purification effect and about 97% reduction of water conservation were presented two by microalgae. The wastewater from the ABFT system can be reused by use for the growth of different plants (Kim et al., 2019).
In Feyzbakhsh, Telvari, and Lork (2017)study, it is presented the delay in some project in Tehran City regarding to the three factors which are quality, cost and time. As some circumstances happed in the last decades such as climate change, enhancement of population, decrease of raining, as well as increasing in water harvesting from groundwater, thus the importance of water is intensified as the project of water and wastewater treatment. Based on this study, it is verified that some factors contributed in the delay of wastewater treatment projects such as uncertainty and buying project site and failure in paying to contractor and employers (Feyzbakhsh et al., 2017).
In Parsa, Khajouei, Masigol, Hasheminejad, and Moheb (2018) study', it is investigated that a new technique is used to reduce the electrical conductivity (EC) of composting leachate-polluted water using electrodialysis (ED) process. In this experimental study, the removal of COD is shown a reduction. The decreasing in COD removal is improved by the increasing of applied voltage,  (Parsa et al., 2018).
Wastewater treatment is designed to improve water quality to meet the specific safety and safety requirements of the wastewater after treatment. Different treatment processes reduce the concentration of pollutants in water. It reduces the content of suspended solids, whose molecules can contaminate the rivers and impede the movement of water in the channels and pipes after deposition. It also reduces the content of biodegradable organic matter, measured by the Biological Oxygen Demand BOD (BOD) index (Ronan et al., 2019).
Treatment processes can also remove or neutralize many industrial pollutants and toxic chemicals. In principle, processes of industrial waste and toxic chemicals treatment should be carried out in the same industrial establishments, and should not be dumped in sewage sewers without treatment, and without complying with the regulations on the specifications of industrial effluents allowed in sewerage.
In the area of wastewater management and treatment, we talk about three main levels of treatment, each of which involves a range of processes and targets a specific type of contaminant present in the water. There are those who talk about two additional processes, one at the beginning and one at the end, and the number of treatments becomes five.
For the treatment processes, it starts with preliminary treatment units. This phase involves the removal of large solid objects through the use of nets to capture and remove them, as well as the deposition of sand and gravel by passing water when entering the station through a hole where heavy solids fall before proceeding to the next stage. This stage is of great importance in terms of protecting the plant's equipment from faults, especially pipes and pumps (Rungnapha, Hardy, Huub, & Karel, 2015).
The initial and primary treatment process removes about 25% of organic matter load and theoretically removes all inorganic solids and for water containing industrial effluents. It may be necessary to balance flows and adjust pH value or add chemicals. It includes unit operations such as: screen, grit chamber and equalization basin.
Additionally, for the primary treatment, it is including primary sedimentation the purpose of this unit is to remove the settle able organic solids. Normally a primary sedimentation will remove 50-70 percent total suspended solids.
Primary sedimentation (or clarification) is achieved in large basins under relatively quiescent conditions. The settled solids are collected by mechanical scrapers into hopper, from which they are pumped to sludge-processing area oil, grease and other floating materials are skimmed from the surface. The effluent is discharged over weirs into a collection trough.
There are some types of clarifiers. Also, the common types of horizontal flow clarifiers are rectangular, square, or circular. On the other hand, the types of include surface are tube settler and parallel plate settler. In general, the design of most of the clarifiers falls into three categories: (1) Horizontal flow, (2) solids contact and (3) inclined surface.
The main objective of this phase of treatment is to obtain a homogeneous liquid that can be biologically processed at later stage, on the one hand, and one the other hand, obtainable and around to be treated separately. Sedimentation ponds are usually equipped with mechanical equipment that helps to collect the mud in the pelvic floor, and from there it is pumped to the treatment in subsequent stages. As well as to remove the floating material and dispose of the treated water stream. As well as, the mechanical equipment is to transfer homogeneous water to the next stages of treatment. As this initial stage, some chemicals are used to help the materials float on the surface of the water, as well as to help the solids settle on the bottom. The mulch is derived from primary treatment, the primary mulch. This process can reduce the BOD index, the level of contamination with biodegradable organic matter by more than 20-30 percent, and reduce the total TSS by more than 50-60%. Primary treatment is the first phase of treatment, followed by other processes. It is divided into: floating basins and deposition basins.
After that, secondary treatment is required. The purpose of secondary treatment is to remove the soluble organics that escape the primary treatment and to provide further removal of suspended solids. Secondary treatment may remove than 85% of the organics. Additionally, rand suspended solids, it does not remove significant amount of nitrogen, phosphor heavy metals, no degradable organics, bacteria and viruses. These pollutants may require further removal (advanced one) (Soomaree, 2015).
This treatment can remove more than 90% of the organic matter found in wastewater through bioremediation processes. It also removes dissolved organic matter, which evaporates from the initial treatment phase. The process of biological treatment is carried out by groups of microorganisms that consume organic matter as their food and turn it into the end products of metabolism, carbon dioxide, water and energy (Karia and Christian, 2006). This energy is necessary for germ growth and reproduction. Biological treatment is accompanied by an effective ventilation process that provides the aquarium with large quantities of air (oxygen) to facilitate the dissolution of the organic matter. After biological treatment, the water is pumped into secondary sedimentation basins, where the remaining solids and living microorganisms descend to the bottom. They are treated separately from the liquid that continue to be transferred to sterilization (Metcalf & Eddy, 2003).
This phase is divided into five stages: ventilation and mixing, sedimentation basins, activated sludge, filtration and disinfection.
Finally, advanced treatment might be used in some treatment. It is an additional treatment process, such as filtration, carbon adsorption, and chemical precipitation of phosphorus, to remove those constituents that are not adequately removed in the secondary treatment plant. These include nitrogen, phosphorus, and other soluble organic and inorganic compounds (Anjum, Al-Makishah, & Barakat, 2016).

Methodology
In the methodology part, for treatment processes, it consists of preliminary treatment units. Pretreatment means are designed for removing large suspended solids or minimizing their size by fragmentation these solid materials may be of wood, doth, paper, plastic … .etc. For removing of heavy inorganic solids such as sand and gravel as well as metal and glass. These materials are called Grit (sand and any coarse material). Finally, it is designed to remove excess amounts of grease or oils. The pre-treatment consists of screens, grit chamber and equalization basin.
The general purpose of screens is to remove large objects such as rags, paper, plastics, metals, and the like. These units are used to store and remove large solid materials, hair, fibres, cloth, paper and coarse materials and prevent their entry with sewage to the subsequent treatment stages where they are placed at the beginning of the treatment plants at the entrance of the pumping station to protect the mechanical installations. Usually fine screens are preceded be a preliminary screening for the purpose of protection. Screens may also be classified into manually and mechanically cleaned.
For the grit chamber, it is necessary to remove the grits and other materials that are heavier than organic matter, in order to protect moving mechanical equipment and pumps from unnecessary wear and abrasion. There are different types of grit chambers, rectangular horizontal flow type, detritus tanks, aerated grit chamber, and equalization basins.
The Equalization (EQ) Basins are designed to provide consistent influent flow to downstream processes by retaining high flow fluctuations. Due to the additional retention time, aeration and mixing is required in equalization basins to prevent the raw wastewater from becoming septic and to maintain solids in suspension.
After that, biological Treatment (secondary treatment) is needed. Biological waste treatment involves bringing the active microbial growth in contact with wastewater so that they can consume the impurities as food. A great variety of microorganisms come into play that include bacteria, protozoa, rotifers, fungi, algae and so forth. These organisms in the presence of oxygen convert the biodegradable organics into carbon dioxide, water, more cell material, and other inert products. Biological treatment process can be achieved by two types of growth: suspended growth biological treatment and attached growth biological treatment.
In the methodology section, following steps are involved in the design of wastewater treatment in Al-Hay city as they are considered in the following steps. Firstly, the assessment of water quality is needed. It is important to select of treatment process, so selection is needed. Design of the treatment system is chosen. Some of water quality parameters are investigated too. This diagram expressed the methodology section for WWTP in Al-Hay city is shown in Figure 1. In addition, GPS X modelling has been an important part of carrying out the simulation and testing the design. The GPS X simulation has been done on biological treatment. For calibration of the model, it is needed to evaluate the operation of the plant; it needs to include all physical processes of the scale plant. The GPS X is motivated in a way only for secondary treatment to get results for some physical parameters such as TSS, BOD and COD because our design for Al-hay plant can be specified for a kind of wastewater treatment plant of extended aeration activated sludge system process.

Introduction
Al-Hay City lies in the south of Iraq some (39) kilometres to the south-east of Kut City being situated in the south of Iraq. The area is located between E (46°00ʹ 13.5"-46°04ʹ 01") and N (32°08ʹ 28"-32°13ʹ 03"). The city area inside the municipality boundary is densely occupied especially the central part of the city as shown in the Figure 2.
Due to the master plan of the city the area within the municipality is about (8000), dounum. The city of Al-Hay has an estimated 2014 78,820 capita, and it is expected to grow to 169,984 capita by 2040.

Climate
The climate of Iraq has been classified as continental. However, it is modified by the presence of the Arabian Gulf and especially the Mediterranean Sea, making it in the southern part of the country to resemble the Mediterranean type during the winter. The summer months, from June to September, are completely dry with extremely high temperatures and very low relative humilities. In October and November, temperature drops and showers occur with increasing frequency. Lowest air temperatures are reached from December to February, with minimum temperatures occasionally below zero.

Study period and population forecast
The population figures for Al-Hay District are based on the 2014 population data obtained from the Central Organization of Statistics and Information Technology of the Ministry of Planning and Development. The planning timeframe used in this study is 22 years, through the year 2040. A growth rate of 3.0% per year has been adopted in accordance with the MMPW standard for water and wastewater facilities planning. Based on the above growth rate, an increase in Al-Hay population based on Table 2 down below over the time period of planning. Consequently, the population of Al-Hay District is projected to increase over the next 22 years. The phase I means the populations in which started from 2018 to 22 years later which is should be at 2030. That means the WWTP starts working in 2018 to 2030 with this quality and parameters. The phase II means the design for WWTP will be started from 2030 to 2040, so the plant will be worked with these parameters and the estimated populations are calculated based on the year that starts with. Indeed, the project of the WWTP is designed to work for 22 years starting from the year with is 2018 to 2030 and the second part to the project to still be working is started from 2030 to 2040. Over the time period of planning in which started with 2014 the population is provided corresponding to phase I, which is 2018 going up to phase II which is 2040. Table 2 showed the increasing in the population over the time period of planning in the design.

Projected wastewater generation
The projected wastewater generation is determined based on the population and level of service. The per capita wastewater generation rate is presented in Table 3 shown below for Al-Hay. In Table 3, it displays the projected wastewater generation in which starts with the population of 2018 ending to 2030 as phase I and from 2030 to phase II, which is ending up to 2040 as indicated earlier based on the projected design. The gross population is calculated based on the formula P f = P i × (1 +0.03)^m Where P i : the initial population (present) capita.
t: the number of year for future period = 1,2,3 … … .22 years. The average flow in sanitary system is sum of gross waste water generation plus infiltration. The infiltration is water-entering sewer from ground through defective connections, pipes, pipes joints and manhole wells.
Let infiltration = 0.1 X Gross daily flow Q av . = Gross daily flow + infiltration

Peak factors
In the design analysis of wastewater mains, average flows do not represent the flows that the mains must handle. Wastewater mains should be designed to carry the projected peak flows that could reach as high as five times the average daily flows, depending on the population  Where, Pf is the peak factor and P is the forecasted population (in 1000) within the sewer line catchment area.
served by the wastewater mains. For purposes of this project, peak factors are based on the Babbitt-Herman formula and have been summarized. In Table 4, it shows the computation of wastewater discharge peak factors for both possibilities when the population is larger or smaller than 80,000.
Factors of minimum flow are calculated based on the following formula (P = population x 10 -3):

Population forecasting
The city of Al-Hay is undergoing rapid expansion in population as shown in Table 5. The population of 2018 and the estimated population is up to 22 year by the following equation:

Standards and design criteria
In this section will be describe the standards and criteria adopted in this study for the purpose of developing preliminary designs of the project facilities and establishing the bases for evaluating the various project alternatives.
In this wastewater treatment plant design, the characteristics of effluent of wastewater are adopted based on Iraqi National Standards for Discharge of Treated Municipal Wastewater to surface water courses. Based on these guidelines, the treatment processes must reduce BOD5 by more than 90%, ammonia by more than 80% and total nitrogen by more than 50% (nitrification/denitrification) (Marc et al., 2018). There are three specific treatment processes have been acknowledged as being feasible options for implementation, these are the Conventional Activated Sludge Process, Extended Aeration process and the Waste Stabilization process. Only the first two can meet the established effluent discharge criteria to River Tigris. The first process, mentioned to as the activated sludge/nitrification/denitrification process, is a conventional treatment process used successfully at sites in Iraq and throughout the world for treatment of domestic wastewaters. The second process, the Extended Aeration Activated Sludge system, although, now, commonly used in Iraq, is a well-known technology with less extensive sludge treatment requirements, which makes the capital and operational costs less than those required by the conventional activated sludge process. Waste Stabilization Ponds have the lowest capital and operational costs that can treat the domestic wastewater to the level that complies with the WHO and FAO guidelines for effluent reuse. Because this process is unable to meet the standards, so the extended aeration processes will be adopted for this purpose.
Extended Aeration can satisfy the selection criteria requirements for effluent disposal to surface water courses as it has the highest BOD, TSS and Nitrogen removal efficiency and meets the National Iraqi Standards for Wastewater Discharge to surface water courses, in addition to its ability to reduce phosphates considerably with minor upgrading. In the Figure 3, it displays a flow chart of conventional treatment plant.
Additionally, the effluent standards for the category-Discharge to Streams, were selected from Iraqi National Standards, Table 1 in (Appendix A) is referred to in Act 25 published in the year 1967 from Iraqi Authorities to regulate the Treated Domestic Wastewater be applied to this project. These standards are to be used to determine the performance requirements of the wastewater treatment plants proposed for the Al-Hay City. Table 2 in (Appendix A), the Iraqi National Standard for Treated Domestic Wastewater is represented. The most significant parameter limits (maximum concentrations) applicable to the wastewaters from the Study Area are 20 mg/1 for BOD5, 30 mg/1 for TSS, 10 mg/1 for ammonia (NH4-N)), 50 mg/1 for total nitrogen (N), and 100 MPN/100 ml for faecal coliforms and so on. In addition, the main characteristics of wastewater from the study area are those of domestic wastewater. Those prime parameters could be achieved by the conventional method of treatment proposed. Industrial discharges to public sewers have to be controlled by regulations for discharge of industrial wastewaters into the sanitary sewer system that require pretreatment before discharge (such as phosphorus). Chlorides, sulphates and many other inorganic dissolved solids are not considered to be problems. Thus, their concentrations in the effluent depend on the drinking water source.

. Preliminary treatment units
Along with treatment system units, we have to design pumping stations, approach channels, the flow equalization basin, which is transporting and providing a uniform flow to succeeding treatment unit and screen units, grit chamber and oil grease removal which is treatment unit in true sense.
5.1.1.1 Design of inlet pumping station. At the inlet stage of the wastewater treatment plant, screw pumps are usually utilized for this purpose. The pumping station or pump house at the treatment plant is normally of RCC and consists of a wet well and a dry well. When the raw wastewater reaches the treatment plant, it is first collected in the wet well or wet sump, and it is then lifted by pumps installed in the dry pit and conveyed to the first unit of the treatment system. Pumps are normally installed in the dry wells, or alternatively, submersible pumps are installed within the wet well itself. There are several significant parameters are considered in the design of pump station, which includes: (1) HRT (Hydraulic retention Time) of waste water in the wet well usually does not exceed 20 min.
(2) Screens: These are provided before the influent enters the wet well to screen out the material that may clog the pumps.
(3) Stand by pump: At least one extra pump more than the number of pumps required as per design usually used for WWPT design.
Design of pumps of wastewater treatment plant depends on the following flow rates: (in which show the average discharge, peak discharge and minimum discharge for both phases I and II in the projected area). In Table 6, it shows the estimated flowrates for phase I and phase II.
For this design, three pumps are used with one pump extra. Thus, 3 pumps used + 1 stand by pump.
So, the discharge of each pump, we utilize the peak discharge for phase#2 (2040).  To summarize, Al-Hay WWTP required 3 pumps + 1 stand by pump each of Q = 1077 m 3 /hour delivered as below: Phase I (2030): 2-pumps +1-stand by pump.
Phase II (future): 1 pump. 5.1.1.2. Design of approach channel. An approach channel usually used in WWTP is simple rectangular open channel. Wastewater collected in the wet well of a pump station is pumped into the approach channel located at a predetermined level normally determined using the gradient of hydraulic flow diagram. The sewage from the approach channel flows by gravity to the succeeding units of treatment plant.
The main function of an approach channel is to dampen the turbulence of the incoming flow to the subsequence units and ensure somewhat a steady and uniform flow after pumping. The approach channel designed with following design criteria:

Design of equalization basin
In actual practice, flow of domestic wastewater is never constant but exhibits diurnal and seasonal variations, both in volume and strength. Dampening of flow and loading normally improve the performance of reactors, more particularly the biological reactors. Therefore, when it is required to equalize the strength of wastewater and to provide a uniform flow; equalization tank is employed to the WWTP, usually after the screens and grit chambers. The capacity (volume) of an equalization tank is determined by preparing an inflow mass diagram, which is the plot of cumulative inflow volume of wastewater versus the time of the day. But, with missing of inflow data required to draw inflow mass diagram, the capacity of equalization tank will take 0.25 Q ave , so:  If rectangular tanks are provided, therefore, provide 2 rectangular tanks with L = 46m and B = 23 m and total depth, D = 5.0 m.

Design of screen unit
Screens are the device with clear opening of uniform size to re used to remove floating material and coarse solids from wastewater. It may consist of parallel bars, wires or grating. Mainly solids like sticks, rags, boards and other large objects, which find their way into a wastewater is removed by screenings. The screens are frequently required to be cleaned, as the retained solids (screenings) will tend to increase the head loss across the screens by clogging the screens. In the table 7, it displays the size of clear opening based on the type of screen.
Normally, screens are classified by two methods: (1) According to the method of cleaning: screens are known as hand cleaned or mechanically cleaned.
(2) According to the size of clear openings: they are known as coarse, medium or fine screens depending on the size of clear openings between the bars, as under: Providing 2 channels in one unit, so, the maximum flow in each channel is; The total length of screen channel-0.65 + 1.0 + 0.85 = 2.5m. Use 2 no. screen units (one unit with two channels) as well as by pass channel with No. of bars are 8.0.

Fine screen:
The design of screen units is as follows:

Design of grit, oil and grease removal
Grits are composed of sand, small gravel, cinders, broken glass or other heavy solid materials present in wastewater. There are some types of grits chambers; rectangular horizontal flow type and aerated grit chamber are most common and normally used in this field (Kulkarni, 2011). Using the aerated grit chamber will keep the organic solids that will settle down by gravity in suspension by rising air bubbles of aeration system. Removal of grease combined in the aerated grit chamber. Grits chamber are nothing but the sedimentation basins or settling basins, designed mainly to remove heavier or coarse inert and relatively dry suspended solids from the wastewater (Judd, 2015). The design depends on the following criteria, which are shown in Table 8.

Design criteria
The principal typical data of an aerated desanding tank for a good design, at peak flowrate, are (as per Wastewater Engineering, METCALF & EDDY, Fourth edition) (Janssen et al., 2002):

. Design aeration tanks
The combined process oxidizes a high proportion of the influent organics relative to the NH3-N concentration. In combined carbon oxidation-nitrification processes the ratio of BOD (biological oxygen demand) to TKN is greater than 5, whereas in separate processes the BOD to TKN ratio in the second stage is greater than 1 and less than 3. Total Kjeldahl Nitrogen (TKN) is a parameter used to measure organic nitrogen and ammonia. The TKN content of influent municipal wastewater is characteristically between 35 and 60 mg/L. TKN is a regular parameter that indicated the total concentration of organic nitrogen and ammonia. The ratio of BOD5 to TKN can be used as an indicator for efficiency of removal nitrogen and providing useful information in the rate of biodegradability in WWTP design. The term MLSS means (Mixed liquor suspended solids) is the concentration of suspended solids, in an aeration tank during the activated sludge process, which occurs during the treatment of waste water. The F/M ratio is a measure of the amount of food, or BOD, that is given to the microorganisms in the aeration tank. Additionally, MLVSS is defined as mixed liquor volatile suspended solids. MVLSS is generally defined as the microbiological suspension in the aeration tank of an activated-sludge biological wastewater treatment plant or it is represented the concentration of biomass in the activated sludge. The MLVSS is calculated as shown in Table 9. The hydraulic retention time (HRT) in wastewater treatment plant is a measure at an average length of time holding the wastewater in a tank. In addition, the biomass yield is defined as the ratio of the amount of biomass produced to the amount of substrate consumed (g biomass/g substrate). Moreover, in most aeration treatment systems, it is necessary to calculate the detention time is necessary in order for the microorganisms in the aeration system to absorb, adsorb and remove the contaminants (bacteria food) in the wastewater. Other calculations like sludge age, sludge produce and sludge produce in term of TTS are explained in Table 9 as a part of the calculations of the design of aeration tank.
To design an activated-sludge process for carbon oxidation-nitrification using the data in Table 9 and determine the volume of the aeration tank, daily oxygen requirement, and the mass of organisms removed daily from the system as below: Where;

Design secondary clarifier
The secondary settling tank (clarifier) is integral part of the activated sludge process. The main purpose of providing the secondary settling tank is to separate the large volume of suspended solid (MLSS) coming from the aeration tank and to obtained very clear stable effluent having low concentration of BOD and SS.
The secondary settling tank (SST) or clarifier is an integral part of the activated sludge process. As MLSS applied to tank is primarily biomass and flocculent in nature, normally type III or zone settling is assumed to take place in the tank, through discrete and flocculants settling also occur. The settled solids form the sludge blanket throughout the entire depth in the SST and may overflow the weir at peak flow rate if the size of the SST is inadequate. It is also essential that settling sludge is thickened in the tank to reduce its volume (Judd, 2015). So, while designing the SST, care should be taken for providing an extra depth for thickening or concentrating the settling sludge. In Table 10, it represents the design criteria for the settling tank, following criteria should be followed for extended aeration process (Janssen et al., 2002). In the table 11, it represents the design calculation of secondary settling tank.  The wasting sludge is adding to above volume because it is wasted from return, so 1122 + 359 = 1481 m 3 .

Design sludge treatment units
Sludge produced in secondary settling tank is large in volume due to high water content (0.2-0.12%) and contain more complex matter. The objective of sludge treatment is to reduce the water content of sludge and stabilize the organic content of sludge (Papoutsakis et al., 2015).
The sludge removed in wastewater treatment plants are mainly in the form of screenings, grit, and sludge. In the case of conventional domestic wastewater treatment plants, sludge is generated mainly from primary and secondary sedimentation tanks and its treatment normally includes: (1) Stabilization of sludge by digestion or treatment by lime or heat or chlorine oxidation.
(2) Dewatering of sludge by filtration or centrifugation or drying on bed or in lagoons.
Therefore, the objective of sludge treatment is to reduce the water content of sludge and stabilize the organic content of sludge. One of the methods for reducing water content is thickening or concentrating solids content, dewatering and drying. The sources of sludge vary according to the systems adopted for wastewater treatment the sources of sludge generation are: (1) Primary settling tank (primary sludge). (2) Mixed liquor line for from the aeration tank or influent to the secondary clarifier (biological sludge).
6.1.3.1. Design holding tanks. For the gravity holding tank for extended aeration process, Metcalf & Eddy (Janssen et al., 2002) had given the following criteria: as shown in table 12. In table 12, it represents the design criteria for the holding tank.
In      The water content of sludge reduced up to 70% and while the sludge volume can be reduced up to 60% in drying bed. The following design criteria are described for sludge drying beds: In table 14, it displays the design calculation for drying bed.

Disinfection unit
Disinfection refers to the partial destruction of disease-causing organism. In table 15, it shows the design criteria for the chlorination tank. Also, in the table 16, it represents the design calculation of chlorination tank.  The results were calculated from the detailed sampling, after that GPS-X models were developed and calibrated to the plant data. This calibration effort involved detailed review and analysis of the plant data and development of influent fractions for the model. An example of one of the screen views of a model for the Al-hay WRRF is shown below. This calibrated model is referred to engineering models and is intended by the engineering department as well as engineers for design.
For better purification performance and for providing essential operating rules to get better technically and scientifically operation base of the WWTP, thus the simulation with the GPS-X software is used and the results showed significant and satisfactory control performance of the  wastewater treatment plant. The results indicate a good functioning of WWTP along the studied period where almost all measured parameters were below the standards. Moreover, the GPS-X is utilized for improving capacity, operating efficiency and effluent quality by the existing facility can be got.
Based on the GPS X analysis, in Figures 4 and 5, they represent the systematic diagram of the extended aeration process. This process is started with the influent going up to the aeration tank ending with the effluent part. The program can be used to find appropriate control methods to minimize effluent concentrations from an activated sludge process. Basically, our design criteria are started with preliminary treatment through secondary treatment ending up with the effluent of the conventional wastewater treatment plant.  Figures 6 and 7 represent the relationship between the index and the total suspended solids. The results display an increasing in the amount of TSS with the increasing the index values. For example, it can predict a range of TSS concentrations given the typical range of growth rates, even though the true actual growth rate isn't known. Those results have done for final clarifier 1 and clarifier 2 for secondary treatment process.
In Figures 8 and 9, it displays the correlation between the total suspended solid and the time, but the time is various. Thus, the variation in the amount of TSS is considered with the variation of the time of the simulation. The time is specified in this analysis, but the effluent flow is considered with deliberation of the time of treatment process. The time is based on the data calculation is based on the population of Al-Hay starting from 2018 up to 2040. The project period is expected to 22 years. As an example, in Figures 8 and 9, it expresses the relationship between the times of the process with the amount of solids. Thus, the modeling results indicated that the increasing the time of simulation increased the removal of TSS, so the overall efficiency of the treatment system is enhanced too.  In the figures above, the correlations between TSS values and influent flow, which is clarified an increasing with the TSS values with flow values. But, the time of simulation is 20 days instead of 5 days.
Additionally, in Figures 10 and 11, they show the relationship between the amounts of total suspended solid with the influent flow. An enhancement in the amount of TSS is represented based on our analyses with the flow values at the simulation day 5. Meanwhile, an increasing in the amounts of TSS with the flow values at the 20 days simulation. After that, in Figure 10, it represents the correlation between TSS and the time. It can predict that at time 5 the TSS showed reduction while at time 20, the amount of TSS showed enhancement in it amount. The improvement of TSS increased with increasing the time of simulation. However, at time 5, the TSS is significantly reduced.
Finally, in Figure 13, methodical diagram of the whole design of Al-hay wastewater treatment plant is represented. In Figure 12, the relationship between COD values during the process of plant. The COD value indicates the amount of oxygen, which is needed for the oxidation of all organic substances in water in mg/l. At mixed liquor suspended solid, the COD values is too high comparing to others values in the plant. Mixed liquor is the mixture of raw or settled wastewater and activated sludge with in aeration tank in the activated sludge process. Thus, the mixed liquor suspended solid (MLSS) is the concentration of SS in the mixed liquor. The mixed liquor is discharged into settlings tanks and the treated supernatant is run off to undergo further necessary before final discharge. Part of the sludge is returned to the aeration tank system to re-seed the new sewage entering the tank. If the MLSS content is too high, it indicates that the process of the treatment system works efficiently. It means that the process becomes overloaded that can cause the dissolved oxygen content to drop with the effect. Meanwhile, it also means that the organic matters are fully degraded and the biological is dying off. Measuring the MLSS is important to adjust the flowrate of return sludge from the secondary clarifier into the secondary treatment reactor, and to ensure that influent organic matter will be treated with a correct and appropriate concentration of microorganisms. The COD value is approximately 12,000 mg/L in the MLSS indicating that the process of wastewater treatment plant works efficiently.

Conclusion and recommendation
Wastewater treatment is required as a part for eliminating contaminants to a sufficient degree to protect water. Thus, Al-hay WWTP is one of the plants in Iraq that are not completed in its operation. So, the design is needed and is taken into consideration some parameters in the influent that is required to be controlled to enhance the efficiency of the plant.
Wastewater has been released to the environment that is defined as a combination of the water plus wastes added to the water from a variety of uses, such as industrial, commercial, residences, and there are two sources which release the wastewater into the environment.
First, sewage/community wastewater is the kind which has been expelled from domestic premises such as institutions, residence etc. and commercial establishments which are organic because of the consistency of carbon composites alike vegetables, human waste, paper etc (Zhou & Smith). Second, is the wastewater that has been produced by industrial procedures, which is also organic in composition ([HRC] INC, 2019). These pollutions can be dangerous for human body and environment so wastewater should be treated in order to prevent these damages to take place, the process, which purifies the wastewater in order to discharge it back into a watercourse is known as wastewater treatment. Wastewater treatment uses chemical, physical, and biological processes to cleanse wastewater to protect the environment and public health.
Wastewater treatment happens in some infra structures, which are called wastewater treatment plant (Hammer, 1986). Generally, a wastewater treatment plant consists of Mechanical treatment, Biological treatment and Sludge treatment sections.
There are different kinds of pollutants and wastes in the wastewater such as, nutrients, inorganic salts, pathogens, and coarse solids etc., which are very dangerous for ecology and human. In order to remove these pollutants, different processes have been exposed. There are specific processes and unit operations in wastewater treatment, which are chemical, physical or biological. All these processes should be considered before deigning a proper wastewater treatment plant, which depends on the characteristics of the wastewater. In this text, a wastewater treatment plant will be designed related to the characteristics of the wastewater. This project is undertaken to design a wastewater treatment plant with some particular data for Al-Hay city. The data calculation is based on the population of Al-Hay starting from 2018 up to 2040. The project period is expected to 22 years. The grit chamber, equalization basin, screens, oil and grease removal, aeration tank, secondary settling tank, drying beds, and chlorination tank have been designed. Then the values for volume of aeration tank, hydraulic retention time (HRT), f/m ratio, return sludge flow rate, sludge production and oxygen requirement have been calculated. Some criteria have been made during designing the WWTP. Particularly, the recommendation is to reduce these assumptions as many as possible to achieve the more accurate and reliable results. In addition, this designing process is suitable for this particular situation, and it cannot be followed for every situations. Designing a wastewater treatment plant depends on the characteristics of the wastewater so the designing process should be analysed carefully because even a small mistake can be fatal. Based on the analysis, the sludge produce is from 3339.18 to to 4487.58 kg/day. The high observed yield as it is detected with values ranging from 0.2 to 0.6 kgVSS/kg(BOD5). The sludge retention time is equal to 27.7 day. These results are related to biological tank for Al-hay WWTP is worked during with high efficiency. Thus, the variation of principal parameters concentration of effluent of wastewater is given by GPS X analysis.
After design calculation, the data are analysed too by GPS X program. The design is applied and GPS-X modelling has been applied to the simulation of the WWTP scale. GPS X modelling has been an important part of carrying out the simulation and testing the design. The GPS X simulation has been done on biological treatment. For calibration of the model, it is needed to evaluate the operation of the plant; it needs to include all physical processes of the scale plant. In the analysis, sympathy was accomplished and some critical parameters that affect the performance of the treatment plant were predicated.
Modelling for Al-Hay WWTP has been done with extended aeration process, that one is started with the influent flow, aeration tank and two secondary tank (clarifier tank) ending with the effluent flow. Simulation is exhibited at 5 days and then at 20 days. The charts elucidate the correlation between total suspended solids and influent flow, COD bar chart, and the other results showing an emblematic diagram for the Al-Hay WWTP system. More analyses are needed to investigate other units in the WWTP system.
There are some recommendations for better performance regarding to the design criterion, management and operational issues. The excess flowrate must be treated by introducing a new concept that can help to improve in the removal of organic and nutrient of the plant. Besides that, at the beginning of the treatment, a flow meter should be installed to control the process. For operational denitrification, sufficient anoxic volume, proper carbon and mixed liquor recirculation are needed. Finally, monitoring and maintenance activities should be conducted and the operator maintaining the treatment plant should have aware of the unit processes in case of the failure of these units. Metcalf & Eddy, Inc. (2003). Wastewater engineering treatment and reuse.Boston: McGraw-Hill.