Home▸Energy & Thermodynamics▸Cogeneration (CHP) vs Conventional Generation — 2D Sankey Lab

Cogeneration (CHP) vs Conventional Generation — 2D Sankey Lab

2D companion to the 3D cogeneration simulator: a flat animated Sankey-style flow diagram with fuel-rate, electrical-efficiency and heat-recovery sliders, plus a live efficiency-vs-fuel-rate curve, comparing conventional generation against combined heat and power (CHP).

Energy & Thermodynamics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-cogeneration-chp-vs-conventional-generation-simulator ↗ Open standalone

This is the 2D-native counterpart to the 3D cogeneration simulator. Rather than orbiting a rendered industrial site, it draws a flat schematic: a generator with a spinning shaft feeding a chimney, exhaust either drifting up as smoke (conventional) or routed through a heat-recovery duct into a building (cogeneration), and an electricity cable pulsing to a pylon whichever mode is active. Three sliders drive the physics directly — fuel input rate, the generator's electrical conversion efficiency and the heat-recovery unit's capture efficiency — and a live efficiency-vs-fuel-rate curve plots both modes across the full fuel range simultaneously, so you can see at a glance that conventional generation efficiency tracks the electrical-conversion slider almost exactly, while cogeneration efficiency climbs far above it once the recovery duct is switched on. The same energy-balance equations as the 3D version, just plotted and animated flat instead of rendered in a scene.

⚙ Under the hood

2D cogeneration lab: adjustable fuel input rate, electrical conversion efficiency and heat-recovery efficiency drive an animated 2D flow diagram and a live efficiency-vs-fuel-rate curve, comparing conventional generation (exhaust vented) against CHP (exhaust captured for a second use), from the same energy-balance equations as the 3D version.

cogenerationcombined heat and powerwaste heat recoveryenergy efficiencyindustrial energysankey diagram

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)