CoolProp Wrapper

CoolProp Wrapper - Pure and pseudo-pure fluid equations of state and transport properties for 122 components - Poruke

#41 Objavljeno: 17. 1. 2018. 04:48:45
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: Moderator

Wrote

is it possible to run it on ubuntu 17.10 using mono?, I can't get it to work, when I try to evaluate "CoolProp_get_global_param_string("version")" I just get a little yellow message under the command that reads "CoolProp_x64", or do I need to compile the coolprop binaries ins some specific folder or is it a standalone plugin-extension?



The plug-in it's composed by 3 files, the SMath wrapper plus 2 coolprop libraries (one for x86 systems, the other for x64 ones); according to this issue, it should be possible if you compile the coolprop library (the core) in your machine and then you replace the one shared within this plugin.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#42 Objavljeno: 18. 6. 2020. 14:56:52
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Updated.

Changes: refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Davide Carpi 18. 6. 2020. 19:29:00
#43 Objavljeno: 11. 2. 2021. 04:05:01
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

Wrote

Updated.
Changes: refactored.


I just started playing with this tool, so please be patient with my ignorance.

Updated to what? The version on my system is 6.1.0; however, the CoolProp website is on 6.4.1
I've also noticed that some of the description paramater names fail.
Screenshot 2021-02-11 015712.png
In addition, off of other threads, there appears to be "commands" that are no longer valid. An example would be FProp here.. Please advise.

I'm still searching for information as to what the other functions do (e.g. CoolProp_get_param_index)

#44 Objavljeno: 11. 2. 2021. 08:29:51
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Wrote

The plug-in it's composed by 3 files, the SMath wrapper plus 2 coolprop libraries (one for x86 systems, the other for x64 ones)


The plugin consists of two parts: a wrapper and a library. I didn't change the library, I just updated the wrapper source code.
It is possible to update the library version. I don't know where the documentation is and how the set of parameters changes depending on the version.
Russia ☭ forever, Viacheslav N. Mezentsev
#45 Objavljeno: 11. 2. 2021. 10:24:03
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

Wrote

Wrote

The plug-in it's composed by 3 files, the SMath wrapper plus 2 coolprop libraries (one for x86 systems, the other for x64 ones)


The plugin consists of two parts: a wrapper and a library. I didn't change the library, I just updated the wrapper source code.
It is possible to update the library version. I don't know where the documentation is and how the set of parameters changes depending on the version.


What is the correct location for the wrapper? From the 1st post, these are invalid
Citat

Official SMath wrapper (you have to build it by yourself, instructions in his documentation)

  • repository: https://github.com/CoolProp/CoolProp/tree/master/wrappers/SMath;
  • documentation: http://www.coolprop.org/coolprop/wrappers/SMath/;


I may take a crack at compiling the newer version
#46 Objavljeno: 11. 2. 2021. 11:08:59
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

I can update the whole plugin including the library if you need.
Russia ☭ forever, Viacheslav N. Mezentsev
#47 Objavljeno: 11. 2. 2021. 13:40:37
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

Wrote

I can update the whole plugin including the library if you need.


That would be appreciated. Version 6.1.0 is from 2016 and 6.4.1 is Aug. 2020.
On another post (by you), there seemed to be a relation with MathCad. In Sourceforge, MathCad and Prime are compiled by the CoolProp group. Could those files be used so we can just update the few dll files?
https://sourceforge.net/projects/coolprop/files/CoolProp/6.4.1/
https://sourceforge.net/projects/coolprop/files/CoolProp/nightly/
#48 Objavljeno: 12. 2. 2021. 01:14:30
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Wrote

On another post (by you), there seemed to be a relation with MathCad. In Sourceforge, MathCad and Prime are compiled by the CoolProp group. Could those files be used so we can just update the few dll files?


Yes, you can use these libraries, but this is not a good idea. Better to use direct way.
Russia ☭ forever, Viacheslav N. Mezentsev
#49 Objavljeno: 12. 2. 2021. 02:12:20
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Sources

Updated. Please try.

Changes:

- CoolProp library updated to 6.4.1;
- refactored.

Wrote

What is the correct location for the wrapper? From the 1st post, these are invalid


%appdata%\SMath\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f
Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Alvaro 13. 2. 2021. 02:54:00
#50 Objavljeno: 18. 6. 2021. 20:11:35
Bruno Bate

Bruno Bate

1 svidjanja u 5 postova.

Grupa: User

I am now getting the following error when using the CoolProp incompressible fluids library call

Initialize failed for backend: "?", fluid: "INCOMP::MEG-50%" fractions "[1.0000000 ]"; error: key [INCOMP::MEG-50%] was not found in string_to_index_map in JSONFluidLibrary : PropsSI("D","T",288.15,"P",101325.3532,"INCOMP::MEG-50%" )

This call was working March of this year. Any suggestions on what may be causing this issue?

Using:
CoolProp Wrapper Plugin 6.1.7713.14622
Smath Version: Smath Studio Desktop 64-bit, 0.99 (build: 7822)
CoolProp Version: CoolProp_v6.4.1.0
#51 Objavljeno: 25. 6. 2021. 06:53:31
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

PropsSI.jpg

PropsSI() function is from another plugin (mcadefi + mathcad coolprop lib).

CoolProp_Props.jpg

CoolProp_Props.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Andrey Ivashov 25. 6. 2021. 16:27:00
#52 Objavljeno: 27. 8. 2021. 19:22:19
Bruno Bate

Bruno Bate

1 svidjanja u 5 postova.

Grupa: User

App Version: "0.99.7822.147"
Windows 10 Pro 64-bit

Issue: CoolProp Plugin functions not recognized by Smath

What I've tried:
- Adding/removing CoolProp Plugin (through the Extensions Manager in Smath Studio Desktop)
- re-installed SMATH Studio; deleting plugin folder after uninstall
- Re-installing CoolProp

Could you please provide guidance on what may be causing this issue?


1 korisnika je svidelo ovu objavu
Вячеслав Мезенцев 28. 8. 2021. 04:50:00
#53 Objavljeno: 28. 8. 2021. 02:01:45
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

The reason for this behavior has not yet been clarified. Use this library for now, replacing the original one (\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\x.x.x.x\).

CoolPropWrapper-6.4.7910.17946.zip (2,54 MiB) preuzeto 610 put(ova).
Russia ☭ forever, Viacheslav N. Mezentsev
#54 Objavljeno: 2. 9. 2021. 17:11:40
Bruno Bate

Bruno Bate

1 svidjanja u 5 postova.

Grupa: User

Wrote

The reason for this behavior has not yet been clarified. Use this library for now, replacing the original one (\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\x.x.x.x\).

CoolPropWrapper-6.4.7910.17946.zip (2,54 MiB) preuzeto 610 put(ova).



I've downloaded the .dll you provided and placed it in the plugins folder.
I get the following error message when I open Smath:

PluginError
#55 Objavljeno: 3. 9. 2021. 04:14:56
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

You need to place it here:
%appdata%\SMath\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\6.4.7910.14793\

The last numbers may vary. This is the plugin folder. After replacing the file (CoolPropWrapper.dll), everything should work.
Russia ☭ forever, Viacheslav N. Mezentsev
#56 Objavljeno: 3. 9. 2021. 06:56:54
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

SMath Studio compatibility

Plugin updated.

Changes:
- all function's classes now marked as public.

It should work now. You can update the plugin.
Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Alvaro 3. 9. 2021. 12:50:00
#57 Objavljeno: 3. 9. 2021. 12:55:30
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Wrote

SMath Studio compatibility

Plugin updated.

Changes:
- all function's classes now marked as public.

It should work now. You can update the plugin.



Hi Viacheslav, thanks, it works. But there are an small issue with the unicode strings

Clipboard01.jpg

Best regards.
Alvaro.
1 korisnika je svidelo ovu objavu
#58 Objavljeno: 3. 9. 2021. 15:32:39
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Okay, you caught me.

Plugin updated. Try now.

2021-09-03_23-34-35.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Alvaro 3. 9. 2021. 18:22:00
#59 Objavljeno: 3. 9. 2021. 18:21:53
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi. Great! Now the demo file in the first post works perfect.

Best regards.
Alvaro.
#60 Objavljeno: 19. 4. 2023. 12:38:31
usamakhan

usamakhan

7 svidjanja u 98 postova.

Grupa: User

How can I get properties of mixtures e.g

CoolProp_Props("Dmass","T",273+100,"P",101.3*10^3,"Helium[0.5]&Xenon[0.5]"
ref: http://www.coolprop.org/fluid_properties/Mixtures.html
  • Novi postovi
  • Nema novih postova