Temperature - Entropy Diagram for Stirling Cycle

Generates the s and T vectors along the respective x and y axes. This allows for easy plotting of the T-s diagram via plot(s,T).
219 Downloads
Updated 16 Nov 2019

View License

This Stirling cycle is classified by 4 idealized thermodynamic processes. First the gas undergoes isothermal compression, and then is heated at a constant volume. Next, the gas is allowed to expand at a constant temperature, and is then cooled at a constant volume. This cycle repeats and work is continually extracted from the expansion of the gas.

This function outputs a T vector, and an s vector, where each corresponds to its respective axis. This allows the diagram to easily be plotted using plot(s,T).

The input parameters are TL, TH, vmin, vmax, and s1. TL and TH correspond to the low and high temperatures of the cycle while vmin and vmax represent the minimum and maximum specific volumes defined by the geometry of the internal cylinder. A reference entropy value is defined by s1, which represents the specific entropy of the air prior to undergoing isothermal compression.

All input parameters are taken in SI units:

TL [K]
TH [K]
vmin [m^3]
vmax [m^3]
s1 [kJ/kgK]

Cite As

Matt Bowring (2024). Temperature - Entropy Diagram for Stirling Cycle (https://www.mathworks.com/matlabcentral/fileexchange/73374-temperature-entropy-diagram-for-stirling-cycle), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Thermal Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0