Cantera-Based Python Computer Program for Solving Steam Power Cycles with Superheating

Osama A. Marzouk
DOI: https://doi.org/10.46338/ijetae0323_06
2024-01-27
Abstract:One of the main sources of electricity generation is power plants that use water (steam) to rotate turbines, which drive large electric generators. The steam can be generated from renewable or non-renewable energy sources, such as geothermal energy and nuclear fuels. Having an analysis tool for modeling the performance of such steam power plants can greatly help in reaching optimum designs, leading to less fuel consumption, reduced pollution, and cheaper electricity. It is further advantageous if such modeling tool is free to access, does not require many inputs from the user, and gives results in a very short time. These remarks establish a motivation for the current study. This article documents a computer code written in the Python programming language for numerically analysing the main processes in a steam power cycle with superheating. The code utilizes built-in thermodynamic properties for water in the open-source software package "Cantera". A validation case with a benchmarking example in the literature using an independent source of water properties suggests that the developed code is correct. The code can be viewed as an extension to the Python examples for thermodynamic and power generation applications. Cantera can handle both subcritical and supercritical types of superheating. In the subcritical superheating, the steam absolute pressure does not exceed 220.9 bar. In the supercritical superheating, water becomes in a special condition called supercritical fluid, with absolute pressures above 220.9 bar.
Computational Engineering, Finance, and Science,Numerical Analysis
What problem does this paper attempt to address?
The problem that this paper attempts to solve is to develop a Python computer program based on the Cantera library for analyzing steam - power cycles with superheating. Specifically, the paper aims to provide a free, easy - to - use tool that gives results quickly to help optimize the design of steam - power plants, thereby achieving the goals of reducing fuel consumption, pollution, and cost. In addition, the paper also focuses specifically on solving the superheated - steam - cycle problem by extending Cantera's built - in sample code, because this specific application scenario is not included in Cantera's built - in examples. The paper mentions that modern computing resources play an important role in solving complex engineering and technical problems, especially in the case of using steam (hot water vapor) and steam - turbine generators in power production. These computing resources can quickly explore different design schemes, optimize variables, and test performance in a safe virtual environment. Therefore, developing such an analysis tool is of great significance for improving the efficiency of steam - power cycles. The paper points out that superheated - steam cycles have two main advantages over saturated - steam cycles: 1. **Improvement in energy - conversion efficiency**: The conversion efficiency from thermal energy to mechanical rotational energy is higher. 2. **Avoidance of internal damage**: Avoid the formation of too many unwanted liquid water droplets in the steam turbine due to the expansion and cooling of saturated steam. If there are too many of these liquid water droplets, they may cause damage to the internal components of the turbine. To verify the developed program, the author used a benchmark case from the literature for testing. The results showed that the developed solver code was very close to the results of external research, proving the effectiveness of the code. In addition, the program can also handle sub - critical and super - critical steam cycles, which further enhances its application range and practicality.