Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

3 Pages<123>
Options
Go to last post Go to first unread
Offline Davide Carpi  
#21 Posted : 26 October 2016 11:07:40(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,928
Man
Italy
Location: Italy

Was thanked: 972 time(s) in 647 post(s)
Originally Posted by: mikekaganski Go to Quoted Post
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
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
thanks 1 user thanked Davide Carpi for this useful post.
on 26/10/2016(UTC)
Offline mikekaganski  
#22 Posted : 26 October 2016 11:39:09(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
Dynamic assistance is enabled in the program's options?


Clap Clap Clap Clapping
Best regards,
Mike Kaganski
thanks 1 user thanked mikekaganski for this useful post.
on 26/10/2016(UTC)
Offline Jean Giraud  
#23 Posted : 26 October 2016 14:14:41(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,776
Canada

Was thanked: 563 time(s) in 435 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
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

thanks 1 user thanked Jean Giraud for this useful post.
on 26/10/2016(UTC)
Offline Davide Carpi  
#24 Posted : 26 October 2016 18:49:17(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,928
Man
Italy
Location: Italy

Was thanked: 972 time(s) in 647 post(s)
Originally Posted by: mikekaganski Go to Quoted Post
Here's what I see:
CoolProp61.png


Try now Good
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
thanks 2 users thanked Davide Carpi for this useful post.
on 26/10/2016(UTC),  on 27/10/2016(UTC)
Offline mikekaganski  
#25 Posted : 26 October 2016 23:02:49(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
Thanks, Davide!
It's fixed indeed.
Best regards,
Mike Kaganski
Offline mkraska  
#26 Posted : 07 January 2017 03:24:08(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,387
Germany

Was thanked: 703 time(s) in 460 post(s)
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/wi...th%20with%20Plugins.ashx
Offline Jean Giraud  
#27 Posted : 08 January 2017 18:41:22(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,776
Canada

Was thanked: 563 time(s) in 435 post(s)
Originally Posted by: mkraska Go to Quoted Post
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

Offline Davide Carpi  
#28 Posted : 08 January 2017 21:58:05(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,928
Man
Italy
Location: Italy

Was thanked: 972 time(s) in 647 post(s)
Originally Posted by: mkraska Go to Quoted Post
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.
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline Tim Gowing  
#29 Posted : 17 May 2017 00:31:50(UTC)
Tim Gowing


Rank: Member

Groups: Registered
Joined: 16/05/2017(UTC)
Posts: 14
United Kingdom

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

Edited by moderator 17 May 2017 01:33:10(UTC)  | Reason: added noparse BBcode

Offline Davide Carpi  
#30 Posted : 17 May 2017 01:35:12(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,928
Man
Italy
Location: Italy

Was thanked: 972 time(s) in 647 post(s)
Hello Tim,

Originally Posted by: Tim Gowing Go to Quoted Post
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
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline Tim Gowing  
#31 Posted : 17 May 2017 11:10:17(UTC)
Tim Gowing


Rank: Member

Groups: Registered
Joined: 16/05/2017(UTC)
Posts: 14
United Kingdom

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
Offline Tim Gowing  
#32 Posted : 17 May 2017 11:21:36(UTC)
Tim Gowing


Rank: Member

Groups: Registered
Joined: 16/05/2017(UTC)
Posts: 14
United Kingdom

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.
Offline Davide Carpi  
#33 Posted : 17 May 2017 12:51:58(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,928
Man
Italy
Location: Italy

Was thanked: 972 time(s) in 647 post(s)
What's the error message now?

Simplest way to check if it might works should be:

Code:
CoolProp_get_global_param_string("version")


Also, here there are 3 worksheets to run as test
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline Aleksey  
#34 Posted : 23 December 2017 03:39:02(UTC)
Aleksey

Rank: Newbie

Groups: Registered
Joined: 23/12/2017(UTC)
Posts: 2
Man
Russian Federation

Was thanked: 1 time(s) in 1 post(s)
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?

Edited by moderator 23 December 2017 11:46:10(UTC)  | Reason: image attached (please use attach button instead of external services, if possible)

Offline Davide Carpi  
#35 Posted : 23 December 2017 11:47:39(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,928
Man
Italy
Location: Italy

Was thanked: 972 time(s) in 647 post(s)
Hello,

which versions of SMath and CoolProp plugin are you using?
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline Jean Giraud  
#36 Posted : 25 December 2017 08:27:58(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,776
Canada

Was thanked: 563 time(s) in 435 post(s)
Originally Posted by: Aleksey Go to Quoted Post
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.

Offline Aleksey  
#37 Posted : 26 December 2017 05:59:35(UTC)
Aleksey

Rank: Newbie

Groups: Registered
Joined: 23/12/2017(UTC)
Posts: 2
Man
Russian Federation

Was thanked: 1 time(s) in 1 post(s)
Error:
Error message couldn't be retrieved from CoolProp library (buffer size issue?); the second try returned:

Originally Posted by: Davide Carpi Go to Quoted Post
which versions of SMath and CoolProp plugin are you using?

Hello,

version SMath - 0.98(build 6484)
version CoolProp -


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

good result on
Win10x64Pro, Win7x64Ultim


don't working on
Win10x86Pro, Win10x86Educ, Win7x86Pro


Best regards,
Aleksey

Edited by user 29 December 2017 05:32:09(UTC)  | Reason: Not specified

thanks 1 user thanked Aleksey for this useful post.
on 27/12/2017(UTC)
Offline Jean Giraud  
#38 Posted : 27 December 2017 09:43:32(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,776
Canada

Was thanked: 563 time(s) in 435 post(s)
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.
Offline Davide Carpi  
#39 Posted : 27 December 2017 18:47:24(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,928
Man
Italy
Location: Italy

Was thanked: 972 time(s) in 647 post(s)
Originally Posted by: Aleksey Go to Quoted Post
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).

Edited by user 27 December 2017 18:52:07(UTC)  | Reason: Not specified

Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline dacts  
#40 Posted : 17 January 2018 03:28:09(UTC)
dacts

Rank: Newbie

Groups: Registered
Joined: 13/01/2018(UTC)
Posts: 2
Mexico

Was thanked: 1 time(s) in 1 post(s)
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"Wink" 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?
Users browsing this topic
3 Pages<123>
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.