Error

 4 Pages«<234
 Previous Topic Next Topic
 uni #61 Posted : 21 April 2023 21:17:35(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) Originally Posted by: ioncube How can I get properties of mixtures e.gCode:``CoolProp_Props("Dmass","T",273+100,"P",101.3*10^3,"Helium[0.5]&Xenon[0.5]")`` ref: http://www.coolprop.org/...properties/Mixtures.htmlThis can't be done directly in the current version of the plugin. It is not clear how to call the apply_simple_mixing_rule() function from the library, it can't be imported as it is not in the export table. maple-python-coolprop.sm (7kb) downloaded 16 time(s). maple-python-coolprop.pdf (20kb) downloaded 12 time(s). maple-python-coolprop-2.sm (6kb) downloaded 11 time(s).Edited by user 21 April 2023 21:56:13(UTC)  | Reason: Not specified Russia ☭ forever Viacheslav N. Mezentsev
 Razonar #62 Posted : 22 April 2023 11:00:09(UTC) Rank: Advanced MemberGroups: Registered Joined: 28/08/2014(UTC)Posts: 1,397Was thanked: 852 time(s) in 539 post(s) Originally Posted by: ioncube How can I get properties of mixtures e.gCode:``CoolProp_Props("Dmass","T",273+100,"P",101.3*10^3,"Helium[0.5]&Xenon[0.5]")`` ref: http://www.coolprop.org/...properties/Mixtures.htmlHi. Notice that Refprop from NIST can't handle He/Xe mixing either. At least version 9.On the other hand, maple doesn't seem to implement the procedure that Viacheslav points out either, as can be seen in the online documentation for the latest version.However, very good values can be obtained using Coolprop in SMath and some basic stoichiometry. Mixing gases.sm (20kb) downloaded 19 time(s). Mixing gases.pdf (68kb) downloaded 20 time(s).Best regards.Alvaro.
 uni #63 Posted : 22 April 2023 11:34:44(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) More simple maple-python-coolprop-3.sm (11kb) downloaded 17 time(s). maple-python-coolprop-3.1.sm (11kb) downloaded 12 time(s). maple-python-coolprop-3.2.sm (11kb) downloaded 15 time(s).Edited by user 22 April 2023 14:13:24(UTC)  | Reason: Not specified Russia ☭ forever Viacheslav N. Mezentsev 1 user thanked uni for this useful post. on 22/04/2023(UTC)
 uni #64 Posted : 27 April 2023 09:09:34(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) Now you can write like this maple-python-coolprop-3.3.sm (10kb) downloaded 15 time(s).Edited by user 27 April 2023 12:29:10(UTC)  | Reason: Not specified Russia ☭ forever Viacheslav N. Mezentsev
 uni #65 Posted : 28 April 2023 13:39:13(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) Or like this maple-python-coolprop-3.4.sm (11kb) downloaded 12 time(s). maple-python-coolprop-3.5.sm (11kb) downloaded 15 time(s).Edited by user 28 April 2023 13:58:45(UTC)  | Reason: Not specified Russia ☭ forever Viacheslav N. Mezentsev
 uni #66 Posted : 29 April 2023 21:33:10(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) maple-python-coolprop-3.6.sm (10kb) downloaded 21 time(s). Russia ☭ forever Viacheslav N. Mezentsev
 churichuro #67 Posted : 30 April 2023 04:07:03(UTC) Rank: Advanced MemberGroups: Registered Joined: 27/03/2019(UTC)Posts: 76Location: coahWas thanked: 27 time(s) in 22 post(s) is fantastic! this no work the first time but after I play with the another examples this work, very wellthank you!Edited by user 30 April 2023 04:45:48(UTC)  | Reason: Not specified
 uni #68 Posted : 04 May 2023 16:29:17(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) Without "pyfile" (inline multiline script). The script should be without comments.Space padding is necessary here so that inside the script, when a large string is divided into parts, the line break character itself is not divided ( '\n' -> '\ n' ). maple-python-coolprop-3.7.sm (10kb) downloaded 19 time(s). maple-python-coolprop-3.8.sm (7kb) downloaded 16 time(s). maple-python-coolprop-3.9.sm (9kb) downloaded 25 time(s).Edited by user 04 May 2023 21:12:38(UTC)  | Reason: Not specified Russia ☭ forever Viacheslav N. Mezentsev
 ioncube #69 Posted : 30 July 2023 14:12:32(UTC) Rank: Advanced MemberGroups: Registered Joined: 04/12/2017(UTC)Posts: 61Was thanked: 2 time(s) in 2 post(s) Uni, can you please help me how to add python into SMATH, I have python already in system [WinPython 3.9] How I link it up with Smath?I have working CoolProp
 ioncube #70 Posted : 30 July 2023 19:33:42(UTC) Rank: Advanced MemberGroups: Registered Joined: 04/12/2017(UTC)Posts: 61Was thanked: 2 time(s) in 2 post(s) Jean, can you help me how do integrate python in my Smath? I event tried environmental variables under Win10 but didn't work
 uni #71 Posted : 31 July 2023 09:45:32(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) You should use a double slash for the full path.Originally Posted by: ioncube I event tried environmental variables under Win10 but didn't workIn this case, you need to check whether python is available from the command line. If not, it means that the paths are specified incorrectly.Edited by user 31 July 2023 09:49:17(UTC)  | Reason: Not specified Russia ☭ forever Viacheslav N. Mezentsev
 ioncube #72 Posted : 03 August 2023 01:17:11(UTC) Rank: Advanced MemberGroups: Registered Joined: 04/12/2017(UTC)Posts: 61Was thanked: 2 time(s) in 2 post(s) uni, thanks a lotCan you tell me what is this block you used after python sub-section [i.e with the square bracket & holding script conetnts] Additionally Razonar sample here is also very intuitive while calculating mixing valueshttps://en.smath.com/for...-of-state.aspx#post82120Edited by user 03 August 2023 01:19:12(UTC)  | Reason: Not specified
 uni #73 Posted : 03 August 2023 09:06:16(UTC) Rank: Advanced MemberGroups: Registered, Advanced MemberJoined: 10/11/2010(UTC)Posts: 1,505Was thanked: 1280 time(s) in 748 post(s) Originally Posted by: ioncube uni, thanks a lotCan you tell me what is this block you used after python sub-section [i.e with the square bracket & holding script conetnts]Mathcad Block from the Mathcad Toolbox plugin and just Text inside it for the script.Edited by user 03 August 2023 09:08:14(UTC)  | Reason: Not specified Russia ☭ forever Viacheslav N. Mezentsev
 ioncube #74 Posted : 04 August 2023 21:23:07(UTC) Rank: Advanced MemberGroups: Registered Joined: 04/12/2017(UTC)Posts: 61Was thanked: 2 time(s) in 2 post(s) uni, so it means the text inside the block is not automatically generated. Can you please explain the constructOn second note you were correct, I fixed my environment variable under windows %python% now worksEdited by user 04 August 2023 21:24:47(UTC)  | Reason: Not specified
 Razonar #75 Posted : 08 August 2023 08:01:18(UTC) Rank: Advanced MemberGroups: Registered Joined: 28/08/2014(UTC)Posts: 1,397Was thanked: 852 time(s) in 539 post(s) Phase diagrams with CoolProps. PhaseDiagram.sm (40kb) downloaded 22 time(s).Best regards.Alvaro. 1 user thanked Razonar for this useful post. on 08/08/2023(UTC)
 Razonar #76 Posted : 09 August 2023 09:47:50(UTC) Rank: Advanced MemberGroups: Registered Joined: 28/08/2014(UTC)Posts: 1,397Was thanked: 852 time(s) in 539 post(s) Psychrometric Chart with CoolProps. 'Simplified' version (more readable): Enthalpy lines overlap web bulb temperature lines. PsychrometricChart.sm (126kb) downloaded 24 time(s).Best regards.Alvaro.
 ioncube #77 Posted : 21 August 2023 23:39:50(UTC) Rank: Advanced MemberGroups: Registered Joined: 04/12/2017(UTC)Posts: 61Was thanked: 2 time(s) in 2 post(s) I think I have found some problems while using plugin to get phase properties as discussed here: http://www.coolprop.org/...osing-the-phase-optionalFirst when using "P|phase_gas" it doesn't accept units & T,P values have to be directly written in SI equivalentSecond there is a value discrepancy when using "P" & "P|phase_gas" for a fluid that exists only in gas phase at that T,P Worksheet1.sm (15kb) downloaded 9 time(s).
 mkraska #78 Posted : 16 April 2024 09:55:20(UTC) Rank: Advanced MemberGroups: Registered Joined: 15/04/2012(UTC)Posts: 2,008Was thanked: 1141 time(s) in 733 post(s) It seems that multiple instances of SMath can't use the plugin at the same time.How to reproduce: 1. Open SMath and access any Coolprop function2. Open another SMath instance: You get an error message Martin Kraska Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
 Users browsing this topic
 4 Pages«<234
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.