Project ideas from Hacker News discussions.

How an oil refinery works

📝 Discussion Summary (Click to expand)

1. New refineries are rare and choked by regulation & economics

“they're almost impossible to get permission to build now.” – vel0city Only a handful of new plants are in the pipeline (e.g., the Southern Rock refinery in Oklahoma, Reliance’s Texas megarefinery), and most debates point to prohibitive permitting costs and uncertain profitability as the main blockers.

2. Refining is a complex, material‑focused industry beyond fuel

“Crude oil seems far more valuable as a material than as an energy source… it feels like a damned shame that we’re still combusting so much of it for heat rather than reserving it for physical materials.” – flumpmaster (chemical‑engineer)

Modern refineries blend crudes, upgrade units, and now produce renewable diesel, yet the output still supplies everything from jet fuel to plastics and construction feedstocks.

3. Misreading “primary energy” inflates renewable shares and understates fossil use

“That’s because of the primary energy fallacy.” – rollulus

Discussions often quote raw joule figures for coal vs. wind/solar, overlooking conversion losses; this skews perception of how much of the world’s energy actually comes from fossil fuels.


🚀 Project Ideas

Refinery Emissions Dashboard

Summary

  • Centralizes real‑time emissions data from US refineries for transparent pollution monitoring.
  • Enables comparison of legacy vs. modern plant designs and their environmental footprints.
  • Core value: Provides clear, actionable data to investors, communities, and regulators to drive cleaner upgrades.

Details

Key Value
Target Audience Investors, ESG analysts, local communities, regulators
Core Feature Live map with API‑fed emissions, historical trend analysis, predictive modeling
Tech Stack GraphQL, Node.js, TimescaleDB, Leaflet, Docker containers
Difficulty Low
Monetization Hobby

Notes

  • HN users debate the “primary energy fallacy” and the true environmental impact; this tool visualizes actual pollutant releases, settling disputes with hard numbers.
  • Potential to feed into ESG reporting and policy advocacy, amplifying its social impact.

California Gas Blend Optimizer

Summary- AI‑driven optimizer that computes cost‑effective summer/winter gasoline blend recipes while satisfying CARB regulations.

  • Reduces production waste and over‑blending, lowering fuel price pressure in California.
  • Core value: Saves producers $0.10‑$0.15 per gallon and cuts compliance risk.

Details

Key Value
Target Audience California gasoline blenders, fuel distributors, refineries
Core Feature Input cost data, yield constraints, demand forecast; outputs optimal blend recipe, cost, and emissions score
Tech Stack Python backend, scikit‑learn, FastAPI, Docker, PostgreSQL
Difficulty Medium
Monetization Revenue-ready: Tiered API usage $0.01 per call or $200/mo for enterprise

Notes

  • Directly tackles commenters’ observations that “CA pays $1+/gallon more for literally no reason” due to outdated blend requirements.
  • Offers a practical utility that can be embedded in refinery management systems, creating immediate ROI.

Read Later