Expand description
Thermodynamic cycles — Otto, Diesel, Brayton, Rankine, refrigeration.
All SI units: kelvins, pascals, joules, moles.
Ideal-gas cycles use the calorically perfect gas model.
Steam cycles (behind steam feature) use IAPWS-IF97 table data.
Structs§
- Cycle
Comparison Entry - Entry for comparing multiple cycles.
- Cycle
Result - Result of a thermodynamic cycle analysis.
- Diagram
Point - A point for plotting cycle diagrams (T-s or P-v).
- State
Point - A thermodynamic state point in a cycle.
Enums§
- Cycle
Kind - Kind of thermodynamic cycle.
- Process
Kind - Type of thermodynamic process connecting two state points.
Functions§
- adiabatic_
temp_ from_ pressure - Adiabatic temperature from pressure ratio: T₂ = T₁·(P₂/P₁)^((γ-1)/γ).
- adiabatic_
work - Work done in an adiabatic process: W = n·Cv·(T₁ - T₂) (J).
- brayton_
cycle - Brayton cycle analysis (gas turbine).
- compare_
cycles - Compare multiple cycles against their Carnot limits.
- cycle_
pv_ diagram - Generate P-v diagram points for a cycle.
- cycle_
ts_ diagram - Generate T-s diagram points for a cycle.
- diesel_
cycle - Diesel cycle analysis (compression-ignition engine).
- heat_
pump_ cop - Heat pump COP from refrigeration COP.
- isobaric_
heat - Heat transfer at constant pressure: Q = n·Cp·(T₂ - T₁) (J).
- isochoric_
heat - Heat transfer at constant volume: Q = n·Cv·(T₂ - T₁) (J).
- otto_
cycle - Otto cycle analysis (spark-ignition engine).