CoolProp Wrapper

CoolProp Wrapper - Pure and pseudo-pure fluid equations of state and transport properties for 122 components - Сообщения

#41 Опубликовано: 17.01.2018 04:48:45
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 18.06.2020 14:56:52
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated.

Changes: refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Davide Carpi 18.06.2020 19:29:00
#43 Опубликовано: 11.02.2021 04:05:01
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: 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 Опубликовано: 11.02.2021 08:29:51
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 11.02.2021 10:24:03
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: 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
Цитата

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 Опубликовано: 11.02.2021 11:08:59
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

I can update the whole plugin including the library if you need.
Russia ☭ forever, Viacheslav N. Mezentsev
#47 Опубликовано: 11.02.2021 13:40:37
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: 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 Опубликовано: 12.02.2021 01:14:30
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 12.02.2021 02:12:20
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Alvaro Diaz Falconi 13.02.2021 02:54:00
#50 Опубликовано: 18.06.2021 20:11:35
Bruno Bate

Bruno Bate

1 сообщений из 5 понравились пользователям.

Группа: 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 Опубликовано: 25.06.2021 06:53:31
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Andrey Ivashov 25.06.2021 16:27:00
#52 Опубликовано: 27.08.2021 19:22:19
Bruno Bate

Bruno Bate

1 сообщений из 5 понравились пользователям.

Группа: 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 пользователям понравился этот пост
#53 Опубликовано: 28.08.2021 02:01:45
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 МиБ) скачан 67 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#54 Опубликовано: 02.09.2021 17:11:40
Bruno Bate

Bruno Bate

1 сообщений из 5 понравились пользователям.

Группа: 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 МиБ) скачан 67 раз(а).



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 Опубликовано: 03.09.2021 04:14:56
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 03.09.2021 06:56:54
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Alvaro Diaz Falconi 03.09.2021 12:50:00
#57 Опубликовано: 03.09.2021 12:55:30
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: 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 пользователям понравился этот пост
#58 Опубликовано: 03.09.2021 15:32:39
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Okay, you caught me.

Plugin updated. Try now.

2021-09-03_23-34-35.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Alvaro Diaz Falconi 03.09.2021 18:22:00
#59 Опубликовано: 03.09.2021 18:21:53
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

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

Best regards.
Alvaro.
#60 Опубликовано: 19.04.2023 12:38:31
usamakhan

usamakhan

3 сообщений из 75 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений