Agricultural Engineering · Energy, Structures & Environment · also Waste and By-products Utilization, Environmental Engineering, Waste Management (PRC)
Handling residues, manure and wastewater so that farms and plants do not pollute soil, water and air.
In the exams: NCEES PE Natural Resources & Environmental Systems and nutrient management; PRC ABE waste management; electives in the ICAR 6th Deans' Committee B.Tech
Agricultural waste management and environmental engineering is the part of agricultural engineering that deals with what farms and agro-processing plants leave behind: crop residues, manure and slurry, and the wastewater and solid by-products of dairies, slaughterhouses, sugar mills, distilleries and fruit, vegetable and grain plants. Its purpose is to collect, store, treat and reuse these materials so that soil, water and air are protected and their nutrients, carbon and energy are put back to work.
The subject combines simple mass balances with biological process design. A student must be able to characterise a waste (solids, volatile solids, BOD, COD, nutrients, C:N), mix composting feedstocks to a target C:N and moisture, size an anaerobic lagoon from its volatile solids loading rate, size an activated sludge tank, a clarifier or a stabilisation pond, and calculate manure application rates from crop need. A practitioner must also understand odour and gas risks, the alternatives to burning crop residue, and how environmental impact assessment and permits work. Biogas plant types and basic digester sizing are covered in the bioenergy subject and are referred to here only where they are part of a treatment system.
The subject is examined in the Natural Resources and Environmental Systems area of the NCEES PE Agricultural and Biological Engineering exam (nutrient management, environmental systems and policy), in the environment-engineering part of the Philippine ABE licensure exam, in the waste-management papers of the Engineers Canada agricultural syllabus, in environmental items of the NCEES FE exam, and as an elective in Indian B.Tech programmes under the ICAR Deans' Committee. Laws and effluent limits differ by country and change often; regulatory frameworks are named only as examples.
Agricultural waste engineering deals with three broad streams. The first is crop residue: straw, stover, stalks, husks, cobs, prunings and the trash left after harvest. The second is livestock waste: faeces and urine, plus the bedding, spilt feed, wash water and rainwater that end up mixed with them; together these are called manure, and when they are wet enough to pump they are called slurry. The third is agro-industrial waste from the plants that process crops and animal products: dairy, slaughterhouse, sugar, starch, fruit and vegetable, edible oil, distillery and rice mills. These plants produce both solid by-products (press mud, bagasse, husk, peel, pomace, oil cake, whey solids) and large volumes of wastewater rich in dissolved and suspended organic matter. The engineer's job is the same for all three: know how much is produced, what it is made of, and then choose a handling, treatment and use route that protects soil, water and air at a cost the farm or plant can bear. A waste is often a resource in the wrong place. Manure is a fertiliser if it reaches a crop that needs it, and a pollutant if it reaches a stream. Whey is a feed and food ingredient if it is captured, and an extremely strong wastewater if it goes down the drain.
Every design starts with characterisation, because the same word, manure or wastewater, covers materials that differ by an order of magnitude. Total solids (TS) are what remains after drying a sample at 103 to 105 degrees Celsius; moisture content is the rest, and it can be expressed on a wet basis (water divided by total wet mass) or a dry basis (water divided by dry mass). Mixing the two bases is the commonest numerical error in this subject. Volatile solids (VS) are the part of TS lost on ignition at about 550 degrees Celsius and are used as a measure of organic matter; fixed solids or ash are what remain. For liquids, solids are further split into suspended solids (retained on a filter) and dissolved solids. The oxygen demand of the organic matter is measured as biochemical oxygen demand (BOD) and chemical oxygen demand (COD), described in a later chapter. Nutrients are reported as total Kjeldahl nitrogen (organic plus ammonium nitrogen), ammonium nitrogen, nitrate, total phosphorus and potassium. Fertiliser practice in many countries quotes phosphorus and potassium as the oxides P2O5 and K2O; converting elemental P to P2O5 multiplies by about 2.29 and K to K2O by about 1.20. Other parameters that matter are pH, electrical conductivity (salts), fats, oils and grease (important in dairy and meat wastewater), bulk density (for storage and haulage), particle size (for composting and pumping) and the carbon to nitrogen ratio (C:N). Pathogen indicators such as faecal coliforms or Escherichia coli are measured where reuse or discharge rules demand. Published tables of manure production per animal (for example ASABE D384) and typical food-plant effluent strengths are averages for particular diets, housing and products; water use alone can change volumes several-fold, so final designs use measured flows and composite samples, and size for peak as well as average loads.
The amount of residue in a field is estimated from grain yield and a residue-to-grain ratio (also called straw-to-grain or residue-to-product ratio). The ratio depends on crop, variety, harvest height and the harvesting method, so it should be taken from local data; the calculation itself is simple: residue mass equals grain yield times the ratio. Not all of it can or should be removed. A collectable fraction is limited by the machine, by stubble left standing, and by the need to keep some residue as soil cover against erosion and as a source of soil organic carbon. Farmers burn residue where the window between harvest and the next sowing is short, where combine-harvested fields leave loose straw that clogs conventional drills, where labour is scarce, and where there is no market for the straw. The best-known example is rice straw in rice-wheat systems of the Indo-Gangetic plains, but open burning of sugarcane trash, maize and wheat residue occurs in many countries. Burning is fast and cheap for the individual farmer but imposes heavy costs on everyone else.
Open-field burning releases carbon dioxide, carbon monoxide, methane, nitrous oxide, nitrogen oxides, volatile organic compounds and large amounts of fine particulate matter (PM2.5 and PM10). Because the fire is a smouldering, low-temperature, poorly mixed burn, emissions of carbon monoxide and particles per kilogram of fuel are much higher than in a controlled furnace. Emissions are calculated as mass of residue burned multiplied by an emission factor in grams of pollutant per kilogram of dry matter burned; published emission factors vary by crop, moisture and burning conditions, so any calculation should state the factor it used. Regional haze from residue burning contributes to severe air-quality episodes in nearby cities. Burning also wastes nutrients: nearly all the nitrogen and much of the sulphur in the straw is lost to the air, while most of the potassium and phosphorus stays in the ash, where it can be blown or washed away. Heat kills soil organisms in the surface layer, and the soil loses the organic matter that residue would have added. Many governments now prohibit or restrict open burning; the rules, penalties and support schemes differ from country to country and change frequently.
In-situ management keeps the residue in the field. Options include retaining it as surface mulch and sowing the next crop directly through it with a no-till or zero-till drill designed to cut or clear the straw ahead of the furrow openers; chopping and spreading the straw evenly behind the combine with a straw management system so that a drill can work; and incorporating the chopped residue into the soil with a disc harrow, rotary tiller or mouldboard plough. Retention conserves soil moisture, moderates soil temperature, suppresses some weeds and adds organic carbon over years. Its drawbacks are the need for specialised drills, uneven residue spread, possible pest and rodent build-up, and temporary immobilisation of nitrogen when high C:N straw decomposes in the soil, which may require extra nitrogen for the following crop. Microbial decomposer sprays are promoted in some regions to speed in-field decomposition; their field performance under short turnaround windows is still debated in the literature, so the engineer should rely on local trial evidence rather than claims.
Ex-situ management removes the residue for use elsewhere: as fuel in biomass power or heat plants and boilers, as feedstock for briquettes and pellets, for second-generation ethanol or compressed biogas, as livestock feed (rice straw is low in digestibility and high in silica, so it is a poor feed unless treated), as bedding, for mushroom cultivation, for composting, for packaging and board, and for biochar. The engineering bottleneck is logistics. Loose straw has a very low bulk density, so it must be raked and baled (rectangular or round balers) and then hauled and stored, protected from rain and fire, for months. The supply chain has to be planned backwards from the user: the plant's annual demand, the collection radius that supplies it, the number of balers, rakes, loaders and trailers needed to clear the fields in the short window, and the size of the storage yard. Collection cost per tonne rises with haul distance, so most residue-using plants rely on a limited radius and on aggregators. A defensible residue plan often combines in-situ retention on most fields with ex-situ collection where a buyer exists.
Manure handling systems are chosen first by the consistency of the material, which depends mainly on its total solids content. Manure with high solids, from bedded packs, poultry litter or dried lots, stacks and is handled as a solid with scrapers, front-end loaders and box or rear-discharge spreaders. Manure with low solids flows and is handled as a liquid with pumps, pipes and tankers. Between them is a semi-solid range that is awkward for both: too wet to stack, too thick to pump easily. Adding water or wash water pushes manure into the liquid range; adding bedding or separating liquids pushes it to the solid range. The approximate solids boundaries between these classes are given in national handbooks and differ with the species and bedding, so they should be taken from the reference in use rather than memorised as fixed numbers. The choice of consistency drives everything else: liquid systems need watertight storage and pumps but allow pipeline transfer and injection; solid systems need covered or contained stacking areas and handle runoff separately.
Collection removes manure from the housing: mechanical scraping (tractor or automatic alley scrapers), flushing with recycled water, gravity flow channels, and slatted floors over pits. Transfer moves it to storage: by gravity pipes, by piston or centrifugal pumps, or by vehicle. Storage holds manure until it can be applied to land at the right time, which is why storage period is a key design decision. Storage volume is the sum of manure and wastewater produced over the storage period, any bedding, the rainfall on an uncovered store and on any contributing area, minus evaporation where allowed, plus a design storm allowance and freeboard. Earthen ponds need a liner of compacted clay or a synthetic membrane to limit seepage; concrete and steel tanks need structural design for liquid pressure and, for below-ground tanks, buoyancy when empty. Slurry stores must be agitated before emptying because solids settle and crusts form. Agitation releases trapped gases, including hydrogen sulphide, which can reach dangerous concentrations in and above pits; people and animals have died during agitation. Buildings above pits must be well ventilated while agitating, and confined-space entry rules must be followed.
Separating solids from liquid manure reduces the solids load on lagoons, cuts crusting and sludge build-up, and produces a stackable fibre that can be composted, used as bedding where hygiene rules allow, or exported. Common separators are inclined or vibrating screens, screw presses, roller presses, settling basins and weeping walls, and centrifuges. Separation efficiency is reported for solids, nitrogen and phosphorus separately, because phosphorus tends to be associated with fine particles and is captured better by settling or chemical flocculation than by coarse screens, while most ammonium nitrogen stays in the liquid. Many farms combine separation with a treatment step such as an anaerobic lagoon or digester (covered in chapter 5 and in the bioenergy subject), composting of the solids, or both. A simple numerical concept is dilution: to dilute a slurry from one total solids percentage to a lower one, the solids mass stays the same, so the new total mass equals the old mass times the old TS divided by the new TS. Halving the TS doubles the mass to be stored and spread.
Composting is the controlled aerobic decomposition of organic matter by a succession of microorganisms into a stable, humus-like product. It begins in a mesophilic phase, in which readily degradable compounds such as sugars and proteins are consumed and the temperature rises quickly. It then enters a thermophilic phase, commonly 45 to 70 degrees Celsius, in which thermophilic bacteria and actinomycetes dominate, decomposition is fastest and pathogens and weed seeds are inactivated. When the easily degraded material is used up the temperature falls into a cooling phase, and finally a long curing or maturation phase in which fungi and actinomycetes break down more resistant compounds such as cellulose and lignin, and the product becomes stable. Mass and volume fall substantially through the process as carbon leaves as carbon dioxide and water evaporates. Composting reduces odour and pathogens, kills many weed seeds, reduces volume for haulage and gives a product that can be stored and sold. Its main losses are nitrogen as ammonia when the mix is too rich in nitrogen or too alkaline, and carbon as carbon dioxide.
Five variables control composting. The carbon to nitrogen ratio of the starting mix is usually targeted between about 25:1 and 30:1, with a wider acceptable range commonly given as 20:1 to 40:1. Below the range, excess nitrogen is lost as ammonia and odours develop; above it, decomposition slows because microbes are short of nitrogen. Moisture should commonly be in the range of 50 to 60 percent on a wet basis: too dry and microbial activity stops, too wet and water fills the pores, oxygen cannot diffuse, and the pile turns anaerobic and malodorous. Oxygen in the pore air is kept above roughly 5 percent by turning or forced aeration; aeration also removes heat and moisture, so it is the engineer's main control of temperature. pH is usually best near neutral to slightly alkaline. Particle size is a compromise: small particles give more surface for microbes but less free air space, so bulking agents such as wood chips or straw are added to wet, dense materials such as manure, sludge or food waste to provide structure and porosity. Temperature is monitored daily in the core as the best single indicator of how the process is going.
Most composting numericals are mass balances. For C:N, write the total carbon and total nitrogen of the mix on a dry basis: C:N of the mix equals the sum over ingredients of dry mass times carbon fraction, divided by the sum of dry mass times nitrogen fraction. Note that averaging the C:N ratios of the ingredients is wrong; you must add carbon and nitrogen separately. Example: straw with 40 percent carbon and 0.5 percent nitrogen (C:N 80) is mixed with manure with 30 percent carbon and 2.0 percent nitrogen (C:N 15), dry basis. For a target C:N of 30, let x be kg of dry straw per kg of dry manure: (0.40x + 0.30) / (0.005x + 0.020) = 30, giving 0.40x + 0.30 = 0.15x + 0.60, so x = 1.2 kg dry straw per kg dry manure. Equal dry masses would give (0.40 + 0.30) / (0.005 + 0.020) = 28, not the average of 80 and 15. For moisture, the water mass is the sum of each ingredient's wet mass times its moisture fraction, and the mix moisture is total water over total wet mass. To bring 100 kg of straw at 10 percent moisture to a mix at 60 percent using manure at 80 percent: (10 + 0.8m) / (100 + m) = 0.6, so m = 250 kg of manure. To raise 500 kg of material from 40 to 60 percent moisture by adding water, keep the dry matter of 300 kg fixed: the final mass is 300 / 0.4 = 750 kg, so 250 kg of water is added. Because ash is conserved, the fraction of volatile solids lost can be found from ash contents before and after: loss = 1 minus [ash initial times (1 minus ash final)] divided by [ash final times (1 minus ash initial)].
The main systems are passive piles, turned windrows, aerated static piles (forced air through a perforated pipe under the pile, with negative or positive pressure, often with a cover of finished compost or a biofilter), and in-vessel systems such as drums, tunnels, bins and agitated bays. Windrows are cheap but need space and turning machinery; aerated static piles control air and odour better; in-vessel systems take least space and give the most control at the highest cost. Pathogen reduction rules exist in several countries. Under the United States rule for biosolids (40 CFR Part 503), a process to further reduce pathogens requires in-vessel or aerated static pile compost to be held at 55 degrees Celsius or higher for 3 days, and windrows at 55 degrees Celsius or higher for 15 days with at least five turnings; other countries set their own time-temperature and product standards. Compost maturity and stability are assessed by the fall of temperature to near ambient after turning, low respiration rate (oxygen uptake or carbon dioxide evolution), absence of ammonia odour, a lower C:N, germination tests with sensitive seeds, and self-heating tests. Immature compost can tie up nitrogen and harm seedlings.
Vermicomposting uses epigeic earthworms, most commonly Eisenia fetida and Eudrilus eugeniae, together with microbes, to convert organic waste into vermicompost (worm casts mixed with partly decomposed matter). Unlike thermophilic composting it is a mesophilic process: the worms are harmed by high temperature, so beds are kept moist and shaded and are not allowed to heat up. Fresh manure or materials that would self-heat are often pre-composted for a short period before worms are added. Beds are fed in thin layers; moisture is kept high enough for the worms to breathe through their skin but not waterlogged; salty, very acidic or oily feeds, and fresh material with high ammonia, are avoided. Vermicompost is usually finer and more uniform than thermophilic compost and is valued in horticulture and nurseries. Because there is no thermophilic phase, pathogen reduction is less certain than in properly run hot composting, which matters if the feedstock contains human or animal pathogens. Worms are harvested by light-driven migration, screening or by moving the feed to one side so they follow it.
The microbiology and the basic biogas plant designs are covered in the bioenergy subject; this chapter treats anaerobic processes as tools for treating manure and food-plant wastewater. Anaerobic treatment converts organic matter mainly to methane and carbon dioxide, with little sludge produced compared with aerobic treatment and with no aeration energy. It removes a large share of BOD and COD and reduces odour if well run, but it does not remove nitrogen and phosphorus, so the effluent remains nutrient-rich and still needs land application or further treatment. The main options for agriculture are the anaerobic lagoon (a large, deep, uncovered or covered earthen basin with long retention), the conventional mixed or plug-flow digester for manure (bioenergy subject), and high-rate reactors for soluble industrial wastewater, such as the upflow anaerobic sludge blanket (UASB) reactor, anaerobic filters and expanded-bed reactors, which keep biomass in the reactor far longer than the water. A useful design fact is the theoretical methane yield: each kilogram of COD converted to methane produces about 0.35 cubic metres of methane at standard conditions of 0 degrees Celsius and one atmosphere; real yields are lower because part of the COD goes to cell growth and part leaves in the effluent.
An anaerobic lagoon is designed primarily on the volatile solids loading rate, the mass of volatile solids added per cubic metre of treatment volume per day. ASABE engineering practice EP403 (Design of Anaerobic Lagoons for Animal Waste Management) and national design handbooks give maximum loading rates that vary with climate, because bacterial activity falls as temperature drops: colder regions must use lower loading rates and therefore larger lagoons. The minimum treatment volume is the daily volatile solids input divided by the allowable loading rate. The total lagoon volume is then built up by adding: the volume of manure and wastewater to be stored between pump-downs, a sludge accumulation volume for the planned period between sludge removals, the net of precipitation minus evaporation on the surface for the storage period, the runoff and direct rainfall of a design storm (often a 25-year, 24-hour storm in United States practice), and freeboard. Anaerobic lagoons are relatively deep to reduce surface area, which lowers odour emission and heat loss and helps keep anaerobic conditions; the actual depth is limited by groundwater, soil and construction rules. Side slopes, liner requirements and separation from groundwater and wells are set by national or state standards. A new lagoon should be filled partly with water before manure is added, and ideally started in warm weather or seeded with sludge from a working lagoon so that the methanogens establish. Overloading, sudden temperature drops, toxic inputs (disinfectants, antibiotics at high levels, high salt or ammonia) and sudden changes in feed cause volatile fatty acids to accumulate, pH to fall and odours to rise. Spring warm-up is a known odour period. Sludge builds up and reduces treatment volume, so it must be measured and removed periodically, and its nutrients, especially phosphorus, budgeted in the nutrient plan. Covering a lagoon with an impermeable cover captures biogas for energy or flaring, reduces methane emission and odour, and keeps rain out, but makes sludge removal harder. Embankments must be inspected for erosion, burrowing animals and seepage.
For soluble, warm, high-strength effluents from dairies, distilleries, starch, sugar, fruit processing and breweries, high-rate anaerobic reactors are common as the first treatment stage. They are designed mainly on the organic loading rate in kilograms of COD per cubic metre of reactor per day: reactor volume equals the daily COD load divided by the allowable organic loading rate, which depends on wastewater type, temperature and reactor type and is taken from design literature or pilot tests. A hydraulic check follows, because the upflow velocity in a UASB must stay within limits that keep the granular sludge in the reactor. Example: 200 cubic metres per day at 4000 mg/L COD is a load of 800 kg COD per day; at an organic loading rate of 8 kg COD per cubic metre per day the reactor volume is 100 cubic metres, a hydraulic retention time of 12 hours. If 80 percent of the COD is converted to methane at 0.35 cubic metres per kg, about 224 cubic metres of methane per day is produced at standard conditions. Fats and oils, high suspended solids and very variable flows harm high-rate reactors, so pre-treatment with screening, fat removal and an equalisation tank is normal, and an aerobic polishing step usually follows to meet discharge limits.
When biodegradable organic matter enters a stream, bacteria consume it and use dissolved oxygen to do so. If the load is high enough, dissolved oxygen falls below what fish and other aquatic life need, and the stream can turn anaerobic and foul. The strength of organic wastewater is therefore expressed as the oxygen needed to oxidise it. Biochemical oxygen demand (BOD) is the oxygen consumed by microorganisms while degrading the organic matter in a sample over a fixed time at a fixed temperature in the dark. The international standard test is five days at 20 degrees Celsius (BOD5); India's national standards use a three-day test at 27 degrees Celsius, and the two results are not identical, so the test conditions must be stated. Chemical oxygen demand (COD) is the oxygen equivalent of the organic matter that can be oxidised by a strong chemical oxidant, potassium dichromate in hot sulphuric acid with a silver catalyst, usually over a two-hour reflux. COD includes organic matter that bacteria break down slowly or not at all, so COD is almost always greater than BOD. The COD test takes hours instead of days, so plants use it for routine control.
In the dilution method, a measured volume of sample is placed in a standard bottle (commonly 300 millilitres), filled with aerated dilution water containing nutrients and buffer, and seeded with microorganisms if the sample lacks them, such as an industrial effluent or a disinfected sample. Dissolved oxygen is measured at the start and after incubation. For an unseeded sample, BOD equals the initial dissolved oxygen minus the final dissolved oxygen, divided by the decimal fraction of sample in the bottle. Example: 6 mL of wastewater in a 300 mL bottle (P = 0.02), initial DO 8.5 mg/L, final DO 4.3 mg/L, gives BOD = (8.5 minus 4.3) / 0.02 = 210 mg/L. For seeded samples a seed correction is subtracted. Validity rules require that the dilution consume a meaningful amount of oxygen but leave some residual oxygen; the thresholds are set in the standard method in use. Strong wastes such as dairy effluent need large dilutions, often of the order of a hundred times or more. Nitrification in the bottle can add a nitrogenous oxygen demand; where carbonaceous BOD is wanted, a nitrification inhibitor is added.
Carbonaceous BOD exerted over time is usually modelled as a first-order reaction. If L0 is the ultimate carbonaceous BOD and k the rate constant to base e, the BOD exerted after t days is BODt = L0 (1 minus e to the power of minus k t). Some textbooks use a base-10 constant K with BODt = L0 (1 minus 10 to the power of minus K t); the two are related by k = 2.303 K, so a problem must state which base it uses. Example: L0 = 300 mg/L and k = 0.23 per day (base e) gives BOD5 = 300 (1 minus e to the minus 1.15) = 205 mg/L. Using the same number as a base-10 constant would wrongly give about 279 mg/L. Conversely, a BOD5 of 200 mg/L with k = 0.23 per day implies an ultimate BOD of about 293 mg/L. The rate constant rises with temperature, commonly corrected with kT = k20 times theta to the power (T minus 20), with theta near 1.047 in many texts. The ratio BOD5 to COD indicates biodegradability: a high ratio, as in most food and dairy wastewaters, means biological treatment will work well; a low ratio suggests refractory or toxic content.
Theoretical oxygen demand (ThOD) is calculated from the chemical formula. For glucose, C6H12O6 + 6 O2 gives 6 CO2 + 6 H2O, so 180 g of glucose needs 192 g of oxygen: 1.07 g O2 per g. For lactose, C12H22O11 + 12 O2 gives 12 CO2 + 11 H2O, so 342 g needs 384 g: about 1.12 g O2 per g. Fats have a higher oxygen demand per gram than sugars, which is one reason milk fat losses matter so much in dairy effluent. Engineers convert concentration to load, the mass per day that a treatment plant or stream must handle: load in kg per day equals flow in cubic metres per day times concentration in mg/L divided by 1000. A dairy discharging 500 cubic metres per day at 1500 mg/L BOD sends 750 kg of BOD per day. Population equivalent compares this with domestic sewage: dividing the industrial BOD load by the BOD contributed per person per day. The per-person figure differs between countries and texts, so it must be stated; at 60 g per person per day, 750 kg per day is a population equivalent of 12,500 people. Food-processing wastewaters are typically far stronger than domestic sewage; whole milk itself has a BOD of the order of 100,000 mg/L, and whey is in the tens of thousands of mg/L, so preventing product loss is the first and cheapest treatment step.
Wastewater treatment is described in levels. Preliminary treatment removes large objects, grit and floating fat with screens, grit chambers and grease traps, and evens out flow and strength in an equalisation tank. Primary treatment removes settleable solids by gravity in sedimentation tanks or by dissolved air flotation, which suits fat-rich dairy and meat wastewaters because fats float. Secondary treatment is biological: microorganisms remove dissolved and colloidal organic matter, either aerobically (activated sludge, trickling filters, rotating biological contactors, aerated lagoons) or anaerobically (chapter 5). Tertiary or advanced treatment removes nitrogen, phosphorus, residual solids and pathogens by nitrification and denitrification, chemical precipitation, filtration and disinfection. Before any of this, food plants should reduce the load at source: recovering product, collecting first rinses and whey separately, dry-cleaning floors before washing, optimising cleaning-in-place, and segregating clean cooling water from process wastewater. Source reduction often cuts the size and running cost of the treatment plant more than any process choice.
Gravity settling is designed on the surface overflow rate, the flow divided by the plan area of the tank, in cubic metres per square metre per day, which has the units of a velocity. In an ideal settling basin, every particle whose settling velocity is greater than or equal to the overflow rate is removed completely, regardless of depth, which is why area, not depth, controls removal. Required area equals flow divided by the design overflow rate; depth then gives detention time. Example: 1200 cubic metres per day at an overflow rate of 24 cubic metres per square metre per day needs 50 square metres, a circular tank of about 8.0 m diameter. Secondary clarifiers after activated sludge are also checked for solids loading rate (kilograms of solids per square metre per day), because they must thicken the sludge as well as clarify the water. Design overflow and solids loading rates are taken from the design standard in use and are lower for peak flows than people expect.
In the activated sludge process, wastewater is aerated in a tank with a suspension of microorganisms called mixed liquor. The organisms oxidise part of the organic matter to carbon dioxide and water and convert part into new cells. The mixed liquor flows to a secondary clarifier where the biological floc settles; most of it is returned to the aeration tank as return activated sludge, and the excess produced each day is wasted. The key design and operating parameters are: the mixed liquor suspended solids (MLSS) or volatile suspended solids (MLVSS) concentration; the hydraulic retention time, tank volume divided by flow; the food-to-microorganism ratio, F/M = Q S0 / (V X), where Q is flow, S0 the influent BOD, V the tank volume and X the MLSS or MLVSS; and the mean cell residence time or solids retention time (SRT), the mass of solids in the system divided by the mass wasted per day. Ignoring solids in the effluent and wasting from the return line, SRT = V X / (Qw Xr). Long SRT and low F/M, as in extended aeration, give a well-oxidised, low-sludge, stable process that suits small, variable food-plant flows; short SRT and high F/M give compact tanks but more sludge and less stability. Oxygen must be supplied by diffused air or mechanical aerators to meet the carbonaceous demand and, if nitrification is required, the extra nitrogenous demand.
Take an aeration tank of 2000 cubic metres treating 1000 cubic metres per day at 800 mg/L BOD with MLSS of 3000 mg/L. The hydraulic retention time is 2000 / 1000 = 2 days, or 48 hours. F/M = (1000 times 800) / (2000 times 3000) = 0.13 kg BOD per kg MLSS per day, which is in the extended-aeration range. If 40 cubic metres per day of return sludge at 10,000 mg/L is wasted, SRT = (2000 times 3000) / (40 times 10,000) = 15 days. A mass balance on the clarifier, neglecting growth and effluent solids, gives the recycle ratio needed to hold MLSS: Qr / Q = X / (Xr minus X) = 3000 / 7000 = 0.43. Settleability is checked with the sludge volume index (SVI): the volume in millilitres occupied by one gram of sludge after 30 minutes of settling in a one-litre cylinder, SVI = settled volume (mL/L) times 1000 / MLSS (mg/L). A settled volume of 250 mL/L at 2500 mg/L MLSS gives SVI = 100 mL/g, generally regarded as good settling; values well above about 150 mL/g indicate bulking, often caused by filamentous organisms favoured by low dissolved oxygen, low F/M, nutrient deficiency or high sugar content, all common in food-plant wastewater. Food wastewaters can also lack nitrogen or phosphorus relative to BOD, and nutrients may have to be added.
Waste stabilisation ponds are shallow or deep earthen basins that treat wastewater by natural processes over long retention times. They are cheap to build and run and need little skill or energy, which makes them the default in warm climates where land is available. Three types are used in series. Anaerobic ponds are deep and heavily loaded; they settle solids and digest organic matter without oxygen and are designed on volumetric BOD loading in grams or kilograms of BOD per cubic metre per day, with allowable loads rising with temperature. Facultative ponds are shallower; an upper aerobic layer is kept oxygenated by algal photosynthesis and wind, while the bottom is anaerobic. They are designed on surface BOD loading in kilograms per hectare per day, because the oxygen supply comes from the surface, and the allowable loading rises with temperature. Maturation ponds are shallow and lightly loaded; they mainly remove pathogens through sunlight, high pH and long retention. Aerated lagoons use mechanical aerators to supply oxygen and are smaller than facultative ponds for the same load but use energy.
For a facultative pond, area equals BOD load divided by the allowable surface loading rate. A load of 300 kg BOD per day at an allowable 250 kg per hectare per day needs 1.2 hectares; a common slip is to divide by the wrong unit or to use the volumetric rate. For an anaerobic pond, volume equals BOD load divided by the allowable volumetric loading rate: 300 kg per day at 0.3 kg per cubic metre per day needs 1000 cubic metres; if the flow is 600 cubic metres per day, the retention time is about 1.7 days. Pond effluent is often estimated with a first-order, completely mixed model: Ce = C0 / (1 + k t), where k is a first-order rate constant per day and t the retention time. With C0 = 500 mg/L, k = 0.3 per day and t = 10 days, Ce = 500 / 4 = 125 mg/L, a 75 percent removal. For ponds in series, the equation is applied to each cell in turn, which shows why several smaller ponds in series outperform one large pond of the same total retention. Real ponds lie between plug flow and complete mixing, and design rate constants and loadings must be taken from the guideline adopted for the climate.
Dairy wastewater comes mainly from cleaning tanks, pipes and equipment, product spills, whey and buttermilk if not recovered, and floor washing. It is high in BOD and COD from lactose, protein and fat, varies sharply in pH because cleaning alternates caustic and acid solutions, and varies through the day. Typical treatment trains are screening, fat removal by a trap or dissolved air flotation, pH correction in an equalisation tank, then biological treatment (an anaerobic high-rate reactor followed by activated sludge, or activated sludge alone for smaller loads, or ponds where land is available), then polishing and sludge handling. Slaughterhouse wastewater adds blood, which has very high BOD and should be collected separately, and paunch contents. Fruit and vegetable plants have seasonal peaks and soil and peel solids; sugar mills and distilleries have very strong, often acidic effluents. Whatever the plant, the discharge limits for BOD, COD, suspended solids, oil and grease, pH and sometimes nutrients are set by national or local regulators and differ between discharge to a sewer, to surface water and to land; the engineer designs to the permit, not to a textbook number. Where effluent is irrigated onto land, the application rate is set by the most limiting of the soil's hydraulic capacity, the crop's nitrogen need, phosphorus and salt build-up and the organic load the soil can oxidise without odour, and crop-safety rules on effluent irrigation differ by country.
A nutrient management plan matches the nutrients applied to each field, from manure, compost, effluent and fertiliser, to what the crop needs, so that yield is protected and losses of nitrogen and phosphorus to water and air are kept low. In the United States, a Comprehensive Nutrient Management Plan (CNMP) for an animal feeding operation brings together manure and wastewater handling and storage, land treatment practices, nutrient management, record keeping, feed management and other utilisation options; nutrient management itself follows the NRCS conservation practice standard Code 590. In the European Union, the Nitrates Directive designates nitrate vulnerable zones, where action programmes limit livestock manure nitrogen to 170 kg N per hectare per year, unless a derogation is granted, and set closed periods for spreading. Other countries have their own rules or voluntary codes. The common framework, often called the 4R principle, is the right source, at the right rate, at the right time and in the right place. A plan contains farm maps, soil test results, manure analysis, realistic yield goals, nutrient budgets per field, application rates, timing and methods, setbacks from water, and records of what was actually done.
The rate is calculated from crop need and the nutrients the manure will actually supply. Only part of the total nitrogen in manure is available to the crop in the year of application: ammonium nitrogen is available if it is not lost as ammonia, while organic nitrogen mineralises slowly over several years. Availability factors depend on manure type, application method and timing, and are taken from local guidance. Example: a crop needs 150 kg of nitrogen per hectare from manure; the manure contains 5 kg total N per tonne, of which 50 percent is available in the first year, so it supplies 2.5 kg available N per tonne, and the nitrogen-based rate is 150 / 2.5 = 60 tonnes per hectare. The same manure with 3 kg P2O5 per tonne would supply 180 kg P2O5 per hectare at that rate, far more than a crop removing 30 kg P2O5 per hectare; a phosphorus-based rate would be 30 / 3 = 10 tonnes per hectare. Because manure's N to P ratio is usually lower than crops need, nitrogen-based rates build up soil phosphorus over time. Where soil phosphorus is high or the risk of loss is high, plans switch to phosphorus-based rates, which need much more land. The method matters too: splash-plate broadcasting loses the most ammonia, while band spreading with trailing hoses or shoes, injection, or prompt incorporation cut ammonia loss and odour, and spreaders must be calibrated (by weighing manure caught on sheets of known area, or from tank volume and area per load) so the applied rate matches the plan.
Phosphorus moves to water mainly attached to eroded soil particles and dissolved in runoff, so its risk depends on soil test phosphorus, application rate and method, erosion, runoff and distance to water. Many jurisdictions use a phosphorus index that scores these factors for each field to decide whether manure can be applied on a nitrogen or a phosphorus basis, or not at all. Nitrogen moves mainly as nitrate leaching through the soil to groundwater and as ammonia and nitrous oxide to air. The land base needed is the total available nutrient produced, after storage and handling losses, divided by the allowable rate per hectare; if the farm does not have enough land, manure must be exported, treated to remove nutrients, or the herd reduced. Timing matters as much as rate: application on frozen, snow-covered, saturated or flooded soil, or just before heavy rain, risks runoff, and many rules forbid it. Records of manure analyses, soil tests, application dates, rates, fields and weather allow the plan to be audited and improved, and are required by most regulatory schemes.
Agriculture emits several air pollutants. Ammonia (NH3) comes mainly from manure and urine and from nitrogen fertilisers, especially urea; it forms fine secondary particles with acid gases in the atmosphere, and its deposition acidifies and over-fertilises sensitive ecosystems. Hydrogen sulphide (H2S) comes from anaerobic manure storage; it smells of rotten eggs at very low concentrations, but at higher concentrations it paralyses the sense of smell, so a worker can no longer detect a rising, lethal level; disturbed slurry pits have caused many deaths. Methane (CH4) comes from enteric fermentation in ruminants and from anaerobic manure storage, and nitrous oxide (N2O) from soils and manure through nitrification and denitrification; both are potent greenhouse gases. Carbon dioxide accumulates in closed buildings. Particulate matter comes from feed, bedding, skin and feathers in livestock buildings, from field operations such as tillage and harvest, and from open burning. Workers in livestock buildings and grain handling face respiratory risks from dust and endotoxins. Occupational exposure limits for these gases are set by national agencies and differ between countries.
Ammonia release depends on the equilibrium between ammonium ion and free ammonia in solution. The fraction present as free ammonia is 1 / (1 + 10 to the power of (pKa minus pH)), with pKa near 9.25 at 25 degrees Celsius. At pH 9.25 half the total ammoniacal nitrogen is free ammonia; at pH 8 only about 5 percent; at pH 7 about 0.6 percent. Higher pH and higher temperature therefore increase emission, which is why acidifying slurry, cooling it, covering stores, reducing exposed surface and incorporating or injecting manure all reduce ammonia loss. Gas concentrations are reported in parts per million by volume or in milligrams per cubic metre. The conversion is mg/m3 = ppm times molecular weight divided by the molar volume, which is 24.45 litres per mole at 25 degrees Celsius and one atmosphere and 22.41 litres per mole at 0 degrees Celsius; the reference conditions must be stated. Thus 25 ppm of ammonia is 25 times 17.03 / 24.45 = 17.4 mg/m3 at 25 degrees Celsius. In a ventilated building at steady state, the concentration increase above incoming air equals the emission rate divided by the ventilation rate: 2 kg per hour of ammonia into 50,000 cubic metres per hour of air raises the concentration by 40 mg/m3.
Odour from livestock farms comes from a mixture of many compounds produced by incomplete anaerobic breakdown, including volatile fatty acids, phenols, indoles such as skatole, amines, and reduced sulphur compounds such as hydrogen sulphide and mercaptans. Because no single compound represents it, odour is measured by dynamic olfactometry with a trained human panel: a sample is diluted with clean air until half the panel can just detect it, and the number of dilutions gives the odour concentration in odour units per cubic metre (the European standard EN 13725 sets the method). Odour impact depends on strength, frequency, duration, offensiveness and location, often summarised as the FIDOL factors. Control works at every stage: diet formulation that reduces excess protein; keeping floors and animals clean; frequent manure removal; covers on stores; correctly loaded anaerobic treatment; composting instead of anaerobic stockpiling; low-emission spreading and incorporation; and treatment of exhaust air from buildings with biofilters, which pass air through a moist bed of wood chips or compost where microbes oxidise odorous compounds, or with acid scrubbers for ammonia. Separation distances between farms and neighbours, calculated by national or regional formulas, are a planning tool rather than a treatment.
Environmental impact assessment (EIA) is a systematic process to identify, predict and evaluate the environmental effects of a proposed project before a decision is made, and to design measures to avoid, reduce or offset them. The common stages are: screening, to decide whether a project needs an EIA and at what level; scoping, to identify the significant issues and alternatives to study; baseline study of the existing environment (air, water, soil, noise, ecology, land use and socio-economic conditions); impact prediction and evaluation of significance; consideration of alternatives, including site, technology and no project; mitigation; an environmental management plan with monitoring; public consultation; review by the authority; decision; and post-decision monitoring and audit. Projects relevant to agricultural engineers include large livestock units, food and dairy plants, distilleries and sugar mills, irrigation and drainage schemes, dams, biomass power plants and waste treatment facilities. The legal requirements differ greatly between countries: which projects need assessment, the thresholds, the categories, the timelines and the public hearing rules are all national, and they change over time.
Several standard methods help organise impact identification. Checklists list environmental factors to be considered; simple checklists only name them, while descriptive and scaling checklists add guidance or scores. Matrices cross project activities against environmental components; the best known, the Leopold matrix developed for the United States Geological Survey, scores each interaction for magnitude and importance on scales of 1 to 10. Networks trace chains of cause and effect, showing secondary and tertiary impacts, such as manure spreading leading to nitrate leaching leading to well contamination. Overlay maps, now done in geographic information systems, combine layers such as soils, slopes, water bodies and habitats to locate sensitive areas. Quantitative tools include air dispersion models, water quality models, noise models and life cycle assessment. Cumulative impact assessment considers the combined effect of the project with other existing and planned projects in the same area, which is important for clusters of livestock farms or processing plants in one catchment.
Agricultural environmental regulation uses several kinds of instrument. Command-and-control rules set limits: effluent discharge standards, permits for large animal feeding operations, minimum storage periods, closed spreading periods, setbacks from watercourses and wells, and bans on open burning. Planning controls decide where new facilities may be built. Economic instruments include pollution charges, payments for conservation practices and cost-sharing for manure storage. Information-based tools include nutrient plans, record keeping and labelling. Examples of frameworks include, in the United States, the National Environmental Policy Act (environmental assessments, findings of no significant impact and environmental impact statements), the Clean Water Act permit system for point sources, including large concentrated animal feeding operations, and total maximum daily loads for impaired waters; in the European Union, the EIA Directive and the Nitrates and Industrial Emissions Directives; and in many other countries, national EIA notifications, pollution control boards and effluent standards. Details, thresholds and limits differ by country and are revised often, so practitioners must always work from the current official text rather than from a textbook summary.
The circular economy aims to keep materials in use and return nutrients and carbon to productive cycles, replacing the take-make-dispose model. The waste hierarchy orders options: prevent waste first, then reuse, then recycle (including composting and anaerobic digestion with nutrient return), then recover energy, and only last dispose. Agro-industrial examples include whey processed into protein concentrates, lactose and drinks; fruit pomace and peel used for pectin, fibre and feed; oilseed cakes as feed; rice husk burned for steam and its ash used as a silica source; bagasse used for cogeneration and board; press mud and distillery spent wash used, after treatment, as soil amendments; manure digested for energy with digestate returned as fertiliser; and crop residues used for bioenergy, mushrooms or biochar. Industrial symbiosis links plants so that one's waste is another's raw material. Life cycle assessment, standardised in ISO 14040 and ISO 14044, compares the full environmental burdens of alternatives from raw material to disposal, which prevents a solution that improves one impact while worsening another unnoticed. Circular options succeed only where there is a stable market, consistent quality and regulatory approval for the recovered product, and where contaminants such as heavy metals, salts, pathogens and residues are controlled.
Learn to keep the basis straight: wet versus dry, total versus available nutrient, base-e versus base-10 rate constants, and concentration versus load. Practise C:N and moisture mixing, BOD from dilution data, F/M and SRT, clarifier and pond area, and manure rates from crop need until they take two minutes each. Learn the stages of composting, the levels of wastewater treatment and the EIA steps as sequences you can explain, not as lists. Visit an effluent treatment plant and a composting yard if you can.
A five-year engineer designs and troubleshoots: sizing manure stores and lagoons from measured flows, writing nutrient management plans field by field, setting up composting for a poultry or dairy farm, specifying a treatment train for a food plant from a flow and load survey, and calibrating spreaders. Typical decisions are whether to separate solids before a lagoon, whether low-emission spreading is required, how to cut a plant's load at source before adding treatment capacity, and how to respond when a lagoon turns sour or a clarifier bulks. They prepare permit applications and the environmental sections of project reports, always from the current local rules.
A senior engineer with twenty-five years of practice plans at the scale of a company, a cluster or a region: the residue collection chain that feeds a biomass plant, centralised digestion or composting for a district of farms, effluent strategy across several food factories, and the environmental impact assessment of large projects. They weigh capital and operating cost against risk, negotiate with regulators and communities over odour and water quality, and judge when a proven simple system (ponds, land application) beats a complex one. They review designs for basis errors and unrealistic loading rates.
A researcher with long field experience works on the open questions: emission factors for ammonia, methane, nitrous oxide and particles from real farms and residue fires; nitrogen availability from manures and digestates under local soils and climates; kinetics and microbiology of composting and anaerobic treatment of new feedstocks; nutrient recovery as struvite, ammonium salts or concentrated fertilisers; fate of antibiotics, resistance genes and microplastics in manure and compost; and life cycle and techno-economic comparisons of residue and manure routes. They design long-term field and pilot trials, build models for national inventories and policy, and are careful to separate measured effects from claims, especially for proprietary additives and microbial products.
This manual gives principles and example calculations, not national design tables. It does not reproduce country-specific manure production values, lagoon loading-rate maps, effluent discharge limits, occupational exposure limits, residue-burning emission factors or EIA project thresholds, because these vary by country and are revised; the reader must use the current local standard. Nitrification-denitrification and phosphorus-removal design, trickling filter and constructed wetland sizing, sludge treatment, air dispersion modelling and detailed Philippine, Indian and other national law are introduced only in outline. Biogas plant types and digester sizing are in the bioenergy-systems subject.
Original practice questions written to the syllabus and pattern of the exams named in each question's examTags. They are not past papers and do not reproduce any board's questions.
These notes are free to read here, with no account.
What the Laisha app adds:
Free for ten days, then a subscription. We would rather write that here than have you find it later.