Releases: thermalogic/PyRankine
The Open Source Hybrid Steady-state Simulator of Rankine Cycle in Python
PyRankine
The PyRankine is the hybrid steady-state simulator of Rankine Cycle in Python.
In the hybrid simulator, two kind of simulation approachs are provided:
-
sequential-modular
-
equation-oriented
Dependencies:SEUIF97
IAPWS-IF97 high-speed shared library
Install
python -m pip install seuif97
The Example Rankine Cycle
The condensing steam cycle of a supercritical pressure 600MW generating unit is used as the case of example.
The condensing steam cycle has
-
three turbines with four exhaust steams
-
one sealing, four low pressure feedwater heaters, one open feedwater heater/de-aerator, and three high pressure closed feedwater heaters.
The Data File of the Example Cycle
The json file is used to representate the example cycle's flowsheet and data
Run
- simulation on 1kg mass
python rankinesim.py
- simulation on specified power/mass
python rankinesim_spec.py
First Release of PyRankine
The PyRankine is the general Rankine Cycle simulator provided in the different data structures
We wish that PyRankine may be a helpful vehicle for you to understand Computational Thinking and improve programming skills.
The Simulator : List,Dict and Function
- CSV Textual Model of the Rankine Cycle Flowsheet
The Simulator : Object-oriented programming
- JSON Textual Model of Rankine Cycles Flowsheet
The Rankine Cycles used in these general simulators are Example 8.1, 8.2 and 8,5 of Michael J. Moran. Fundamentals of Engineering Thermodynamics(7th Edition). John Wiley & Sons, Inc. 2011