Тёмный
No video :(

Calculating the thermal efficiency of an Ideal Rankine Cycle using Python | PYroMat | Thermodynamics 

Adriaan Van Niekerk
Подписаться 3,4 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@christophermartin3024
@christophermartin3024 3 года назад
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.
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
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.
@johnyjoe2k
@johnyjoe2k 3 года назад
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!
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
I am really glad it was helpful! Please do let me know if you have any other questions about Pyromat 👍
@jungshin8442
@jungshin8442 Год назад
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!
@AdriaanVanNiekerk
@AdriaanVanNiekerk Год назад
Thank you so much! I really appreciate the feedback. 🙏
@AgusMastex
@AgusMastex 3 года назад
Thank you lots!! I was looking for a easy to use open-source alternative to EES for my Thermodynamics course and this is exactly what I needed
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
EES is great, but outside of university it becomes really expensive. Glad you found the video useful 👌🏻
@nismoskys
@nismoskys 4 года назад
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
@AdriaanVanNiekerk 4 года назад
Thank you for the comment! I am glad it was helpful. I haven't used thermopy before, but I will definitely check it out!
@faruksar8608
@faruksar8608 3 года назад
This module looks like a perfect fit for my thermodynamic final homework. Thank you so much.. Glad to know You :))
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
Glad you found it useful! What was the homework about?
@faruksar8608
@faruksar8608 3 года назад
@@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.
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
@@faruksar8608 nice! Sounds really interesting 👍🏻
@faruksar8608
@faruksar8608 3 года назад
@@AdriaanVanNiekerk I can use Ricardo wave drawings also :)
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
@@faruksar8608 what drawings are you referring to? The visuals of the canvas?
@yenenehtamrat1896
@yenenehtamrat1896 2 года назад
When I check the default the unit of pressure is in bar. How can I change it to KPa?
@jeannedaher3285
@jeannedaher3285 3 года назад
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.
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
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 🙌
@mrbarakat123
@mrbarakat123 3 года назад
How does pyromat compare to coolprop, in terms of finding thermodynamical properties?
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
Good question. I haven’t used coolprop before. I will have to check it out. 👍🏻
@hichamelmadioune6376
@hichamelmadioune6376 4 года назад
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
@AdriaanVanNiekerk
@AdriaanVanNiekerk 4 года назад
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?🙌
@hichamelmadioune6376
@hichamelmadioune6376 4 года назад
@@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
@AdriaanVanNiekerk
@AdriaanVanNiekerk 4 года назад
@@hichamelmadioune6376 Glad it is working! Do share some problems that you solve with PYroMat
@hichamelmadioune4133
@hichamelmadioune4133 4 года назад
Yeah of course!! i'll do it. i have exams this days maybe later on.
@nismoskys
@nismoskys 4 года назад
​@@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.
@gsejal395gmailcom
@gsejal395gmailcom 9 месяцев назад
Please upload PDF file in description
@matheshsk3977
@matheshsk3977 3 года назад
sir i dont know what is pyromat and how to import it please help
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
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. 🙌
@matheshsk3977
@matheshsk3977 3 года назад
Sir i successfully pip installed pyromat and then copied the code on git hub and pasted it on python but it seems there is error in code
@AdriaanVanNiekerk
@AdriaanVanNiekerk 3 года назад
@@matheshsk3977 What is the error that they give?
@matheshs.k8535
@matheshs.k8535 3 года назад
Traceback(most recent call last) : line 24
@matheshs.k8535
@matheshs.k8535 3 года назад
Nameerror:"h2" Is not defined
@vibewithammu179
@vibewithammu179 3 года назад
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.
@vibewithammu179
@vibewithammu179 3 года назад
you can paste the code over here in comment box..
Далее
Basic CoolProp Tutorial (Python Thermodynamics)
17:14
What I would do differently as an engineering student
9:23