Hi, everyone. This is Chris Martin, the author of the PYroMat package. First off, I'd like to thank Adriaan for doing such a beautiful job of introducing the software and especially the topic. Enough of you have asked about how PYroMat compares with other packages, I thought I'd try to answer meaningfully. (1) Thermopy is an interesting alternative to PYroMat; it focuses heavily on ideal gas modeling in chemical reactions. PYroMat has all the same data (and more of it - over 1,000 species in v2.1.0), but it leaves the reaction modeling out. As of this posting, Thermopy has not been updated since 2016, so for reaction modeling, I would recommend using Cantera instead. (2) CoolProp is an excellent alternative to PYroMat, but it is only a wrapper build on top of NIST's REFPROP. REFPROP is not free, but it is fast and it is an international standard for property calculation. For the most part, it uses the same data sources that PYroMat does. Thanks, everyone.
Hi Chris. Thanks for the kind words. It means a lot coming from you. Also thanks for highlighting the differences between PYroMat and other available packages. I really enjoy using PYroMat and will continue using it and teaching it to others.
OMG Thank you! I was doing a refrigeration lab and was told to use Pyromat, which was easier than importing thermo tables. I wasn't sure how to distinguish between saturated liquid, vapor, or superheated, but thanks to you and this tutorial I was able to figure it out. Thank you so much!
Thank you so much. This video is really easy to follow. This is literally one of the best videos that I watched related to the cycle calculation using python. Thank you!
This is excellent! Very well organized with the sections for each part of the solution. Great pace and clear explanations. Thank you for creating this super helpful content and sharing. Appreciate the image of the Rankine cycle and referencing the number of each state as you go along, and being clear with the units. The PYroMat library seems similar to the thermopy library. Not sure when to use one of these over the other.
@@AdriaanVanNiekerk about the pump efficiency or calculation of diesel engine efficiency on board. Actually, it's up to me :) Just something related thermo and ships.
I would like to thank you for your videos, they're real-life saviors since my project has to be on python. I just have one question, in case the inlet of the turbine was superheated vapor and not saturated vapor (we have p and s) how can I compute h? I tried "h2s = mp_water.h(p=p2, s=s2s)" but it gave me an error as if it can't get the enthalpy from the pressure and the entropy.
Hi Jeanne. Sorry for the late reply. From the documentation it seems you cannot directly calculate enthalpy with pressure and entropy. I suggest you first calculate T with mp_water.T_s(p=p2, s=s2s) and then calculate enthalpy using mp_water.h(T=T, p=p2). You are welcome to join my discord server: discord.gg/2UG7w8nZn6 can share your code and we can debug it 🙌
Hello sir!! i hope you are doing well? i get this Error when i try to calculate h3 PMParamError: Saturation properties are not available at pressures beyond the triple or critical points. another thing how i can modify unities in my case the pressure is on bar? thank you
I think your first problem is caused by your second problem. You can change your pressure units with the line: pm.config["unit_pressure"] = "bar" This will cause PYroMat to use the units "bar" for any pressure calculations. Now when you calculate h3 and give it the value for p3 in bar, you should get the correct answer. Let me know how it goes?🙌
@@AdriaanVanNiekerk thank you sir yes it s working now. i think you meant pm.config["unit_pressure"] = "kPa". i'll return to you when ever i had problem, it's a very interesting way to solve thermodynamics exercices. best regards
@@hichamelmadioune6376 Same here, I also needed to change the pressure unit with a fresh install of PYroMat. I also changed the default pressure using: pm.config['def_p'] = 100.0, to be consistent with the video.
Hi Mathesh. You need to first install the module before you can import it in your code. Most of the times you can just open up command line/terminal and type in the command: python -m pip install pyromat Let me know if this doesn't work. 🙌
great explanation Brother can you solve this problem please I have tried a lot . A hollow cylindrical drum 750 mm in diameter and 2.5 m long has a shell thickness of 10 mm. If the drum is subjected to an internal pressure of 2.6N/mm²,Determine (i) Change in diameter (ii)Change in length and (iii) Change in volume. Take E = 2.1x10^5N/mm² and Poisson's ratio = 0.3.