Code Monkey home page Code Monkey logo

gerdpy's Introduction

GERDPy - Simulation Tool for Geothermal Heat Pipe Surface Heating Systems

GERDPy is a Python-based simulation tool designed to model directly geothermally heated surface deicing systems using a two-phase thermosiphon and was specifically developed for the project GERDI. Thus, this modelling tool represents a very specific system and is not suitable as a general modelling software for borehole heat exchangers.

title

The development of GERDPy is fully based on open-source toolboxes and libraries in Python. Some of the modules are directly based on the open-source toolbox for the evaluation of thermal response factors for geothermal borehole fields, Pygfunction by Massimo Cimmino.

๐Ÿ”— https://github.com/MassimoCimmino/pygfunction

The GUI is based on the PySide / PyQt interface PyDracula created by Wanderson M. Pimenta.

๐Ÿ”— https://github.com/Wanderson-Magalhaes/Modern_GUI_PyDracula_PySide6_or_PyQt6

Python Version

For using GERDPy Simulation Tool, Python 3.7.9 or a higher version must be used. This document will assume Python 3.7.9 is used. If not installed, click the link below and install Python 3.7.9.

๐Ÿ”— https://www.python.org/downloads/release/python-379/

You may check if Python is added to PATH variable on your System. Therefore click 'Start' and search for 'environment variables'. Then add the following paths to the PATH variable.

C:\Users\username\AppData\Local\Programs\Python\Python37
C:\Users\username\AppData\Local\Programs\Python\Python37\Scripts

Required Packages

For operating GERDPy correctly, some Python Packages are required. Therefore navigate to the folder, where GERDPy is located and run the command below in your preferred console (e.g. cmd for Windows, Terminal for MacOS or Linux). If your System already satisfies all requirements, you can skip this section.

Windows:

py -3.7 install_packages.py

MacOS and Linux:

python3.7 install_packages.py 

Running

Inside your preferred console navigate to the folder, where GERDPy is located and run the commands below depending on your system.

Windows:

py -3.7 guimain.py

or run the batch file

.\GERDPy.bat

MacOS and Linux:

python3.7 guimain.py 

or run the shell script

./GERDPy.sh

The GERPDPy GUI will then open and you can work there from now on.

####Example for Windows: Open cmd.exe by clicking on the Windows icon and type 'cmd' for searching for 'cmd.exe'. For navigating to a folder in cmd use the command 'cd'. Alternatively, navigate to the folder in Windows Explorer, type 'cmd' in the address bar and press enter.

To navigate one level up in your folders use:

cd ..

To navigate to a specific folder and subfolder use:

cd folder\subfolder

This is how your console might look:

cmd_example

Using GERDPy

For detailed information about functionality and usage of the tool, please read GERDPy_User Handbook.pdf.

Optional: Activate cython support

Make sure cython is installed:

pip install cython

Then open the file 'GERDPySim/__init__.py' and on line 5 change 'use_cython = False' to 'use_cython = True' to activate.

gerdpy's People

Contributors

thgrass avatar wurzelpi avatar yannickapfel avatar memazae avatar

Stargazers

 avatar

Watchers

 avatar

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.