CoolProp

257 views
Skip to first unread message

alireza amiryoon

unread,
Nov 10, 2017, 4:12:50 PM11/10/17
to coolprop-users
Hello Every Body

I'm using CoolProp Version 4.2.3 by MATLAB R2016b. I want to know how can I lead these codes to answers?


Here are my main problems:

1- S(entropy) and P(pressure) can be a pair of input for mixtures? for a pure fluid I got answers.
Code:

CoolProp.PropsSI('H','S',1.4235,'P',770,'R245fa[0.5]&Pentane[0.5]');

Error:

Warning: phase envelope must be built to carry out HSU_P_flash for mixture
> In CoolProp.PropsSI (line 2)
Error using CoolPropMATLAB_wrap
Fatal error.

2- A composition of 3 or more fluid mixtures can be used in CoolProp?
Code:

CoolProp.PropsSI('Z','S',1.4235,'P',770,'R245fa[0.2]&Pentane[0.5]&R134a[0.3]');

Error:

Warning: Initialize failed for backend: "?", fluid: "R245fa&Pentane&R134a" fractions "[ 0.2000000000, 0.5000000000,
0.3000000000 ]"; error: Could not match the binary pair [109-66-0,811-97-2] - for now this is an error.
> In CoolProp.PropsSI (line 2)
Error using CoolPropMATLAB_wrap
Fatal error.

Error in CoolProp.PropsSI (line 2)
  [varargout{1:ma1,nargout)}] = CoolPropMATLAB_wrap(345,varargin{:});


3- How can I calculate Z as Compressibility factor of Fluid mixtures of 3 or more numbers?

I would be glad and thankful to recieve your helps.

Ian Bell

unread,
Nov 10, 2017, 5:00:02 PM11/10/17
to coolpro...@googlegroups.com
First off, 4.2.3 is a very old version of CoolProp. You should upgrade to 6.1

1) PS inputs are not well supported for mixtures.  For that you will need to use REFPROP
2) Upgrade to 6.1 and this mixture should be possible
3) Z = p/(rho*R*T).  Once you have done a flash call, you should be able to calculate Z.  See also http://www.coolprop.org/coolprop/HighLevelAPI.html#table-of-string-inputs-to-propssi-function ("Z" is in that table)

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
Visit this group at https://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.

alireza amiryoon

unread,
Nov 11, 2017, 4:08:24 AM11/11/17
to coolprop-users
thank you Sir


Milad Fy

unread,
Jan 10, 2019, 3:34:12 AM1/10/19
to coolprop-users
سلام اقای امیریان


On Saturday, 11 November 2017 12:38:24 UTC+3:30, alireza amiryoon wrote:
thank you Sir


Milad Fy

unread,
Jan 10, 2019, 3:35:29 AM1/10/19
to coolprop-users
ایا مشکل  مربوط به مخلوط  را حل کردید؟

Ian Bell

unread,
Jan 10, 2019, 3:36:26 AM1/10/19
to coolpro...@googlegroups.com
Can you please respond in english? That's the lingua franca of the coolprop mailing list

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.

Milad Fy

unread,
Jan 10, 2019, 7:16:51 AM1/10/19
to coolpro...@googlegroups.com

When I wana determine the property of mixture in matlab with antropy and preesure ,I got error phase evolve

On Jan 10, 2019 12:06 PM, "Ian Bell" <ian.h...@gmail.com> wrote:
Can you please respond in english? That's the lingua franca of the coolprop mailing list

On Thu, Jan 10, 2019 at 1:34 AM Milad Fy <milad...@gmail.com> wrote:
سلام اقای امیریان


On Saturday, 11 November 2017 12:38:24 UTC+3:30, alireza amiryoon wrote:
thank you Sir


--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.

Milad Fy

unread,
Jan 10, 2019, 7:17:38 AM1/10/19
to coolpro...@googlegroups.com

What can I do ?

On Jan 10, 2019 3:46 PM, "Milad Fy" <milad...@gmail.com> wrote:

When I wana determine the property of mixture in matlab with antropy and preesure ,I got error phase evolve

On Jan 10, 2019 12:06 PM, "Ian Bell" <ian.h...@gmail.com> wrote:
Can you please respond in english? That's the lingua franca of the coolprop mailing list

On Thu, Jan 10, 2019 at 1:34 AM Milad Fy <milad...@gmail.com> wrote:
سلام اقای امیریان


On Saturday, 11 November 2017 12:38:24 UTC+3:30, alireza amiryoon wrote:
thank you Sir


--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.

Ian Bell

unread,
Jan 10, 2019, 6:44:02 PM1/10/19
to coolpro...@googlegroups.com
Unfortunately, for mixtures, the algorithms have not all been implemented, and they are quite tricky to implement too.  REFPROP is the only option currently.

On Thu, Jan 10, 2019 at 5:17 AM Milad Fy <milad...@gmail.com> wrote:

What can I do ?

On Jan 10, 2019 3:46 PM, "Milad Fy" <milad...@gmail.com> wrote:

When I wana determine the property of mixture in matlab with antropy and preesure ,I got error phase evolve

On Jan 10, 2019 12:06 PM, "Ian Bell" <ian.h...@gmail.com> wrote:
Can you please respond in english? That's the lingua franca of the coolprop mailing list

On Thu, Jan 10, 2019 at 1:34 AM Milad Fy <milad...@gmail.com> wrote:
سلام اقای امیریان


On Saturday, 11 November 2017 12:38:24 UTC+3:30, alireza amiryoon wrote:
thank you Sir


--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.

To post to this group, send email to coolpro...@googlegroups.com.
Visit this group at https://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.

To post to this group, send email to coolpro...@googlegroups.com.
Visit this group at https://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.

Milad Fy

unread,
Jan 11, 2019, 3:38:18 AM1/11/19
to coolpro...@googlegroups.com

Hello sir. Can you give me refprop mixture library's ?

On Jan 11, 2019 3:14 AM, "Ian Bell" <ian.h...@gmail.com> wrote:
Unfortunately, for mixtures, the algorithms have not all been implemented, and they are quite tricky to implement too.  REFPROP is the only option currently.

On Thu, Jan 10, 2019 at 5:17 AM Milad Fy <milad...@gmail.com> wrote:

What can I do ?

On Jan 10, 2019 3:46 PM, "Milad Fy" <milad...@gmail.com> wrote:

When I wana determine the property of mixture in matlab with antropy and preesure ,I got error phase evolve

On Jan 10, 2019 12:06 PM, "Ian Bell" <ian.h...@gmail.com> wrote:
Can you please respond in english? That's the lingua franca of the coolprop mailing list

On Thu, Jan 10, 2019 at 1:34 AM Milad Fy <milad...@gmail.com> wrote:
سلام اقای امیریان


On Saturday, 11 November 2017 12:38:24 UTC+3:30, alireza amiryoon wrote:
thank you Sir


--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.

Matthis Thorade

unread,
Jan 11, 2019, 4:19:23 AM1/11/19
to coolprop-users
You can buy a Refprop license here:


Am Freitag, 11. Januar 2019 09:38:18 UTC+1 schrieb Milad Fy:

Hello sir. Can you give me refprop mixture library's ?

On Jan 11, 2019 3:14 AM, "Ian Bell" <ian.h...@gmail.com> wrote:
Unfortunately, for mixtures, the algorithms have not all been implemented, and they are quite tricky to implement too.  REFPROP is the only option currently.

On Thu, Jan 10, 2019 at 5:17 AM Milad Fy <milad...@gmail.com> wrote:

What can I do ?

On Jan 10, 2019 3:46 PM, "Milad Fy" <milad...@gmail.com> wrote:

When I wana determine the property of mixture in matlab with antropy and preesure ,I got error phase evolve

On Jan 10, 2019 12:06 PM, "Ian Bell" <ian.h...@gmail.com> wrote:
Can you please respond in english? That's the lingua franca of the coolprop mailing list

On Thu, Jan 10, 2019 at 1:34 AM Milad Fy <milad...@gmail.com> wrote:
سلام اقای امیریان


On Saturday, 11 November 2017 12:38:24 UTC+3:30, alireza amiryoon wrote:
thank you Sir


--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages