The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
EntropyL Refrigerant Analyzer — full CoolProp engine (44/44) + UI update
Updates for refrigerant1.html (EntropyL). With the CoolProp files installed, all 44 fluids — including the real predefined mixtures (R407C, R448A, R502, R515B, ...) — run on CoolProp's own C++ engine compiled to WebAssembly: the exact same core as CoolProp/REFPROP. Without the CoolProp files, 33/44 fluids run on the bundled published Helmholtz equations and the rest fall back to the built-in model.
Verified headless against CoolProp 8.0.0: EOS count 44/44; R600a cycle 20/70 °C SH 5 SC 0 η 0.7 → COP_cool 3.0007 (matches CoolProp exactly); R448A and R502 mixture cycles computed directly; p_sat R600a 3.022 bar, R717 1.194 bar at −30 °C.
Installation (4 files + 4 lines)
- Download coolprop-js-b64.js, coolprop-wasm-b64.js,
engine-patch.js and ui-patch.js into the same folder as
refrigerant1.html(the two coolprop files are the official CoolProp 8.0.0 build, base64-encoded so they load fromfile://with no server). - Add four lines right before
</body>, in this order:
<script src="coolprop-js-b64.js"></script>
<script src="coolprop-wasm-b64.js"></script>
<script src="engine-patch.js"></script>
<script src="ui-patch.js"></script>
- Hard reload (Ctrl+F5). First load takes a few seconds while the ~12 MB wasm engine compiles; every load after that is fast.
- The console (F12) confirms what is running:
[EntropyL] engine-patch v9 ...→[EntropyL] CoolProp engine tier active (CoolProp 8.0.0) — all 44 fluids→[EntropyL] ui-patch v2 activated. The status pill then showsHelmholtz EOS · 44/44 fluids.
What ui-patch v2 changes (all UI text in English)
- Default view: every fluid in Natural, HC and HFO is visible on load (per-fluid hidden flags cleared — Water and Ethylene now show too); CFC, HCFC, HFC and Blend are enabled via the class chips and remembered in the share link.
- Comparison card on the phase diagram: with fluid A + comparison B selected, a clean table (p sat, h fg, ρ liq, ρ vap and Δ) is drawn next to the T-line — replacing the old delta-p bracket.
- Two charts instead of three: the COP chart plus a new chart with free choice of both X and Y axis (suction/evaporation/condensation temperature vs COP, discharge temperature, evaporator/condenser heat, compressor work, pressure ratio, suction/discharge density, displacement, mass flow).
- "Import EOS" and "Copy CSV" removed.
COP definition
The cycle uses the true isentropic reference (two-phase endpoint allowed, quality from entropy) — the same convention as CoolProp and CoolPack's main "COP": R600a @ 20/70 °C, SH 5, SC 0, η_is 0.7 → COP_cool 3.00 (CoolPack "COP" 3.01). CoolPack's "COP cool" 2.69 uses the older saturated-vapour convention.
Notes
- Enthalpies are shown with the ASHRAE datum h_f(0 °C) = 200 kJ/kg (the CoolProp tier applies the offset per fluid).
- h_fg for ammonia at −30 °C is 1359.7 kJ/kg per CoolProp 8.0.0's EOS (older table value 1371) — the accuracy panel shows this honestly.
build-fluids-data.pycan rebuild the JSON bundle from CoolProp's GitHub if you want the fallback tier refreshed.
Source: CoolProp project (MIT licence) — https://github.com/coolprop/coolprop
- Downloads last month
- 445