Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline OchkovVF  
#1 Posted : 06 November 2023 06:13:14(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
I have f(x, y) - thermal efficiency of a steam turbine with two steam extractions for heating feed water depending on the extraction pressures.
Question.
1. How to find the optimal pressure values at which the efficiency will be maximum?
2. Is it possible to build a surface? For now I have two separate 2D graphics.
More https://link.springer.co...0.1007/978-3-319-26674-9
2RegP-Ideal-new.sm (95kb) downloaded 13 time(s).
2RegP-Ideal-Skhema.png
2RegP-Ideal-Plots.png

Edited by user 06 November 2023 06:21:22(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline OchkovVF  
#2 Posted : 06 November 2023 06:43:57(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
No, you cannot replace WaterSteamPro with Cool Prop for water/steam.
WaterSteamPro is a certified program!
Compare please two plots
4-KPD-Plots-Cool_Prop.png
3-KPD-Plots-WSP.png

Edited by user 07 November 2023 08:15:34(UTC)  | Reason: Not specified

Offline mkraska  
#3 Posted : 07 November 2023 09:44:54(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
I am not familiar with CoolProps but I think I could make a nice 3D plot with Maxima if you provide the smath file
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 07/11/2023(UTC)
Offline OchkovVF  
#4 Posted : 07 November 2023 19:10:43(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: mkraska Go to Quoted Post
I am not familiar with CoolProps but I think I could make a nice 3D plot with Maxima if you provide the smath file


Thanks, Martin!
Must be someone so
Mathcad-WSP.png
Offline mkraska  
#5 Posted : 07 November 2023 20:53:03(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
OK but I need a file where the wsp calls are replaced by coolprop ones. Even if plotting doesn't work as expected.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline OchkovVF  
#6 Posted : 08 November 2023 19:05:10(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: mkraska Go to Quoted Post
OK but I need a file where the wsp calls are replaced by coolprop ones. Even if plotting doesn't work as expected.


See please attach
2RegP-Ideal-Cool_Prop-95.sm (74kb) downloaded 16 time(s).
2RegP-Ideal-Cool_Prop-95.pdf (362kb) downloaded 9 time(s).
Martin (and all), I am waiting for the solution - 3D-plot and optimal values of p1 and p2.
Offline mkraska  
#7 Posted : 09 November 2023 03:11:41(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Just the plot, no optimization yet.

2023-11-08 15_08_23-SMath Solver - [2RegP-Ideal-Cool_Prop-95_Kr.sm_].png
2RegP-Ideal-Cool_Prop-95_Kr.sm (301kb) downloaded 15 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 2 users thanked mkraska for this useful post.
on 09/11/2023(UTC),  on 09/11/2023(UTC)
Offline OchkovVF  
#8 Posted : 09 November 2023 07:16:22(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
No optimization yet.
For checking
Answer.png

Offline Jean Giraud  
#9 Posted : 10 November 2023 00:31:08(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: OchkovVF Go to Quoted Post
No, you cannot replace WaterSteamPro with Cool Prop for water/steam.
WaterSteamPro is a certified program!

Agreed: CoolProp is CoolProp.
For quick visit, I use freeware Katmar IAPWS=97 in all sorts of units.
By same token, in Smath, we have lot of water/steam formulas.
What about you tabulate matrix style, then spline/interpolate.
I will be back on your document ... Jean
thanks 1 user thanked Jean Giraud for this useful post.
on 10/11/2023(UTC)
Offline OchkovVF  
#10 Posted : 10 November 2023 19:49:18(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: OchkovVF Go to Quoted Post
No, you cannot replace WaterSteamPro with Cool Prop for water/steam.
WaterSteamPro is a certified program!

Agreed: CoolProp is CoolProp.
For quick visit, I use freeware Katmar IAPWS=97 in all sorts of units.
By same token, in Smath, we have lot of water/steam formulas.
What about you tabulate matrix style, then spline/interpolate.
I will be back on your document ... Jean

1-Plagin.png (702kb) downloaded 0 time(s).
2-WSP.png
3-Format.png
Offline Jean Giraud  
#11 Posted : 11 November 2023 07:40:46(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... confirmed vs my formula IAPWS-97
Offline mkraska  
#12 Posted : 12 November 2023 08:37:31(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: OchkovVF Go to Quoted Post
No optimization yet.
For checking
Answer.png



I get slightly different values. Still no automatic optimization because the objective function doesn't translate to Maxima. As a first step I made the function more robust by solving the two equations sequentially instead of simultaneously. In the original version sampling for the plot occasionally failed.

Plot MPa.pdf (220kb) downloaded 4 time(s).
2RegP-Ideal-Cool_Prop-95_Kr_detail.sm (158kb) downloaded 9 time(s).
2023-11-11 19_21_55-SMath Solver - [2RegP-Ideal-Cool_Prop-95_Kr_detail.sm_].png
2RegP-Ideal-Cool_Prop-95_Kr_detail.pdf (521kb) downloaded 6 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 2 users thanked mkraska for this useful post.
on 12/11/2023(UTC),  on 12/11/2023(UTC)
Offline OchkovVF  
#13 Posted : 12 November 2023 08:51:46(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Wonderful!
But I dare to note that a real steam turbine unit has up to eight steam extractions from the turbine to regenerative heaters. And not only mixing, but also surface type.

Offline Razonar  
#14 Posted : 12 November 2023 15:07:21(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: mkraska Go to Quoted Post
I get slightly different values. ...

Hi. Using the definition for partial derivatives and a pure numerical solver.

Clipboard01.png

2RegP-Ideal-Cool_Prop-95_Kr_detail.sm (163kb) downloaded 10 time(s).

Best regards.
Alvaro.
thanks 3 users thanked Razonar for this useful post.
on 12/11/2023(UTC),  on 12/11/2023(UTC),  on 13/11/2023(UTC)
Offline OchkovVF  
#15 Posted : 14 November 2023 08:13:59(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
6-KPD-Plots.png

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.