Giter VIP home page Giter VIP logo

gui's Introduction

Welcome to CoolProp

CoolProp is a thermophysical property database and wrappers for a selection of programming environments. It offers similar functionality to REFPROP, but CoolProp is open-source and free. It was originally developed by Ian Bell, at the time a post-doc at the University of Liege, in Liege, Belgium.

  • CoolProp has flexible licensing terms: Commercial - ok! Academic? - ok! license
  • For Python, get the latest release via pip install coolprop PyPI downloads PyPI version
  • ... other binaries are available from SourceForge sourceforge downloads CoolProp version tag
  • There is also a bleeding edge nightly build of the development version .
  • The documentation is available for the latest release and the development version
  • For any kind of question regarding CoolProp and its usage, you can ask the CoolProp Discussions
  • ... you might also find answers in our FAQ
  • If you found a bug or have an issue that requires the developers to become active, please file an issue in our issue tracker
  • Contributions to this project are welcomed and encouraged! If you wish to contribute bug fixes, patches, or new features, wrappers, or material properties, please submit a Pull Request with your code.
  • If you are new to Git and Github, please see the CoolProp Wiki for guidance on becoming a contributor to the project.
  • Accelerate development of things you really need implemented by posting at Bountysource
  • Check Travis CI for build failures Travis CI builds and have a look at the coverity stats Coverity Scan Build Status

gui's People

Contributors

ibell avatar mayersre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gui's Issues

On py=3, Unicode error

I'm an idiot and ended up with an env called py2k, but it should really be py3k In any case, looks like there is a problem. Should this be kg/m\xb3?

[py2k] C:\Users\Belli\Documents\Code\CoolProp-GUI>python cpgui.py
Traceback (most recent call last):
  File "cpgui.py", line 199, in <module>
    CPGUI(root)
  File "cpgui.py", line 109, in __init__
    self.cpgsettings=cpg_settings(self.dialogframe0,self)
  File "C:\Users\Belli\Documents\Code\CoolProp-GUI\cpgui_settings.py", line 57, in __init__
    self.SettingsInputPanel(self.InputFrame)
  File "C:\Users\Belli\Documents\Code\CoolProp-GUI\cpgui_settings.py", line 72, in SettingsInputPanel
    I1=units[quant].index(gui_unit[quant])
ValueError: 'kg/m\xc2\xb3' is not in list

Saturation tables don't work

When I try to build default saturation table with R245fa, I get this traceback on the console:

[py33] C:\Users\Belli\Documents\Code\CoolProp-GUI>python cpgui.py
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Miniconda\envs\py33\lib\tkinter\__init__.py", line 1489, in __call__
    return self.func(*args)
  File "C:\Users\Belli\Documents\Code\CoolProp-GUI\cpgui_sattable.py", line 211, in calculate
    TLIQ,DLIQ,HLIQ,SLIQ=PropsSI(['T','D','H','S'],'P',pressures[P],'Q',0,self.ref)
  File "CoolProp.pyx", line 158, in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:7363)
  File "CoolProp.pyx", line 178, in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:7137)
  File "stringsource", line 15, in string.from_py.__pyx_convert_string_from_py_ (CoolProp\CoolProp.cpp:9191)
TypeError: expected bytes, list found

tkinter import broken on py2.7

According to https://docs.python.org/2/library/tkinter.html ::

Note Tkinter has been renamed to tkinter in Python 3

and when I try to run cpgui.py I get the error

Traceback (most recent call last):
  File "cpgui.py", line 11, in <module>
    from tkinter import filedialog, simpledialog
ImportError: No module named tkinter

my python

C:\Users\Belli\Documents\Code\CoolProp-GUI>python
Python 2.7.6 |Continuum Analytics, Inc.| (default, May 27 2014, 15:00:33) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io and https://binstar.org

State point doesn't work

I was using R404A, and then switched to R245fa, but I can't get it to calculate and it is stuck here:

image

pip URL

Hi, is there a specific reason to use the development server for Python binaries in https://github.com/CoolProp/GUI/blob/master/requirements.txt#L1 ? We have some trouble with that machine since it is cheap hosting service and we regularly hit the capcaity limits. Therefore I would like to move as much traffic as possible to the official download directories on SourceForge and pypi.

Capitalization inconsistent in units

Can you please use a consistent capitalization scheme in the Settings panel? I prefer first character capitalized and then subsequent characters not capitalized.

Crash on File->Quit

I see this on the console when I click Quit.. in the menu

Fatal Python error: PyEval_RestoreThread: NULL tstate

Crash on open

See below

[py33] C:\Users\Belli\Documents\Code\CoolProp-GUI>python cpgui.py
Traceback (most recent call last):
  File "C:\Miniconda\envs\py33\lib\site-packages\PIL\ImageTk.py", line 176, in paste
    tk.call("PyImagingPhoto", self.__photo, block.id)
_tkinter.TclError: invalid command name "PyImagingPhoto"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cpgui.py", line 194, in <module>
    CPGUI(root)
  File "cpgui.py", line 121, in __init__
    self.cpgNewClass=cpg_cycle1(self.dialogframe5,self)
  File "C:\Users\Belli\Documents\Code\CoolProp-GUI\cpgui_cycle1.py", line 135, in __init__
    render = ImageTk.PhotoImage(imgfile)
  File "C:\Miniconda\envs\py33\lib\site-packages\PIL\ImageTk.py", line 115, in __init__
    self.paste(image)
  File "C:\Miniconda\envs\py33\lib\site-packages\PIL\ImageTk.py", line 180, in paste
    from PIL import _imagingtk
ImportError: cannot import name _imagingtk
Fatal Python error: PyEval_RestoreThread: NULL tstate

[py33] C:\Users\Belli\Documents\Code\CoolProp-GUI>conda list
# packages in environment at C:\Miniconda\envs\py33:
#
buildingspy               1.3.0                     <pip>
coolprop                  5.0.0                     <pip>
cx-freeze                 4.3.3                     <pip>
cython                    0.22                     py33_0
dateutil                  2.1                      py33_2
glob2                     0.4.1                     <pip>
matplotlib                1.4.3                np19py33_1
nose                      1.3.4                     <pip>
numpy                     1.9.2                    py33_0
pillow                    2.7.0                    py33_0
pip                       6.0.8                    py33_0
pyparsing                 2.0.3                    py33_0
pyqt                      4.10.4                   py33_1
python                    3.3.5                         1
python-dateutil           2.4.1                    py33_0
pytz                      2015.2                   py33_0
scipy                     0.15.1               np19py33_0
setuptools                14.3                     py33_0
six                       1.9.0                    py33_0
wheel                     0.23.0                    <pip>
wxpython-phoenix          3.0.1.dev76744            <pip>

click on p,h-diagram crashes GUI

Traceback (most recent call last):
  File "/home/jowr/.conda/envs/py3k/lib/python3.4/tkinter/__init__.py", line 1533, in __call__
    return self.func(*args)
  File "/mnt/Data/Documents/Fluids/CoolProp.GUI.git/cpgui_diagram.py", line 161, in RG1_StringVar_Callback
    self.ax.set_xlim(j2kj(Hmin),j2kj(Hmax))
NameError: name 'j2kj' is not defined

GUI needs to be scrollable

I'm not sure how easy this is, but my screen is 1366x768, and I can't see the bottom units, and there is just no way to see below pressure

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.