f(x, y) - 3D plot and optimal point

f(x, y) - 3D plot and optimal point - Steam Turbine - Poruke

#1 Objavljeno: 6. 11. 2023. 00:13:14
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

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.com/book/10.1007/978-3-319-26674-9
2RegP-Ideal-new.sm (94,95 KiB) preuzeto 1606 put(ova).
2RegP-Ideal-Skhema.png
2RegP-Ideal-Plots.png
#2 Objavljeno: 6. 11. 2023. 00:43:57
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

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
#3 Objavljeno: 7. 11. 2023. 03:44:54
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

I am not familiar with CoolProps but I think I could make a nice 3D plot with Maxima if you provide the smath file
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
Valery Ochkov 7. 11. 2023. 13:09:00
#4 Objavljeno: 7. 11. 2023. 13:10:43
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

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
#5 Objavljeno: 7. 11. 2023. 14:53:03
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

OK but I need a file where the wsp calls are replaced by coolprop ones. Even if plotting doesn't work as expected.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#6 Objavljeno: 8. 11. 2023. 13:05:10
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

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 (73,63 KiB) preuzeto 1588 put(ova).
2RegP-Ideal-Cool_Prop-95.pdf (361,44 KiB) preuzeto 975 put(ova).
Martin (and all), I am waiting for the solution - 3D-plot and optimal values of p1 and p2.
#7 Objavljeno: 8. 11. 2023. 21:11:41
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

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 (300,35 KiB) preuzeto 1588 put(ova).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 korisnika je svidelo ovu objavu
Oscar Campo 8. 11. 2023. 21:22:00, Valery Ochkov 8. 11. 2023. 22:27:00
#8 Objavljeno: 9. 11. 2023. 01:16:22
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

No optimization yet.
For checking
Answer.png

#9 Objavljeno: 9. 11. 2023. 18:31:08
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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 korisnika je svidelo ovu objavu
Valery Ochkov 9. 11. 2023. 18:37:00
#10 Objavljeno: 10. 11. 2023. 13:49:18
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

Wrote

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
2-WSP.png
3-Format.png
#11 Objavljeno: 11. 11. 2023. 01:40:46
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

... confirmed vs my formula IAPWS-97
#12 Objavljeno: 12. 11. 2023. 02:37:31
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

Wrote

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 (219,47 KiB) preuzeto 976 put(ova).
2RegP-Ideal-Cool_Prop-95_Kr_detail.sm (157,12 KiB) preuzeto 1604 put(ova).
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 (520,5 KiB) preuzeto 924 put(ova).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 korisnika je svidelo ovu objavu
Valery Ochkov 12. 11. 2023. 02:41:00, Alvaro 12. 11. 2023. 09:04:00
#13 Objavljeno: 12. 11. 2023. 02:51:46
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

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.

#14 Objavljeno: 12. 11. 2023. 09:07:21
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Wrote

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 (162,36 KiB) preuzeto 1523 put(ova).

Best regards.
Alvaro.
3 korisnika je svidelo ovu objavu
Martin Kraska 12. 11. 2023. 09:10:00, Valery Ochkov 12. 11. 2023. 14:12:00, Oscar Campo 12. 11. 2023. 18:29:00
#15 Objavljeno: 14. 11. 2023. 02:13:59
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

6-KPD-Plots.png

  • Novi postovi
  • Nema novih postova