backend = 'HEOS';
[handle, sh] = calllib('coolprop','AbstractState_factory',backend,'Methane&Ethane',ierr,herr,buffer_size);
calllib('coolprop','AbstractState_set_fractions',handle,([0.2 0.8]),8,ierr,herr,buffer_size);
calllib('coolprop','AbstractState_update',handle,2,101325,1,ierr,herr,buffer_size);
output=calllib('coolprop','AbstractState_keyed_output',handle, 33, ierr,herr,buffer_size)
1. I would like some help to understand if I am properly using the low level functionality. I want to use the fastest property call features of Coolprop and am using the AbstractState function to make property calls for a fluid. Is that the proper method or have it made it more difficult on myself?
2. When I use that same function call to generate a handle for air using the BICUBIC&HEOS backend, I get a handle of -1 and no calculated value. Changing the backend to HEOS, I am able to calculate values, but I assume it is not the fastest method and need help to understand if there is a way to calculate values for Air using Tabular Interpolation.
backend = 'BICUBIC&HEOS';
[handle, sh] = calllib('coolprop','AbstractState_factory',backend,'Air',ierr,herr,buffer_size);
calllib('coolprop','AbstractState_update',handle,9,101325,293,ierr,herr,buffer_size);
output=calllib('coolprop','AbstractState_keyed_output',handle, 33, ierr,herr,buffer_size)
3. For humid air, what is the best methodology to use the low level to calculate humid air properties? I have not been able to find an example to explain how to do this in Matlab. I assume the AbstractState function is not correct and I should use HAPropsSI at the low level, but want to confirm if this is the correct thought and also obtain an example of how to do this in the low level as I am not sure how to do it.
--
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.
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.
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.