Code Monkey home page Code Monkey logo

master-thesis-code's Introduction

Thesis title: Towards a port-Hamiltonian approach to study Stirling-cycle devices

This repo contains the Python code and the Jupyter notebooks which were used to produce the simulation results shown in my master's thesis which I wrote in 2019 at FAU Erlangen.

More information about this research on port-Hamiltonian systems and Stirling-cycle devices can be found on my personal research website.

The code folder contains the Python files which are imported from the Jupyter notebooks.

The notebook butcher.ipynb was used to learn how to compute Butcher tableaus for Gauss-Legendre collocation methods.

The notebooks harmonic_oscillator.ipynb, kepler.ipynb and spring_pendulum.ipynb deal with conservative mechanical systems and merely serve to test the implementation of the Gauss-Legendre collocation methods.

The notebooks piston_animation_euler.ipynb, piston_animation.ipynb and piston_animation2.ipynb deal with the central example of the thesis. The first one just uses the explicit Euler scheme. The other two use Gauss-Legendre collocation methods and rely on automated code generation using SymPy.

The notebook ideal_gas_sym.ipynb is supposed to check the equations which describe an ideal gas.

The notebook piston.ipynb contains some symbolic computations concerning the modeling of the piston example which I also could have done on paper.

The notebook carnot_efficiency.ipynb simply plots the Carnot efficiency for different temperatures.

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.