Scripts & Utilities
Per-gallon cost stack and credit-margin estimator for HVO · HEFA renewable diesel plants. Computes feedstock, hydrogen, opex, and annualized capex against RIN D4, CARB LCFS, and Blender’s Tax Credit revenues. Required CSV columns: tag, feedstock, mass_yield, feed_cost_usd_per_lb, h2_cost_usd_per_kg, kg_h2_per_gal, opex_usd_per_gal, capex_musd, capacity_mgy, ci_gco2_per_mj.
Method: feedstock $/gal = feed $/lb × (6.45 / mass_yield); H2 $/gal = H2 $/kg × kg/gal; capex $/gal = (capex × CRF) / annual gallons, where CRF = r(1+r)n / ((1+r)n − 1). Credits: RIN D4 = 1.7 RINs/gal × RIN price; CARB LCFS = (100.45 − CIfuel) × 136 MJ/gal × $/tonne / 106; BTC per CFR/IRS guidance. Net margin = total credits − total cost. Sources: 40 CFR 80 (RFS), CARB LCFS Title 17 CCR 95480, IRS 45Z Clean Fuel Production Credit, NREL HEFA cost analyses. Default credit values are placeholders — verify current market rates before relying on output.
© 2026 Inflection Point Engineering, LLC. All rights reserved. The content of this page — including calculation methods, reference data, written analysis, interactive tools, and source code — is the intellectual property of Inflection Point Engineering, LLC and is protected under applicable copyright, trademark, and trade secret laws. Unauthorized reproduction, redistribution, modification, or derivative use in whole or in part is prohibited without prior written consent.
Disclaimer. This material is provided for informational and educational purposes only and does not constitute professional engineering advice. Calculations, reference data, and methodologies are based on published standards and accepted engineering practice but are not a substitute for engineering judgment, site-specific analysis, or review by a licensed Professional Engineer. Inflection Point Engineering, LLC makes no warranties, express or implied, regarding the accuracy, completeness, or fitness for a particular purpose of any content presented here, and shall not be liable for any direct, indirect, incidental, or consequential damages arising from its use. Users assume all risk associated with applying this content to real-world design, operations, or decisions.
© 2026 Inflection Point Engineering, LLC. All rights reserved.