Search found 22 matches

by King
29 August 2017, 00:49
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: How to calculate the matrix
Replies: 8
Views: 68775

Re: How to cal the matrix

I don't find the CalcSinglePhaseProperty inthe help of the matlab unit operaton, what's that? Ah - now I understand your question better. I was not aware that you were using the Matlab Unit Operation. For Matlab Thermo, you can get values by vector (not by matrix, as this would make composition a t...
by King
28 August 2017, 00:58
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: How to calculate the matrix
Replies: 8
Views: 68775

Re: How to cal the matrix

Would be great to know more on the case at hand. It is not the first time the requirement for calculating a property at a number of condition sets has been formulated. This idea was thought when I used matlab functions to calculate the matric operations. I think there may be some conditions which n...
by King
28 August 2017, 00:51
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: How to calculate the matrix
Replies: 8
Views: 68775

Re: How to cal the matrix

jasper wrote:But if you do GetSinglePhaseProperty 1000x without CalcSinglePhaseProperty you will be getting the same value over and over again.
I don't find the CalcSinglePhaseProperty inthe help of the matlab unit operaton, what's that?
by King
25 August 2017, 07:13
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: How to calculate the matrix
Replies: 8
Views: 68775

Re: How to cal the matrix

Not in this version of CAPE-OPEN. With a well written efficient material object the overhead need not to be too large though. I suppose you mean to call both CalcSinglePhaseProperty and GetSinglePhaeProperty? No, only GetSinglePhaseProperty, but there are maybe 10000 kinds of component conditions t...
by King
24 August 2017, 02:25
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: How to calculate the matrix
Replies: 8
Views: 68775

How to calculate the matrix

getSinglePhaseProperty can only calculate one composition condition. if there are lots of conditions to be calculated at the same time, for loop is not efficient.

is there some way to calculate a matrix composition?
by King
03 July 2017, 04:00
Forum: Process Modelling Components
Topic: How to change the port direction
Replies: 1
Views: 45639

How to change the port direction

There are 2 input ports(1,2) and 2 output ports(3,4).Is there any way to put 1,3 in one side, and 2,4 in another side?
by King
02 June 2017, 08:32
Forum: PRO/II (AVEVA)
Topic: Fail to get JouleThomsonCoefficient in proii 9.4
Replies: 3
Views: 55823

Re: Fail to get JouleThomsonCoefficient in proii 9.4

jasper wrote:This implies that the thermo server you are using does not support this property.
Which thermo server can calculate it?
by King
31 May 2017, 07:15
Forum: PRO/II (AVEVA)
Topic: Fail to get JouleThomsonCoefficient in proii 9.4
Replies: 3
Views: 55823

Fail to get JouleThomsonCoefficient in proii 9.4

Error using CapeOpenUnitMex, Failed to calculate jouleThomsonCoefficient.Dpressure: The specified property "JOULETHOMSONCOEFFICIENT.DPRESSURE" is not recognized.
by King
24 May 2017, 01:24
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: Matlab Unit report tolerances
Replies: 6
Views: 54218

Re: Matlab Unit report tolerances

Understand, but I would expect the thermodynamic to return a vapor + liquid (or just liquid) at T < Tbub for any P at which the phase boundary is not retrograde. The simple test I suggested would check whether this is the case. It is strange. It show the correct dewpoint today. Maybe there is somet...
by King
23 May 2017, 15:10
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: Matlab Unit report tolerances
Replies: 6
Views: 54218

Re: Matlab Unit report tolerances

Not clear. I see your script, which is essentially running many T+P flashes and checking whether a liquid is present. Which simulation environment are you running this in? Can you reduce the problem to 2 equilibrium calculations: 1) calculate the dew point temperature: [phases,phasefractions,compos...

Go to advanced search