Giter VIP home page Giter VIP logo

pyrankine's Introduction

PyRankine

The step-by-step codes of the rankine cycle simulator from zero abstraction to the general abstraction are provided in the PyRankine.

We wish that the PyRankine may be a helpful vehicle for you to understand Computational Thinking and improve the programming skills.

The Example Rankine Cycles used in the follow codes are from Michael J. Moran. Fundamentals of Engineering Thermodynamics(7th Edition)

  • step 0 : Zero Abstraction of The Ideal Rankine Cycle(Example 8.1)

    The simple data types and expression only 
    
  • step 1 : Simple Abstraction of The Ideal Rankine Cycle(Example 8.1)

    Structure data types(List,Dict) and functions
    
  • step 2 : Basic Object-Orientation Abstraction of The Ideal Rankine Cycle(Example 8.1)

    Object-oriented programming 
    
  • step 3 : Basic Object-Orientation Abstraction and Textual Representation of The Ideal Rankine Cycle(Example 8.1)

    Object-oriented Programming 
    
    JSON file of Rankine Cycle Flowsheet
    

    The UML Class Diagram: Association

    The UML Class Diagram: Association

  • step 4 : General Abstraction and Textual Representation of Rankine Cycles

    Object-oriented programming, general module; 
    
    JSON file of Rankine Cycle Flowsheet
    

    Example Rankine Cycles

    • Example 8.1: The Ideal Rankine Cycle

    • Example 8.2: Analyzing a Rankine Cycle with Irreversibilities

    • Example 8.5: Regenerative Cycle with Open Feedwater Heater

    The UML Class Diagram: Association

    The UML Class Diagram: Association

  • step 5 : The Base Class Abstraction and Textual Representation of Rankine Cycles

    Object-oriented programming, general module, the base class; 
    
    JSON file of Rankine Cycle Flowsheet 
    

    Example Rankine Cycles

    • Example 8.1: The Ideal Rankine Cycle

    • Example 8.2: Analyzing a Rankine Cycle with Irreversibilities

    • Example 8.5: Regenerative Cycle with Open Feedwater Heater

    The UML Class Diagram: Association

    The UML Class Diagram: Association

Run

cd step0/1/2/3/4/5
python rankine.py

Dependencies:SEUIF97

IAPWS-IF97 high-speed shared library

Install with pip

python -m pip install seuif97

The Jupyter Notebooks of Example Rankine Cycles

Michael J. Moran, Howard N. Shapiro, Daisie D. Boettner, Margaret B. Bailey. Fundamentals of Engineering Thermodynamics(7th Edition). John Wiley & Sons, Inc. 2011

Chapter 8 : Vapour Power Systems

Start the notebooks

>startnb.bat

Schematic of Example Rankine Cycles

rankines

Reference

pyrankine's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.