{"id":4037,"date":"2026-04-28T03:19:18","date_gmt":"2026-04-28T03:19:18","guid":{"rendered":"https:\/\/bbpmfg.com\/?page_id=4037"},"modified":"2026-04-28T03:31:57","modified_gmt":"2026-04-28T03:31:57","slug":"chemical-dosing-accuracy-cost-estimator","status":"publish","type":"page","link":"https:\/\/bbpmfg.com\/ar\/chemical-pumps\/chemical-metering-pump\/chemical-dosing-accuracy-cost-estimator\/","title":{"rendered":"\u0645\u0642\u062f\u0631 \u062a\u0643\u0644\u0641\u0629 \u062f\u0642\u0629 \u0627\u0644\u062c\u0631\u0639\u0627\u062a \u0627\u0644\u0643\u064a\u0645\u064a\u0627\u0626\u064a\u0629"},"content":{"rendered":"\n<div class=\"wp-block-stackable-columns alignfull stk-block-columns stk-block stk-f11520d\" data-block-id=\"f11520d\"><div class=\"stk-row stk-inner-blocks stk-block-content stk-content-align stk-f11520d-column alignfull\">\n<div class=\"wp-block-stackable-column stk-block-column stk-column stk-block stk-5fb41df\" data-v=\"4\" data-block-id=\"5fb41df\"><style>.stk-5fb41df-container{margin-top:var(--stk--preset--spacing--50, 1.5rem) !important;margin-right:var(--stk--preset--spacing--50, 1.5rem) !important;margin-bottom:var(--stk--preset--spacing--50, 1.5rem) !important;margin-left:var(--stk--preset--spacing--50, 1.5rem) !important;}<\/style><div class=\"stk-column-wrapper stk-block-column__content stk-container stk-5fb41df-container stk--no-background stk--no-padding\"><div class=\"has-text-align-center stk-block-content stk-inner-blocks stk-5fb41df-inner-blocks\"><div class=\"ct-breadcrumbs\" data-source=\"rankmath\" ><nav aria-label=\"breadcrumbs\" class=\"rank-math-breadcrumb\"><p><span class=\"last\">Home<\/span><\/p><\/nav><\/div><\/div><\/div><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-stackable-columns alignfull stk-block-columns stk-block stk-3385f36\" data-block-id=\"3385f36\"><div class=\"stk-row stk-inner-blocks stk-block-content stk-content-align stk-3385f36-column alignfull\">\n<div class=\"wp-block-stackable-column stk-block-column stk-column stk-block stk-76ce77c\" data-v=\"4\" data-block-id=\"76ce77c\"><div class=\"stk-column-wrapper stk-block-column__content stk-container stk-76ce77c-container stk--no-background stk--no-padding\"><div class=\"stk-block-content stk-inner-blocks stk-76ce77c-inner-blocks\">\n<style>\n@import url('https:\/\/fonts.googleapis.com\/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');\n\n\/* ============================================================\n   1. ISOLATION & FULL-BLEED BACKGROUND\n   ============================================================ *\/\n#bbp-calculator-module {\n    width: 100% !important;\n    background-color: #f4f7f9 !important; \/* Soft industrial background to prevent white space *\/\n    padding: 70px 30px !important;\n    font-family: 'Inter', sans-serif !important;\n    box-sizing: border-box !important;\n    overflow: hidden !important;\n    border-top: 4px solid #1848C0 !important;\n}\n\n#bbp-calculator-module * {\n    box-sizing: border-box !important;\n}\n\n\/* ============================================================\n   2. CONTAINER & GRID LAYOUT\n   ============================================================ *\/\n#bbp-calculator-module .bbp-container {\n    max-width: 1600px !important;\n    margin: 0 auto !important;\n    display: grid !important;\n    grid-template-columns: 1fr 1fr !important;\n    gap: 50px !important;\n    align-items: stretch !important;\n}\n\n\/* ============================================================\n   3. TYPOGRAPHY & HEADERS\n   ============================================================ *\/\n#bbp-calculator-module h2.bbp-calc-title {\n    font-size: 32px !important; \/* Default Blocksy requirement *\/\n    color: #111827 !important;\n    font-weight: 800 !important;\n    line-height: 1.2 !important;\n    margin: 0 0 15px 0 !important;\n    letter-spacing: -0.5px !important;\n}\n\n#bbp-calculator-module .bbp-intro-text {\n    font-size: 16px !important;\n    color: #475569 !important;\n    line-height: 1.6 !important;\n    margin: 0 0 30px 0 !important;\n}\n\n\/* ============================================================\n   4. LEFT COLUMN: INPUT FORM\n   ============================================================ *\/\n#bbp-calculator-module .bbp-input-panel {\n    background: #ffffff !important;\n    padding: 40px !important;\n    border: 1px solid #e2e8f0 !important;\n    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;\n    display: flex !important;\n    flex-direction: column !important;\n    justify-content: space-between !important;\n}\n\n#bbp-calculator-module .bbp-form-grid {\n    display: grid !important;\n    grid-template-columns: 1fr 1fr !important;\n    gap: 24px !important;\n    margin-bottom: 30px !important;\n}\n\n#bbp-calculator-module .bbp-field {\n    display: flex !important;\n    flex-direction: column !important;\n    gap: 10px !important;\n}\n\n#bbp-calculator-module .bbp-field.full {\n    grid-column: 1 \/ -1 !important;\n}\n\n#bbp-calculator-module label {\n    font-size: 12px !important;\n    font-weight: 700 !important;\n    color: #1848C0 !important;\n    text-transform: uppercase !important;\n    letter-spacing: 0.5px !important;\n}\n\n#bbp-calculator-module .bbp-inp-wrapper {\n    position: relative !important;\n}\n\n#bbp-calculator-module .bbp-inp-prefix {\n    position: absolute !important;\n    left: 16px !important;\n    top: 50% !important;\n    transform: translateY(-50%) !important;\n    font-family: 'IBM Plex Mono', monospace !important;\n    font-size: 16px !important;\n    color: #64748b !important;\n    font-weight: 600 !important;\n    pointer-events: none !important;\n}\n\n#bbp-calculator-module .bbp-inp {\n    height: 54px !important;\n    width: 100% !important;\n    border: 2px solid #e2e8f0 !important;\n    background: #f8fafc !important;\n    color: #0f172a !important;\n    font-family: 'IBM Plex Mono', monospace !important;\n    font-size: 18px !important;\n    font-weight: 600 !important;\n    padding: 0 16px 0 35px !important;\n    outline: none !important;\n    transition: all 0.3s ease !important;\n}\n\n#bbp-calculator-module .bbp-inp:focus {\n    border-color: #1848C0 !important;\n    background: #ffffff !important;\n    box-shadow: 0 0 0 4px rgba(24, 72, 192, 0.1) !important;\n}\n\n#bbp-calculator-module .bbp-hint {\n    font-size: 12px !important;\n    color: #64748b !important;\n    line-height: 1.5 !important;\n}\n\n\/* Slider Customization *\/\n#bbp-calculator-module .bbp-slider-val {\n    font-family: 'IBM Plex Mono', monospace !important;\n    font-size: 28px !important;\n    font-weight: 700 !important;\n    color: #1848C0 !important;\n    margin-bottom: 10px !important;\n}\n\n#bbp-calculator-module .bbp-slider-val span {\n    font-size: 14px !important;\n    font-weight: 500 !important;\n    color: #64748b !important;\n    font-family: 'Inter', sans-serif !important;\n}\n\n#bbp-calculator-module input[type=\"range\"] {\n    width: 100% !important;\n    height: 8px !important;\n    -webkit-appearance: none !important;\n    appearance: none !important;\n    background: #e2e8f0 !important;\n    border-radius: 4px !important;\n    outline: none !important;\n    cursor: pointer !important;\n}\n\n#bbp-calculator-module input[type=\"range\"]::-webkit-slider-thumb {\n    -webkit-appearance: none !important;\n    width: 24px !important;\n    height: 24px !important;\n    background: #1848C0 !important;\n    border: 3px solid #F0C018 !important;\n    border-radius: 50% !important;\n    cursor: pointer !important;\n    transition: transform 0.1s ease !important;\n}\n\n#bbp-calculator-module input[type=\"range\"]::-webkit-slider-thumb:hover {\n    transform: scale(1.2) !important;\n}\n\n#bbp-calculator-module .bbp-slider-labels {\n    display: flex !important;\n    justify-content: space-between !important;\n    font-family: 'IBM Plex Mono', monospace !important;\n    font-size: 11px !important;\n    color: #94a3b8 !important;\n    margin-top: 8px !important;\n    font-weight: 600 !important;\n}\n\n\/* ============================================================\n   5. RIGHT COLUMN: DASHBOARD RESULTS\n   ============================================================ *\/\n#bbp-calculator-module .bbp-result-panel {\n    background: #ffffff !important;\n    border: 1px solid #e2e8f0 !important;\n    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;\n    display: flex !important;\n    flex-direction: column !important;\n    \/* Keeps layout stable before calculation *\/\n    opacity: 0.4 !important; \n    pointer-events: none !important;\n    transition: opacity 0.5s ease !important;\n}\n\n#bbp-calculator-module .bbp-result-panel.show {\n    opacity: 1 !important;\n    pointer-events: auto !important;\n    border-top: 4px solid #1848C0 !important;\n}\n\n#bbp-calculator-module .bbp-kpi-grid {\n    display: grid !important;\n    grid-template-columns: repeat(2, 1fr) !important;\n}\n\n#bbp-calculator-module .bbp-kpi-card {\n    padding: 30px !important;\n    border-bottom: 1px solid #e2e8f0 !important;\n    border-right: 1px solid #e2e8f0 !important;\n    display: flex !important;\n    flex-direction: column !important;\n    justify-content: center !important;\n}\n\n#bbp-calculator-module .bbp-kpi-card.highlight {\n    background: #1848C0 !important;\n    grid-column: 1 \/ -1 !important; \/* Full width for emphasis *\/\n    border-right: none !important;\n}\n\n#bbp-calculator-module .bbp-kpi-val {\n    font-family: 'IBM Plex Mono', monospace !important;\n    font-size: 36px !important;\n    font-weight: 700 !important;\n    color: #111827 !important;\n    line-height: 1 !important;\n    margin-bottom: 8px !important;\n}\n\n#bbp-calculator-module .bbp-kpi-card.highlight .bbp-kpi-val {\n    color: #F0C018 !important;\n    font-size: 48px !important;\n}\n\n#bbp-calculator-module .bbp-kpi-label {\n    font-size: 14px !important;\n    color: #475569 !important;\n    font-weight: 600 !important;\n    line-height: 1.4 !important;\n}\n\n#bbp-calculator-module .bbp-kpi-card.highlight .bbp-kpi-label {\n    color: #ffffff !important;\n}\n\n\/* Progress Bars *\/\n#bbp-calculator-module .bbp-bars-wrap {\n    padding: 30px !important;\n    flex-grow: 1 !important;\n}\n\n#bbp-calculator-module h4.bbp-bar-title {\n    font-size: 16px !important;\n    color: #111827 !important;\n    margin: 0 0 20px 0 !important;\n    font-weight: 700 !important;\n}\n\n#bbp-calculator-module .bbp-bar-row {\n    margin-bottom: 20px !important;\n}\n\n#bbp-calculator-module .bbp-bar-meta {\n    font-size: 13px !important;\n    color: #475569 !important;\n    font-weight: 600 !important;\n    display: flex !important;\n    justify-content: space-between !important;\n    margin-bottom: 8px !important;\n}\n\n#bbp-calculator-module .bbp-bar-track {\n    height: 32px !important;\n    background: #f1f5f9 !important;\n    position: relative !important;\n    overflow: hidden !important;\n}\n\n#bbp-calculator-module .bbp-bar-fill {\n    height: 100% !important;\n    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;\n    display: flex !important;\n    align-items: center !important;\n    padding-left: 12px !important;\n}\n\n#bbp-calculator-module .bbp-fill-current { background: #ef4444 !important; }\n#bbp-calculator-module .bbp-fill-bbp { background: #10b981 !important; }\n\n#bbp-calculator-module .bbp-bar-text {\n    font-family: 'IBM Plex Mono', monospace !important;\n    font-size: 12px !important;\n    font-weight: 700 !important;\n    color: #ffffff !important;\n}\n\n\/* Result Note *\/\n#bbp-calculator-module .bbp-result-note {\n    font-size: 14px !important;\n    color: #334155 !important;\n    line-height: 1.6 !important;\n    background: #f8fafc !important;\n    padding: 20px !important;\n    border-left: 4px solid #F0C018 !important;\n    margin: 0 30px 20px 30px !important;\n}\n\n#bbp-calculator-module .bbp-disclaimer {\n    font-size: 11px !important;\n    color: #94a3b8 !important;\n    margin: 0 30px 30px 30px !important;\n    line-height: 1.5 !important;\n}\n\n\/* ============================================================\n   6. BUTTONS & FOLDED CORNERS\n   ============================================================ *\/\n#bbp-calculator-module .bbp-btn {\n    display: inline-flex !important;\n    align-items: center !important;\n    justify-content: center !important;\n    text-decoration: none !important;\n    padding: 18px 32px !important;\n    font-size: 15px !important;\n    font-weight: 800 !important;\n    text-transform: uppercase !important;\n    letter-spacing: 0.5px !important;\n    cursor: pointer !important;\n    border: none !important;\n    transition: all 0.3s ease !important;\n    width: 100% !important;\n    \/* Exact folded corner implementation *\/\n    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px) !important;\n}\n\n#bbp-calculator-module .bbp-btn-primary {\n    background-color: #1848C0 !important;\n    color: #ffffff !important;\n    margin-top: 20px !important;\n}\n\n#bbp-calculator-module .bbp-btn-primary:hover {\n    background-color: #F0C018 !important;\n    color: #111827 !important;\n}\n\n#bbp-calculator-module .bbp-btn-secondary {\n    background-color: #F0C018 !important;\n    color: #111827 !important;\n    margin: 0 30px 30px 30px !important;\n    width: calc(100% - 60px) !important;\n}\n\n#bbp-calculator-module .bbp-btn-secondary:hover {\n    background-color: #1848C0 !important;\n    color: #ffffff !important;\n}\n\n#bbp-calculator-module .bbp-err-msg {\n    display: none !important;\n    background: #fef2f2 !important;\n    border-left: 4px solid #ef4444 !important;\n    color: #b91c1c !important;\n    padding: 12px 16px !important;\n    font-size: 14px !important;\n    font-weight: 600 !important;\n    margin-top: 20px !important;\n}\n\n#bbp-calculator-module .bbp-err-msg.show {\n    display: block !important;\n}\n\n\/* ============================================================\n   7. RESPONSIVE DESIGN\n   ============================================================ *\/\n@media (max-width:1000px) {\n    #bbp-calculator-module .bbp-container {\n        grid-template-columns: 1fr !important;\n        gap: 30px !important;\n    }\n    #bbp-calculator-module .bbp-result-panel {\n        opacity: 1 !important; \/* Make visible on mobile immediately *\/\n        pointer-events: auto !important;\n    }\n}\n\n@media (max-width:690px) {\n    #bbp-calculator-module {\n        padding: 40px 20px !important;\n    }\n    #bbp-calculator-module .bbp-input-panel {\n        padding: 24px !important;\n    }\n    #bbp-calculator-module .bbp-form-grid {\n        grid-template-columns: 1fr !important;\n    }\n    #bbp-calculator-module .bbp-kpi-grid {\n        grid-template-columns: 1fr !important;\n    }\n    #bbp-calculator-module .bbp-kpi-card {\n        border-right: none !important;\n    }\n}\n<\/style>\n\n<section id=\"bbp-calculator-module\">\n    <div class=\"bbp-container\">\n        \n        <div class=\"bbp-input-panel\">\n            <div>\n                <h2 class=\"bbp-calc-title\">Chemical Dosing Accuracy Cost Estimator<\/h2>\n                <p class=\"bbp-intro-text\">Inaccurate dosing systems waste chemical budget on every shift \u2014 the loss is systematic, not occasional. Enter your annual chemical spend and current system error to see the recoverable budget and how quickly a precision metering pump pays for itself.<\/p>\n\n                <div class=\"bbp-form-grid\">\n                    <div class=\"bbp-field full\">\n                        <label for=\"dce-spend\">Annual Chemical Spend<\/label>\n                        <div class=\"bbp-inp-wrapper\">\n                            <span class=\"bbp-inp-prefix\">$<\/span>\n                            <input type=\"number\" id=\"dce-spend\" class=\"bbp-inp\" min=\"1000\" max=\"50000000\" step=\"1000\" placeholder=\"e.g. 120000\">\n                        <\/div>\n                        <span class=\"bbp-hint\">Total annual spend on dosed chemicals (chlorine, polymer, coagulant, inhibitor, etc.).<\/span>\n                    <\/div>\n\n                    <div class=\"bbp-field full\">\n                        <label for=\"dce-pump\">Replacement Pump Budget<\/label>\n                        <div class=\"bbp-inp-wrapper\">\n                            <span class=\"bbp-inp-prefix\">$<\/span>\n                            <input type=\"number\" id=\"dce-pump\" class=\"bbp-inp\" min=\"100\" max=\"500000\" step=\"100\" placeholder=\"e.g. 3500\">\n                        <\/div>\n                        <span class=\"bbp-hint\">Estimated purchase price for a precision metering pump. Used to calculate payback period.<\/span>\n                    <\/div>\n\n                    <div class=\"bbp-field full\" style=\"margin-top: 15px !important;\">\n                        <label>Current Dosing System Error Estimate (%)<\/label>\n                        <div class=\"bbp-slider-val\" id=\"dce-slider-display\">5% <span>error \u2014 typical worn solenoid<\/span><\/div>\n                        <input type=\"range\" id=\"dce-error\" min=\"1\" max=\"20\" step=\"1\" value=\"5\">\n                        <div class=\"bbp-slider-labels\">\n                            <span>1%<\/span><span>5%<\/span><span>10%<\/span><span>15%<\/span><span>20%<\/span>\n                        <\/div>\n                        <span class=\"bbp-hint\" style=\"margin-top: 10px !important;\">Plus or minus 1% is the precision metering pump standard. Worn or poorly maintained pumps typically drift to 5-15% error. Over-injection is the most common failure mode.<\/span>\n                    <\/div>\n                <\/div>\n            <\/div>\n\n            <div>\n                <button type=\"button\" class=\"bbp-btn bbp-btn-primary\" id=\"bbp-trigger-calc\">Calculate Annual Waste &#038; Payback<\/button>\n                <div class=\"bbp-err-msg\" id=\"dce-err\">Please enter both annual chemical spend and pump budget to continue.<\/div>\n            <\/div>\n        <\/div>\n\n        <div class=\"bbp-result-panel\" id=\"dce-result\">\n            <div class=\"bbp-kpi-grid\">\n                <div class=\"bbp-kpi-card highlight\">\n                    <span class=\"bbp-kpi-val\" id=\"dce-savings\">$0<\/span>\n                    <span class=\"bbp-kpi-label\">Recoverable savings per year at \u00b11% precision<\/span>\n                <\/div>\n                <div class=\"bbp-kpi-card\">\n                    <span class=\"bbp-kpi-val\" id=\"dce-waste\">$0<\/span>\n                    <span class=\"bbp-kpi-label\">Annual chemical waste at current error rate<\/span>\n                <\/div>\n                <div class=\"bbp-kpi-card\">\n                    <span class=\"bbp-kpi-val\" id=\"dce-payback\">0 mo<\/span>\n                    <span class=\"bbp-kpi-label\">Pump payback period from chemical savings alone<\/span>\n                <\/div>\n            <\/div>\n\n            <div class=\"bbp-bars-wrap\">\n                <h4 class=\"bbp-bar-title\">Annual Chemical Spend Breakdown<\/h4>\n                \n                <div class=\"bbp-bar-row\">\n                    <div class=\"bbp-bar-meta\">\n                        <span>Current system \u2014 annual spend<\/span>\n                        <span id=\"dce-bar-current-val\">$0<\/span>\n                    <\/div>\n                    <div class=\"bbp-bar-track\">\n                        <div class=\"bbp-bar-fill bbp-fill-current\" id=\"dce-bar-current\" style=\"width: 100%\">\n                            <span class=\"bbp-bar-text\" id=\"dce-bar-current-txt\">0% error<\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <div class=\"bbp-bar-row\">\n                    <div class=\"bbp-bar-meta\">\n                        <span>With \u00b11% precision pump \u2014 projected<\/span>\n                        <span id=\"dce-bar-bbp-val\">$0<\/span>\n                    <\/div>\n                    <div class=\"bbp-bar-track\">\n                        <div class=\"bbp-bar-fill bbp-fill-bbp\" id=\"dce-bar-bbp\" style=\"width: 0%\">\n                            <span class=\"bbp-bar-text\" id=\"dce-bar-bbp-txt\">\u00b11% precision<\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n\n            <div class=\"bbp-result-note\" id=\"dce-note\">Awaiting calculation. Please input your data on the left.<\/div>\n            <p class=\"bbp-disclaimer\">Estimates based on proportional error-to-waste model. Actual savings depend on chemical type, operating conditions, and system calibration. Request a custom TCO analysis for application-specific figures.<\/p>\n            \n            <a href=\"#ct-popup-820\" class=\"bbp-btn bbp-btn-secondary\">Request Custom TCO Analysis<\/a>\n        <\/div>\n\n    <\/div>\n<\/section>\n\n<script>\ndocument.addEventListener('DOMContentLoaded', function() {\n    \n    \/\/ Elements mapping\n    const slider = document.getElementById('dce-error');\n    const sliderDisplay = document.getElementById('dce-slider-display');\n    const btnCalc = document.getElementById('bbp-trigger-calc');\n    const inputSpend = document.getElementById('dce-spend');\n    const inputPump = document.getElementById('dce-pump');\n    const errEl = document.getElementById('dce-err');\n    const resPanel = document.getElementById('dce-result');\n    \n    const dceLabels = {\n        1: '1% \u2014 precision target (baseline)',\n        2: '2% \u2014 slight calibration drift',\n        3: '3% \u2014 minor drift, serviceable',\n        5: '5% \u2014 typical worn solenoid',\n        8: '8% \u2014 poorly maintained unit',\n        10: '10% \u2014 calibration failure',\n        15: '15% \u2014 severely degraded',\n        20: '20% \u2014 near complete accuracy loss'\n    };\n\n    \/\/ Slider Event Listener\n    slider.addEventListener('input', function() {\n        let val = parseInt(this.value);\n        let lbl = dceLabels[val];\n        if (!lbl) {\n            lbl = val + '% \u2014 estimate';\n        }\n        let parts = lbl.split(' \u2014 ');\n        let suffix = parts[1] || lbl;\n        sliderDisplay.innerHTML = val + '% <span>error \u2014 ' + suffix + '<\/span>';\n    });\n\n    \/\/ Formatting currency\n    function dceFmt(n) {\n        if (n >= 1000000) {\n            return '$' + (n \/ 1000000).toFixed(1) + 'M';\n        }\n        if (n >= 1000) {\n            return '$' + (n \/ 1000).toFixed(0) + 'K';\n        }\n        return '$' + n.toFixed(0);\n    }\n\n    \/\/ Calculation Logic\n    btnCalc.addEventListener('click', function() {\n        let spend = parseFloat(inputSpend.value);\n        let pump = parseFloat(inputPump.value);\n        let err = parseInt(slider.value);\n\n        if (!spend || !pump || spend <= 0 || pump <= 0) {\n            errEl.classList.add('show');\n            resPanel.classList.remove('show');\n            return;\n        }\n\n        errEl.classList.remove('show');\n\n        let waste = spend * (err \/ 100);\n        let savings = 0;\n        \n        if (err > 1) {\n            savings = spend * ((err - 1) \/ 100);\n        }\n\n        let paybackMonths = 0;\n        let paybackInfinite = false;\n        \n        if (savings > 0) {\n            paybackMonths = pump \/ savings * 12;\n        } else {\n            paybackInfinite = true;\n        }\n\n        \/\/ Update KPIs\n        document.getElementById('dce-waste').textContent = dceFmt(waste);\n        document.getElementById('dce-savings').textContent = dceFmt(savings);\n\n        if (paybackInfinite) {\n            document.getElementById('dce-payback').textContent = 'N\/A';\n        } else if (paybackMonths < 1) {\n            document.getElementById('dce-payback').textContent = '< 1 mo';\n        } else {\n            document.getElementById('dce-payback').textContent = Math.ceil(paybackMonths) + ' mo';\n        }\n\n        \/\/ Update Progress Bars\n        let bbpSpend = spend - savings;\n        let pctBbp = Math.round((bbpSpend \/ spend) * 100);\n\n        document.getElementById('dce-bar-current-val').textContent = dceFmt(spend);\n        document.getElementById('dce-bar-current-txt').textContent = err + '% error';\n        document.getElementById('dce-bar-current').style.width = '100%';\n\n        document.getElementById('dce-bar-bbp-val').textContent = dceFmt(bbpSpend);\n        document.getElementById('dce-bar-bbp-txt').textContent = '\u00b11% precision';\n        \n        \/\/ Small delay to allow CSS transition to trigger visually\n        setTimeout(() => {\n            document.getElementById('dce-bar-bbp').style.width = pctBbp + '%';\n        }, 100);\n\n        \/\/ Update Dynamic Note\n        let pbText = '';\n        if (paybackInfinite) {\n            pbText = 'N\/A';\n        } else if (paybackMonths < 1) {\n            pbText = 'under 1 month';\n        } else {\n            pbText = Math.ceil(paybackMonths) + ' months';\n        }\n\n        let noteText = '';\n        if (err === 1) {\n            noteText = 'Your current system is already operating at the \u00b11% precision target. A Beibangpu BBP series pump would maintain this accuracy reliably across the full turndown range and for 15,000 or more continuous operating hours.';\n        } else {\n            noteText = 'At a ' + err + '% dosing error, approximately ' + dceFmt(waste) + ' of your annual chemical budget is wasted on over-injection. Upgrading to a \u00b11% precision metering pump recovers ' + dceFmt(savings) + ' per year \u2014 a payback period of ' + pbText + ' from chemical savings alone, before accounting for reduced maintenance and compliance risk.';\n        }\n\n        document.getElementById('dce-note').textContent = noteText;\n\n        \/\/ Reveal the panel with opacity fade\n        resPanel.classList.add('show');\n    });\n});\n<\/script>\n<\/div><\/div><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Chemical Dosing Accuracy Cost Estimator Inaccurate dosing systems waste chemical budget on every shift \u2014 the loss is systematic, not occasional. Enter your annual chemical spend and current system error to see the recoverable budget and how quickly a precision metering pump pays for itself. Annual Chemical Spend $ Total annual spend on dosed chemicals [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":3894,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_gspb_post_css":"","footnotes":""},"class_list":["post-4037","page","type-page","status-publish","hentry"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/pages\/4037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/comments?post=4037"}],"version-history":[{"count":0,"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/pages\/4037\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/pages\/3894"}],"wp:attachment":[{"href":"https:\/\/bbpmfg.com\/ar\/wp-json\/wp\/v2\/media?parent=4037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}