v0.11.0

ThermoCore

A tiered thermodynamics solver: states + devices generate an equation set, a solver decides how to crack it, and accuracy is measured per tier against an 88-problem benchmark — never asserted.

88/88 benchmark problems passing (100%)358 backend testsCoolProp 7.2.0 · IF97 / HEOS / HAPropsSI
Benchmark pass rate88/88 (100%)
Backend tests358
Fluids100+
Tiers1–4

FastAPI + CoolProp, benchmark-graded

Property lookups come from CoolProp 7.2.0 — IF97 for water/steam, HEOS for refrigerants and ASHRAE HAPropsSI for humid air. Accuracy is graded per tier against the 88-problem benchmark, never asserted.

FastAPI backend

358 tests cover the solver, parsers and every endpoint — each new record runs the full suite before release.

CoolProp 7.2.0 fluids

IF97 water/steam, HEOS fluids and gases, and ASHRAE HAPropsSI psychrometric properties — 100+ fluids across all four tiers.

Measured, not asserted

Every tier reports its benchmark pass rate and tolerance margin — the numbers on this page are the measured ones.

Depth, in four levels

Tier 1

43 records

Property evaluation

Any two knowns of P, T, v, u, h, s, x resolve the full state with phase classification — water, refrigerants and gases.

Tier 2

23 records

Single-law balances

Turbine, compressor, pump, nozzle, diffuser, boiler, condenser, evaporator, valve, mixer and heat exchangers (incl. two-stream); closed isochoric / isobaric / isothermal / polytropic / isentropic processes; transient CVs; exergy (S_gen, E_d); compressible flow with shocks.

Tier 3

12 records

Cycles

Rankine (reheat, regenerative), Brayton (intercooling, reheat), vapor-compression refrigeration and air-standard Otto / Diesel / Dual — reporting η_th, w_net, q_in, q_out, bwr, COP and MEP.

Tier 4

10 records

Advanced topics

Mixtures, ASHRAE psychrometrics, combustion stoichiometry for C-H-O-N-S fuels with % excess air, Carnot screening (η_max = 1 − T_C/T_H) and two-phase split.

Headless by design

POST /solvePOST /parsePOST /diagramPOST /psychroPOST /sweepPOST /designPOST /sensitivityGET /health

Nine screens, textbook structure

SolveSolutionDevicesPhoto/OCRTablesConvertPsychroAnalysisHistory

5-section solutions

Known → Find → Schematic → Engineering Model → Analysis, with worked steps such as

w = 3399.5 − 2282.5 ⟹ 1117.0 kJ/kg

Diagrams & tables

T-s, P-v, P-h and h-s plots with saturation dome and solved states; full property tables; and a unit converter for the 8 core properties.

Parse-then-verify

Free-text problems go through an independent ParseValidator that never trusts LLM numbers — conflicts beyond a 2% tolerance are flagged, not silently accepted.

Benchmark outputs, reproduced exactly

T3-001

Rankine cycle

Boiler 8 MPa / 500 °C · condenser 10 kPa · η_t = 0.88 · η_p = 0.85

η_th34.6%
w_net1107.5 kJ/kg
q_in3198.2 kJ/kg
bwr0.0085
Turbine exit x0.874
T1-001

Superheated water

P = 5 MPa · T = 400 °C

h3195.7 kJ/kg
s6.6483 kJ/(kg·K)
PhaseSuperheated
T4-003

Moist air (psychrometrics)

30 °C · 1 atm · 50% relative humidity

Humidity ratio ω0.0133 kg/kg
T4-005

Methane combustion

CH₄ + air · stoichiometric

AF ratio17.1 kg air / kg fuel

Constants & standards

Universal gas constantR_u = 8.314462618 J/(mol·K)
Entropy reference298.15 K · 101325 Pa
Air model1 mol O₂ : 3.76 mol N₂ · M_air ≈ 28.85
Standard atmosphere101325 Pa
Tolerancesrelative 1e-3

Numbers that look like an instrument

Mono numerals with tabular figures, high-contrast ink on paper, and phase-coded tints — so a state, a device or a cycle reads like a datasheet, not a form.

Core palette

Paper#F6F7F9
Ink#1B2230
Steel#2D6CDF
Amber#E6952E
Verify green#2E9E6B

Phase tints

Liquid#3B82C4
Two-phase#2FA39B
Vapor#C8732B
Frontend v0.1.0Backend v0.9.0CHANGELOG 0.11.0 · 2026-06-24

Solve a Rankine cycle with full step-by-step working

States, devices, cycles and psychrometrics — graded against an 88-problem benchmark, with every solution structured like a textbook.

Open ThermoCore