HomeEnergy & ThermodynamicssCO2 Brayton Cycle: P-v & T-s Diagrams

sCO2 Brayton Cycle: P-v & T-s Diagrams (Newton-Solved EOS)

Interactive 2D companion to the 3D supercritical-CO2 Brayton cycle: a Newton-Raphson solver finds the real-gas molar volume directly from the Peng-Robinson equation of state (cross-checked live against an independent closed-form cubic-in-Z solver) and plots it as a P-v isotherm next to the cycle's T-s diagram, so you can see the critical-point density bulge that the 3D scene only reports as a single number.

Energy & Thermodynamics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-supercritical-co2-brayton-cycle ↗ Open standalone

This is the 2D companion to the 3D supercritical-CO2 Brayton cycle scene, and it reaches the same real-gas conclusion by a genuinely independent computational route. Instead of a closed-form cubic root, it solves the Peng-Robinson equation of state for the compressor-inlet molar volume with Newton-Raphson iteration, cross-checks that result live against an independently-coded closed-form solver, and then does something the 3D scene's single density readout cannot: it plots a full P-v isotherm, sweeping pressure at the current temperature so you can see the real-gas curve bulge away from the ideal-gas line as the compressor-inlet temperature approaches the CO2 critical point at 31.1 °C / 7.38 MPa. A companion T-s diagram plots the six-station Brayton cycle itself, so recuperation, heat addition and heat rejection all read as visible legs on a real thermodynamic diagram instead of six temperature numbers.

⚙ Under the hood

2D companion to the 3D supercritical-CO2 Brayton cycle: a Newton-Raphson solver finds the real-gas molar volume from the Peng-Robinson equation of state, cross-checked live against an independent closed-form cubic-in-Z solver, then plots it as a P-v isotherm alongside the cycle's T-s diagram, so the critical-point density bulge that the 3D scene only reports as a single number becomes a visible shape.

thermodynamicspower-cyclesupercritical-fluidequation-of-stateenergy-efficiency

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

What did you find?

Add reproduction steps (optional)