CoolProp Wrapper

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

#21 Posted: 10/26/2016 5:07:40 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Also, no dynamic assistance is available. Though disabling the plugin doesn't help.



Dynamic assistance is enabled in the program's options?

2016-10-26 10_04_52-SMath Studio 0.98.6128 - [Page1].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Mike Kaganski 10/26/2016 5:00:00 PM
#22 Posted: 10/26/2016 5:39:09 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Wrote

Dynamic assistance is enabled in the program's options?



С уважением, Михаил Каганский
1 users liked this post
Davide Carpi 10/26/2016 6:50:00 AM
#23 Posted: 10/26/2016 8:14:41 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hello Jean, according with CoolProp documentation "Q" stands for "Mass vapor quality", thus 1 is 1 mol/mol



Thanks Davide for "unitless Q" and the link to CoolProp Wrapper

WASP.gif

1 users liked this post
Davide Carpi 10/26/2016 12:50:00 PM
#24 Posted: 10/26/2016 12:49:17 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Here's what I see:
CoolProp61.png



Try now
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
Mike Kaganski 10/26/2016 5:00:00 PM, Radovan Omorjan 10/26/2016 6:18:00 PM
#25 Posted: 10/26/2016 5:02:49 PM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Thanks, Davide!
It's fixed indeed.
С уважением, Михаил Каганский
#26 Posted: 1/6/2017 9:24:08 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

A german smath user contacted me and asked me to include the steamtable dll for EFI in the portable distribution. They weren't included in the recent update because this involves some additional config work and I assumed that the coolprop wrapper might be a replacement.

According to the mentioned user, the steamtables are of better accuracy than the coolprop functions. Thus I now updated the portable distribution.

The user also asked for speed of sound and isentropic exponent functions. Is there a way to help him?

Martin Kraska
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#27 Posted: 1/8/2017 12:41:22 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

The user also asked for speed of sound and isentropic exponent functions. Is there a way to help him?

Martin Kraska



"WASP" is freeware for 10 minutes use, unlimited sessions.
"WASP" from "Katmar". all properties are tabulated per T(°C) or P(abs).

Jean

#28 Posted: 1/8/2017 3:58:05 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

The user also asked for speed of sound and isentropic exponent functions. Is there a way to help him?


As for the speed of sound can be accessed using "A" or "speed_of_sound"
2017-01-07 17_36_28-SMath Studio - [CoolProp_demo.sm_].png

For the isentropic functions I googled "isentropic coolprop" and there is something but it is not my field, maybe Mike can give some hints.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#29 Posted: 5/16/2017 6:31:50 PM
timgow

timgow

0 likes in 27 posts.

Group: User

Hello

On entering >>CoolProp_Props("D","T",298.15*K,"P",10*bar,"CO2")=<< I receive a message "K not defined;

Are the double quotes correct?

Tim
#30 Posted: 5/16/2017 7:35:12 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello Tim,

Wrote

On entering >>CoolProp_Props("D","T",298.15*K,"P",10*bar,"CO2")=<< I receive a message "K not defined;



You missed the units character (apostrophe) before K and bar -> 'K, 'bar

CoolProp_Props("D","T",298.15*'K,"P",10*'bar,"CO2")


2017-05-17 00_36_10-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#31 Posted: 5/17/2017 5:10:17 AM
timgow

timgow

0 likes in 27 posts.

Group: User

Hello Davide,
Thank you for looking into my issue.

I had indeed overlooked the apostrophe, thank you.

I copy and pasted your coolprops statement into SMath but I don't get an answer, instead a red border around the statement.
I also typed the statement in from fresh and I get the same.

Is the ordinary >> = << used on a coolprops statement? Will the answer appear before units are applied to the result?
What is the most simple test to see coolprops working?

Tim
#32 Posted: 5/17/2017 5:21:36 AM
timgow

timgow

0 likes in 27 posts.

Group: User

This a screenshot of my coolprops entry, attached.Screenshot from 2017-05-17 09-14-49.png
Tim

p.s. I don't see how to paste the image; the Insert Image command asks for a URL.
#33 Posted: 5/17/2017 6:51:58 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

What's the error message now?

Simplest way to check if it might works should be:

CoolProp_get_global_param_string("version"

Also, here there are 3 worksheets to run as test
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#34 Posted: 12/22/2017 9:39:02 PM
Aleksey

Aleksey

1 likes in 2 posts.

Group: User

Hello,

CoolProp_get_global_param_string("version"
lastError="Error message couldn't be retrieved from CoolProp library (buffer size issue?); the second try returned: "

trbl.jpg
what's the problem?
#35 Posted: 12/23/2017 5:47:39 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello,

which versions of SMath and CoolProp plugin are you using?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#36 Posted: 12/25/2017 2:27:58 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

what's the problem?


There may be two issues:
1. WASP is awfully involved in Basic construction. I coded it in Mathcad 11
Get the Katmar WASP [very complete] free for 2 min session, unlimited sessions.
2. The published Basic is unitless, the CoolProp is unit based,
that is enough to freaked the codes. The Mathcad version from Valery was OK.
Sorry, can't help more.

#37 Posted: 12/25/2017 11:59:35 PM
Aleksey

Aleksey

1 likes in 2 posts.

Group: User

Error:
Error message couldn't be retrieved from CoolProp library (buffer size issue?); the second try returned:

Wrote

which versions of SMath and CoolProp plugin are you using?


Hello,

version SMath - 0.98(build 6484)
version CoolProp -
[albumimg]1466[/albumimg]

I'm try on the various Windows platforms (32/64):

good result on
Win10x64Pro, Win7x64Ultim
[albumimg]1465[/albumimg]

don't working on
Win10x86Pro, Win10x86Educ, Win7x86Pro
[albumimg]1468[/albumimg]

Best regards,
Aleksey
1 users liked this post
Davide Carpi 12/27/2017 12:43:00 PM
#38 Posted: 12/27/2017 3:43:32 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

This is just a comment.

Assume my firm knows nothing about Smath and you are doing a project for us
and the project requires be tracable and you would use CoolProp-Wrapper.
If you can't prove it is certified, it won't pass QA.
CoolProp-Wrapper would be rejected [as simple as that].

IMHO, from this thread, CoolProp must be doctored regardless of the
Win version and/or Smath version.
#39 Posted: 12/27/2017 12:47:24 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

don't working on
Win10x86Pro, Win10x86Educ, Win7x86Pro



Thank you, reproduced. Something goes wrong with the wrapped 32 bit library (the coolprop dll returns both the correct result as well as an error code, hence the errors shown).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#40 Posted: 1/16/2018 9:28:09 PM
David Avila Cortes

David Avila Cortes

1 likes in 2 posts.

Group: User

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?
  • New Posts New Posts
  • No New Posts No New Posts