drunsinn / pyxsteam Goto Github PK
View Code? Open in Web Editor NEWPython library for calculating properties of Steam and Water
License: Other
Python library for calculating properties of Steam and Water
License: Other
In the enthalpy computation as a function of pressure and temperature , the pressure is limited to 100 instead of 1000 bars. Could you fix that please?
pyXSteam/pyXSteam/RegionSelection.py
Line 19 in 07cce83
elif (T <= 1073.15) and (T > 273.15) and (p <= 100) and (p > 0.000611):
I am completely new to python, GitHub and using other people's code, so I could just be doing this wrong. But when I download it and ran the setup.py file in spyder (4.1.5) using python (3.8.1), it gave me this error:
An exception has occurred, use %tb to see the full traceback.
Traceback (most recent call last):
File "/Users/noaheby/opt/anaconda3/lib/python3.8/distutils/core.py", line 134, in setup
ok = dist.parse_command_line()
File "/Users/noaheby/opt/anaconda3/lib/python3.8/distutils/dist.py", line 501, in parse_command_line
raise DistutilsArgError("no commands supplied")
DistutilsArgError: no commands supplied
During handling of the above exception, another exception occurred:
SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
I am not sure what I can do to fix this.
I tried the installation that you explained but got this error
Traceback (most recent call last):
File "/home/faisal/Downloads/pyXSteam-master/setup.py", line 4, in
import setuptools
ModuleNotFoundError: No module named 'setuptools'
setuptools are already installed so this error seems odd to me
We encountered a problem: The calculation hangs indefinitely with the following code. No warnings / errors, nothing, just "calculating" for ever.
from pyXSteam.XSteam import XSteam
steamTable = XSteam(XSteam.UNIT_SYSTEM_MKS)
density = steamTable.rho_pt(167.11, 351.73)
If you round the numbers to one decimal, the calculation succeeds without any issues.
Any ideas why this is happening?
Hello, I am trying to use your library. I installed as you said pip install XSteamPython but when I open my IDE (Spyder) give me that ร ModuleNotFoundError: No module named 'XSteamPython'
I am new in python, btw
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.