{"permit":"SC0038504","name":"HARLEYVILLE TOWN OF","state":"SC","as_of":"2026-10-22","source":{"publisher":"U.S. EPA — ECHO / ICIS-NPDES national file","as_of":"2026-10-22","page":"/dmr/p/SC0038504"},"about":[{"label":"What it is","text":"Sewage treatment plant"},{"label":"Where","text":"Harleyville, South Carolina","href":"https://www.openstreetmap.org/?mlat=33.2101&mlon=-80.4592#map=14/33.2101/-80.4592"},{"label":"Last 12 months","text":"Over a limit 8 times, last in August 2026 (Nitrogen, ammonia total [as N]; E. coli; Oxygen, dissolved [DO]). 1 required value not reported. 2 of 14 reports filed late"},{"label":"Permit","text":"In force until Dec 31, 2028"}],"renewal_due":null,"renewal_check":null,"sector":null,"limits_from_version":null,"record":{"last_filed":"2026-08-31","over":8,"over_by":[["Nitrogen, ammonia total [as N]",4],["E. coli",2],["Oxygen, dissolved [DO]",2]],"window":["2025-10-01","2026-09-30"]},"over_limits":[{"parameter":"Nitrogen, ammonia total [as N]","times":4,"find_limits":{"parameter":"ammonia","place":"US-SC","medium":"surface_water"},"get":"https://passage-data.com/api/v1/limits?parameter=ammonia&place=US-SC&medium=surface_water"}],"upcoming":[{"parameter":"BOD, 5-day, 20 deg. C","outfall":"001","limit":9.27,"unit":"mg/L","statistic":"monthly average","statistic_code":"MK","begin":"2028-11-01","kind":"tighter","now":{"median":2,"n":11},"times_limit":0.216},{"parameter":"BOD, 5-day, 20 deg. C","outfall":"001","limit":17.4,"unit":"lb/d","statistic":"monthly average","statistic_code":"MK","begin":"2028-11-01","kind":"tighter","now":{"median":1.61,"n":11},"times_limit":0.0925},{"parameter":"BOD, 5-day, 20 deg. C","outfall":"001","limit":26,"unit":"lb/d","statistic":"weekly average","statistic_code":"WA","begin":"2028-11-01","kind":"tighter","now":{"median":2.19,"n":11},"times_limit":0.0842},{"parameter":"BOD, 5-day, 20 deg. C","outfall":"001","limit":14,"unit":"mg/L","statistic":"weekly average","statistic_code":"WA","begin":"2028-11-01","kind":"tighter","now":{"median":2,"n":11},"times_limit":0.143}],"limits":[{"outfall":"001","parameter":"Oxygen demand, ultimate","parameter_code":"00181","statistic":"monthly average","qualifier":"<=","value":"26.95","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Oxygen demand, ultimate","parameter_code":"00181","statistic":"weekly average","qualifier":"<=","value":"26.95","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Oxygen, dissolved [DO]","parameter_code":"00300","statistic":"minimum","qualifier":">=","value":"6","unit":"mg/L","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"BOD, 5-day, 20 deg. C","parameter_code":"00310","statistic":"monthly average","qualifier":"<=","value":"15","unit":"mg/L","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"BOD, 5-day, 20 deg. C","parameter_code":"00310","statistic":"weekly average","qualifier":"<=","value":"22.5","unit":"mg/L","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"BOD, 5-day, 20 deg. C","parameter_code":"00310","statistic":"monthly average","qualifier":"<=","value":"19","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"BOD, 5-day, 20 deg. C","parameter_code":"00310","statistic":"weekly average","qualifier":"<=","value":"29","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"pH","parameter_code":"00400","statistic":"minimum","qualifier":">=","value":"6","unit":"SU","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"pH","parameter_code":"00400","statistic":"maximum","qualifier":"<=","value":"8.5","unit":"SU","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Solids, total suspended","parameter_code":"00530","statistic":"monthly average","qualifier":"<=","value":"30","unit":"mg/L","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Solids, total suspended","parameter_code":"00530","statistic":"weekly average","qualifier":"<=","value":"45","unit":"mg/L","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Solids, total suspended","parameter_code":"00530","statistic":"monthly average","qualifier":"<=","value":"38","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Solids, total suspended","parameter_code":"00530","statistic":"weekly average","qualifier":"<=","value":"57","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, total [as N]","parameter_code":"00600","statistic":"monthly average","qualifier":null,"value":null,"unit":"mg/L","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Nitrogen, total [as N]","parameter_code":"00600","statistic":"weekly average","qualifier":null,"value":null,"unit":"mg/L","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Nitrogen, total [as N]","parameter_code":"00600","statistic":"monthly average","qualifier":null,"value":null,"unit":"lb/d","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Nitrogen, total [as N]","parameter_code":"00600","statistic":"weekly average","qualifier":null,"value":null,"unit":"lb/d","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"monthly average","qualifier":"<=","value":"2.1","unit":"mg/L","report_only":false,"enforceable":true,"months":["JAN","FEB","NOV","DEC"],"limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"monthly average","qualifier":"<=","value":"2.05","unit":"mg/L","report_only":false,"enforceable":true,"months":["MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT"],"limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"weekly average","qualifier":"<=","value":"3.15","unit":"mg/L","report_only":false,"enforceable":true,"months":["JAN","FEB","NOV","DEC"],"limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"weekly average","qualifier":"<=","value":"3.07","unit":"mg/L","report_only":false,"enforceable":true,"months":["MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT"],"limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"monthly average","qualifier":"<=","value":"3","unit":"lb/d","report_only":false,"enforceable":true,"months":["JAN","FEB","NOV","DEC"],"limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"monthly average","qualifier":"<=","value":"3","unit":"lb/d","report_only":false,"enforceable":true,"months":["MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT"],"limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"weekly average","qualifier":"<=","value":"5","unit":"lb/d","report_only":false,"enforceable":true,"months":["JAN","FEB","NOV","DEC"],"limit_set":"0011"},{"outfall":"001","parameter":"Nitrogen, ammonia total [as N]","parameter_code":"00610","statistic":"weekly average","qualifier":"<=","value":"5","unit":"lb/d","report_only":false,"enforceable":true,"months":["MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT"],"limit_set":"0011"},{"outfall":"001","parameter":"Phosphorus, total [as P]","parameter_code":"00665","statistic":"monthly average","qualifier":null,"value":null,"unit":"mg/L","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Phosphorus, total [as P]","parameter_code":"00665","statistic":"weekly average","qualifier":null,"value":null,"unit":"mg/L","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Phosphorus, total [as P]","parameter_code":"00665","statistic":"monthly average","qualifier":null,"value":null,"unit":"lb/d","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Phosphorus, total [as P]","parameter_code":"00665","statistic":"weekly average","qualifier":null,"value":null,"unit":"lb/d","report_only":true,"enforceable":true,"months":"all","limit_set":"0012"},{"outfall":"001","parameter":"Flow, in conduit or thru treatment plant","parameter_code":"50050","statistic":"monthly average","qualifier":null,"value":null,"unit":"MGD","report_only":true,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Flow, in conduit or thru treatment plant","parameter_code":"50050","statistic":"weekly average","qualifier":null,"value":null,"unit":"MGD","report_only":true,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Chlorine, total residual","parameter_code":"50060","statistic":"monthly average","qualifier":"<=","value":".011","unit":"mg/L","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Chlorine, total residual","parameter_code":"50060","statistic":"daily maximum","qualifier":"<=","value":".019","unit":"mg/L","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Chlorine, total residual","parameter_code":"50060","statistic":"monthly average","qualifier":"<=","value":".014","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Chlorine, total residual","parameter_code":"50060","statistic":"daily maximum","qualifier":"<=","value":".021","unit":"lb/d","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"E. coli","parameter_code":"51040","statistic":"30-day geometric mean","qualifier":"<=","value":"126","unit":"MPN/100mL","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"E. coli","parameter_code":"51040","statistic":"daily maximum","qualifier":"<=","value":"349","unit":"MPN/100mL","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"E. coli","parameter_code":"51040","statistic":"30-day geometric mean","qualifier":"<=","value":"126","unit":"MPN/100mL","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"E. coli","parameter_code":"51040","statistic":"daily maximum","qualifier":"<=","value":"800","unit":"MPN/100mL","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"BOD, 5-day, percent removal","parameter_code":"81010","statistic":"monthly average minimum","qualifier":">=","value":"85","unit":"%","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"},{"outfall":"001","parameter":"Solids, suspended percent removal","parameter_code":"81011","statistic":"monthly average minimum","qualifier":">=","value":"85","unit":"%","report_only":false,"enforceable":true,"months":"all","limit_set":"0011"}],"next":[{"tool":"find_limits","says":"What do the rules say about what it went over on? find_limits gives the cited state and federal limits for it, each with its rule; `get` is the address to fetch, and `over_limits` holds one for each parameter.","arguments":{"parameter":"ammonia","place":"US-SC","medium":"surface_water"},"needs":{},"get":"https://passage-data.com/api/v1/limits?parameter=ammonia&place=US-SC&medium=surface_water","url":"https://passage-data.com/api/v1/limits?parameter=ammonia&place=US-SC&medium=surface_water","page":"https://passage-data.com/limits/US-SC/ammonia"},{"tool":"check_dmr","says":"Before your user files this permit's DMR: check_dmr sets each value beside the permit's limit for that period, with EPA's violation rule's verdict.","arguments":{"permit":"SC0038504"},"needs":{"period_end":"The reporting period: its month (2026-09).","values":"The period's values as your user will file them: [{outfall, parameter, statistic, value, unit}, ...]."},"post":"/api/v1/dmr/check","url":"https://passage-data.com/api/v1/dmr/check","page":"https://passage-data.com/dmr/?permit=SC0038504"},{"tool":"fill_dmr","says":"Has your user the plant's raw daily results? fill_dmr computes the period's DMR values from them, each with the rows it came from.","arguments":{"permit":"SC0038504"},"needs":{"period_end":"The reporting period: its month (2026-09).","rows":"The plant's results: [{date, parameter, value, unit, point}, ...]; or `table`, the lab's or plant's export as text."},"post":"/api/v1/dmr/fill","url":"https://passage-data.com/api/v1/dmr/fill","page":"https://passage-data.com/dmr/?permit=SC0038504"}]}