A housing developer near Lahore receives an STP proposal containing screens, blowers, media, pumps and a clarifier. The drawing has arrows between tanks, but the most useful question is simpler: what happens to the sewage at each step, and what must the operator keep working?

A sewage treatment plant does not clean water in one tank. It uses a connected sequence to remove debris, settleable material, biodegradable pollution and, where required, finer solids or microorganisms. It also creates screenings, grit and sludge that need their own handling route.

This guide follows the liquid and solids through a typical STP. Actual plants may combine steps, change their order or use different equipment. A design must be based on sewage flow, strength, discharge or reuse requirements, site conditions and the level of operating support available.

Could a constructed wetland suit the site?

Where land is available, include a planted treatment system in the options review. Our constructed wetlands in Pakistan service page explains site suitability, pretreatment, footprint, cost factors and maintenance responsibilities.

The complete STP process in one view

Liquid line: collection and inlet pumping → screening → grit or grease removal where needed → flow balancing → primary settling where used → biological treatment → solids separation → polishing and disinfection where required → discharge or defined reuse.

Solids line: screenings, grit, primary sludge and biological sludge → collection and storage → stabilization or conditioning where required → thickening or dewatering → controlled transport, reuse or disposal under the applicable arrangements.

The liquid line gets most of the attention in proposals. The solids line often determines whether the site remains clean, odour is controlled and the plant can keep operating. Water removed during thickening or dewatering usually returns to an appropriate point in the process and adds load there.

StageMain jobWhat leaves the stageWhat it does not finish
Preliminary treatmentIntercept rags, plastics, grit and selected greaseScreenings, grit and floatablesDissolved and fine biodegradable pollution
Primary treatmentSettle raw solids and skim floatable material where a primary clarifier is providedPrimary sludge and scumMost dissolved organic matter and pathogens
Secondary treatmentUse microorganisms to convert biodegradable pollution, then separate the biomassBiological sludge and treated liquidEvery nutrient, salt, pathogen or trace chemical
Tertiary treatment and disinfectionPolish the secondary effluent for a defined outlet or reuseFiltered and/or disinfected effluent plus backwash or residualsPollutants the selected polishing process was not designed to remove
Sludge treatmentStabilize, thicken or dewater solids for safer, lower-volume handlingThickened sludge or cake, plus return liquidThe need for a final management route

Step 1: collect sewage and control what enters

Sewage reaches the plant through gravity sewers, pumping stations or a combination of both. The inlet flow is not steady. Morning and evening use, weekends, occupancy and commercial activity can create peaks. Rainwater or groundwater entering damaged or wrongly connected sewers can add hydraulic flow without adding the same proportion of organic load.

Source control begins before the inlet. Stormwater should not be deliberately connected to a sanitary system unless the complete system was designed for it. Kitchen grease, wipes, construction debris, solvents and concentrated industrial chemicals can block pipes or disturb treatment. A housing STP should not be assumed to accept factory effluent simply because a sewer connection is nearby.

Where gravity cannot carry the flow, a wet well and submersible sewage pumps lift it. Pump selection needs peak flow, total dynamic head, solids passage, liquid levels and duty/standby planning. Motor power alone does not define whether a pump will meet the duty.

Step 2: screen out rags, plastics and large debris

The first physical barrier is usually a coarse or fine screen. Bars, perforations or slots retain material that could wrap around pumps, block diffusers or damage membranes. A manual bar screen may suit a small, attended plant. Mechanical or screw screens can automate removal where the debris load and operating arrangement justify them.

A screen does not remove dissolved pollution. It protects everything downstream. Its performance depends on the opening, peak hydraulic capacity, upstream water level and how retained waste is removed. A fine opening can capture more material but also creates more headloss and cleaning demand.

The plant needs a safe container and removal plan for wet screenings. Washing debris back into the inlet defeats the purpose. Aquenvia’s screening and headworks guide explains the selection questions for Pakistan STPs.

Step 3: remove grit and manage oil or grease

Grit consists mainly of dense mineral material such as sand and small stones. If it passes through, it can wear pumps, accumulate in tanks and reduce working volume. A grit chamber slows or controls the flow so heavy particles can separate while lighter organic material continues to treatment.

Oil and grease behave differently. Free-floating grease can be skimmed, but emulsified material may need other treatment. Commercial kitchens should use correctly sized and maintained grease interception before discharge. Our restaurant wastewater and grease-trap guide explains source control, sizing inputs and maintenance. A housing inlet receiving restaurant wastewater can experience sudden grease loads, especially when hot cleaning water cools in the sewer.

Grit, grease and screenings are separate residuals. They should not automatically be mixed into biological sludge because that can make pumping and dewatering harder.

Step 4: balance flow when variation would upset treatment

An equalization tank stores higher flows and releases them more steadily. Mixing keeps solids from settling and prevents parts of the tank from becoming stagnant. Equalization is valuable when occupancy, pumping or batch discharges create sharp changes, but it is not required in the same form at every STP.

Equalization does not remove pollution. It changes the timing and consistency of the feed. The tank needs usable volume, high-level protection, a mixing objective and a controlled outlet. An overflow route that bypasses treatment should not be hidden in the design.

At a new Lahore housing scheme, early occupancy can create a different problem from peak flow: the plant may receive much less sewage than its future design basis. The process, operating schedule and modular commissioning plan should account for this low-load period.

Step 5: settle raw solids where primary treatment is used

In a primary clarifier, flow slows enough for settleable solids to sink. A scraper or hopper directs them to a withdrawal point, while surface equipment removes scum. The clarified liquid continues to biological treatment.

Primary settling reduces the solids and organic load reaching the biological stage. It also creates primary sludge, which can become septic and odorous if not removed regularly. Compact packaged plants sometimes omit a separate primary clarifier or combine its function with other tanks. That is a process choice, not proof that primary treatment has no value. The primary, secondary and tertiary treatment guide explains the stage duties, and the primary clarifier guide covers flow, settling, sludge, scum and quotation inputs.

The operator watches the sludge blanket, scum, weirs, short-circuiting and withdrawal frequency. A tank can look calm while solids accumulate below the surface.

Step 6: let microorganisms treat biodegradable pollution

The biological reactor is the core of most sewage treatment plants. Bacteria and other microorganisms use biodegradable organic matter as food. They convert part of it into new biomass, water, carbon dioxide and other products. The process needs suitable contact time, mixing and environmental conditions.

In an aerobic reactor, blowers and diffusers supply oxygen. The important variable is oxygen transferred into the wastewater under actual conditions, not just the blower’s nameplate airflow. Tank depth, air-line losses, diffuser layout, fouling, temperature and wastewater characteristics affect performance.

Operators use dissolved oxygen readings, visual observations and laboratory trends to judge the process. Too little oxygen can limit treatment and create odour. Excess air can waste electricity and may still leave poorly mixed zones if distribution is uneven. The aeration, diffusers and blowers guide covers the complete air system rather than one component.

What are the common biological configurations?

ConfigurationHow the biology is heldHow solids are separatedPlanning question
Conventional activated sludgeSuspended flocs in an aeration tankSecondary clarifier, with return activated sludgeCan the site control settling, return sludge and wasting?
MBBRBiofilm grows on moving carriers retained in the reactorDetached solids still need downstream separationAre media area, retention screens, mixing and oxygen matched to the load?
SBRSuspended biomass works in timed fill, react, settle and decant cyclesSettling occurs in the same basin during the cycleDo cycle timing, peak flow, decanter control and redundancy suit the site?
MBRSuspended biomass is retained at higher concentrationMembranes separate treated water from solidsAre fine screening, scouring, cleaning, replacement and operator support included?

For a focused comparison of the carrier and membrane options, read MBBR vs MBR: how the wastewater treatment processes differ. It covers solids separation, operator duties, power questions and quotation boundaries for Pakistan projects.

These names describe process configurations, not complete guarantees. A 2022 study by researchers from NED University of Engineering & Technology reviewed preliminary, primary and secondary treatment for a Karachi case and selected activated sludge for that design. The Pakistan Journal of Scientific and Industrial Research paper is a useful local example, but its selection should not be copied to a different site without checking that site’s flow, wastewater and operating conditions.

Step 7: separate treated water from biological solids

Microorganisms remove soluble pollution by turning some of it into biomass. The plant must then separate that biomass from the water. In activated sludge systems, this usually happens in a secondary clarifier. Biological flocs settle, clarified water flows over outlet weirs, and sludge is collected from the bottom.

Part of the settled sludge is pumped back to the aeration tank as return activated sludge, or RAS. This maintains the biological population. The remainder is removed as waste activated sludge, or WAS. Without controlled wasting, solids build up, treatment conditions change and the clarifier can lose solids in the effluent.

The RAS and WAS operating guide explains how return flow, dry-solids wasting and sludge age differ, with two hypothetical mass-balance examples.

Settling depends on the health and structure of the biomass as well as the clarifier. Raising the return pump rate cannot solve every settling problem. Operators should record sludge blanket depth, settled sludge observations, return and waste rates, flow and effluent solids. The secondary clarifier guide lists the hydraulic, solids and withdrawal questions, while the RAS and WAS pump guide separates return-flow and dry-solids wasting duties.

An MBR uses membranes instead of a secondary clarifier for solids separation. It can produce low suspended-solids effluent, but it still requires biological control, sludge wasting, membrane scouring and cleaning. Low TSS does not establish that every dissolved substance or pathogen concern has been addressed.

Step 8: polish and disinfect for the intended outlet

Secondary effluent may need filtration, nutrient removal or disinfection depending on the applicable requirement and intended use. A filter can remove residual particles. It does not automatically remove dissolved salts. A typical biological STP is not a desalination system.

Disinfection targets microorganisms after upstream treatment. Chlorine and ultraviolet systems have different contact, water-quality, safety and maintenance requirements. Solids and turbidity can interfere with disinfection, so a unit placed after a poorly performing clarifier will not repair the whole process.

The UV disinfection selection guide explains peak flow, UV transmittance, dose, fouling and power-interruption questions. It also explains why UV selection begins with treated-water testing rather than lamp wattage.

Treated water should go only to the outlet or reuse for which the complete system was assessed. Irrigation, flushing, cooling and process reuse can have different water-quality and storage requirements. Reuse is not a label that can be added after equipment selection.

Step 9: treat the sludge, not just the water

Every solids-removal step creates material that must leave the plant. Primary sludge contains settled raw solids. Waste activated sludge contains biological biomass and water. In smaller plants, both may enter a holding tank, but their characteristics and behaviour should still be understood.

Sludge treatment can include stabilization, thickening, conditioning and dewatering. These are different duties. Stabilization reduces biodegradable activity and odour potential. Thickening increases solids concentration while the material remains pumpable. Dewatering produces a wetter or drier cake for handling.

Drying beds need land, drainage, labour and suitable weather. Aquenvia’s sludge drying bed guide explains loading, drainage, evaporation and seasonal operating records. Mechanical equipment such as a screw press can reduce dependence on open beds, but it needs a measured dry-solids load, suitable polymer testing, wash water, power and a plan for filtrate and cake. Review the sludge screw press sizing and trial guide before comparing a retrofit proposal.

Dewatering does not make sludge disappear. The owner must define storage, lifting, transport and the final management route. Return liquors can carry ammonia and organic load back to the liquid line, so they belong in the process balance.

A worked example: follow the load through a 100 m³/day STP

Hypothetical teaching example. Assume a housing STP receives 100 m³/day at an average inlet BOD₅ concentration of 250 mg/L. These are not measurements from a real site and the outlet figure below is not a regulatory limit.

Average hourly flow = 100 ÷ 24 = 4.17 m³/hour.

If the assumed peak hour is 2.5 times the average, the hypothetical peak becomes 10.4 m³/hour. The factor is an illustration, not a universal design value. Actual peaks should come from occupancy, fixtures, pumping and measured or justified flow patterns.

Inlet BOD₅ load = flow × concentration ÷ 1,000.

100 m³/day × 250 mg/L ÷ 1,000 = 25 kg BOD₅/day.

If a representative outlet result were 30 mg/L at the same daily flow, the outlet load would be 3 kg/day and the calculated removal would be 22 kg/day, or 88%. The operator should not claim performance from one sample. Flow measurement, sampling timing, process conditions and repeated results matter.

This simple example shows why STP units are sized against different duties:

  • Channels, screens and pumps must pass the relevant peak hydraulic flow.
  • Biological volume and aeration respond to daily and peak pollutant loads, temperature and process targets.
  • Clarifiers respond to hydraulic flow, solids loading and settling behaviour.
  • Sludge equipment responds to kilograms of dry solids, not sewage flow alone.
  • Disinfection responds to peak flow and the worst agreed upstream water quality.

Our BOD, COD and TSS guide explains these concentration, load and removal calculations in more detail.

What should an operator check every day?

AreaUseful observation or recordQuestion raised by a change
InletFlow, pump starts, water level, unusual colour or greaseHas occupancy, rain, a blockage or an unauthorized discharge changed the feed?
Screens and gritDebris quantity, headloss, cleaning and container conditionIs the inlet being protected without causing an upstream overflow?
Biological tankDissolved oxygen, mixing, foam, colour, odour and equipment statusAre oxygen supply, loading and biomass conditions changing?
ClarifierSludge blanket, surface solids, weirs, RAS and WASIs solids separation failing because of hydraulics, biology or withdrawal?
Final effluentFlow, turbidity or clarity, disinfection status and laboratory scheduleDoes the water meet the defined test basis, not just look clear?
Sludge lineTank level, feed concentration, polymer, cake, filtrate and removalsIs sludge accumulating faster than the handling system can manage it?

Trend records are more useful than isolated numbers. Log power interruptions, bypasses, unusual inflows, maintenance and chemical changes beside the test results. The WHO Sanitation Safety Planning manual, published in 2022, treats risk management across the full sanitation chain. That is a useful principle for owners: the plant boundary does not end responsibility for the sewer, operator exposure, sludge or final use.

Which requirements apply to an STP in Pakistan?

National policy, provincial environmental requirements and project-specific approvals are not interchangeable. For a facility in Lahore or elsewhere in Punjab, begin with the official Punjab Environmental Quality Standards page, which lists standards for municipal and liquid industrial effluents. Confirm the current notification, discharge category, footnotes, approval conditions and sampling basis for the actual project.

Do not carry Punjab requirements into Sindh, Khyber Pakhtunkhwa, Balochistan or another jurisdiction without checking the responsible authority. Do not treat a proposed reuse objective as proof of regulatory acceptance. The design basis should state the applicable parameters and how performance testing will demonstrate them.

The article on Pakistan’s wastewater treatment gap explains why national statistics do not describe the condition of a particular city, society or plant.

For local context, the guide to where Lahore’s sewage goes traces the route through sewers, disposal stations and main drains and separates operating infrastructure from planned treatment.

What should a housing-society STP quotation include?

A credible quotation should describe the whole service, not only a list of tanks and motors. Ask every bidder to state the same basis:

  • Population, occupancy phases, average and peak flows, and sewage characteristics.
  • Influent design range and the parameters used to calculate biological and solids loads.
  • Guaranteed outlet basis, applicable sampling conditions and performance-test duration.
  • Process description, hydraulic profile, tank working volumes and equipment duty points.
  • Duty/standby philosophy, electrical load, control logic, alarms and backup-power assumptions.
  • Civil works, interconnecting pipework, access platforms, ventilation and odour provisions.
  • Screenings, grit, sludge, filtrate, backwash and chemical-residual handling.
  • Operator staffing, training, manuals, spares, consumables and laboratory monitoring.
  • What installation, commissioning and ongoing operation are included or excluded.

A plant can be mechanically complete and still fail if the sewer brings stormwater, the blower cannot meet pressure, sludge has nowhere to go or no one responds to alarms. Aquenvia’s sewage treatment service page provides the starting framework for new STPs and upgrades.

Common questions

Does every STP need a primary clarifier?

No. Some compact or batch configurations combine or omit a separate primary-settling stage. The designer should explain how settleable solids are managed and how the choice affects biological loading and sludge production.

What is the difference between aeration and treatment?

Aeration supplies oxygen and mixing. Treatment occurs through the biological community under suitable loading, retention, settling or membrane separation, and sludge control. More air alone does not guarantee better effluent.

Can MBBR media be added to fix an overloaded plant?

Not from tank volume alone. Check organic and ammonia loads, oxygen, mixing, media retention, downstream solids separation, hydraulics and the cause of the current problem before adding carriers.

Does an MBR remove TDS?

No. An MBR membrane separates suspended solids and biomass. Dissolved salts largely pass through. Salt reduction requires a separate assessment and creates a concentrate-management question.

Can clear treated water be assumed safe?

No. Clear water can still contain dissolved pollutants or microorganisms. Confirm the required laboratory parameters and intended outlet or reuse.

What is the best first step for a new STP?

Define the source, present and future occupancy, flow pattern, sewage strength, outlet or reuse, applicable requirements and who will operate the plant. If you need help organizing that basis, contact Aquenvia.

Sources checked 13 September 2026. The worked example is hypothetical and is not a design recommendation or discharge limit. Treatment configurations and equipment must be selected against the actual wastewater, site and applicable Pakistani requirements.