- subroutine
GETKTVdll
(icomp, jcomp, hmodij, fij, hFmix, hfij, hbinp, hmxrul, hmodij_length, hFmix_length, hfij_length, hbinp_length, hmxrul_length) Retrieve mixture model and parameters for a specified binary mixture. This subroutine should not be called until after SETUP has been called. The order of icomp and jcomp do not matter, the routine returns the parameters as stored in the HMX.BNC file. To determine if the compositions are backwards, call HMXORDER. If calling SETMIX with the same parameters, an error will be returned if the components are backwards.
Kunz-Wagner model (KW0) Lemmon-Jacobsen model (LJ6) fij(1) = betaT fij(1) = zeta fij(2) = gammaT fij(2) = xi fij(3) = betaV fij(3) = Fij fij(4) = gammaV fij(4) = beta fij(5) = Fij fij(5) = gamma fij(6) = ‘not used’ fij(6) = ‘not used’ Parameters: - icomp [int,in] :: Component i
- jcomp [int,in] :: Component j
- hmodij [char,out] :: Mixing rule for the binary pair i,j (e.g., KW0, LJ6, XR0, or LIN) (character*3)
- fij (6) [double,out] :: Binary mixture parameters (array of dimension nmxpar; currently nmxpar is set to 6); the parameters will vary depending on hmodij;
- hFmix [char,out] :: File name (character*255) containing parameters for the binary mixture model
- hfij [char,out] :: Description of the binary mixture parameters (character*8 array of dimension nmxpar) The parameters will vary depending on hmodij.
- hbinp [char,out] :: Documentation for the binary parameters (character*255)
- hmxrul [char,out] :: Description of the mixing rule (character*255)
- hmodij_length [int] :: length of variable
hmodij
(default: 3) - hFmix_length [int] :: length of variable
hFmix
(default: 255) - hfij_length [int] :: length of variable
hfij
(default: 255) - hbinp_length [int] :: length of variable
hbinp
(default: 255) - hmxrul_length [int] :: length of variable
hmxrul
(default: 255)
I'm user REFPROP ver.10 and calculate the mixture properties with Excel add-in. I have a problem with calculating "Temperature" from "Pressure and Enthalpy" in Mixture of para-hydrogen and methane. Under the mixture rate 40%mass of para-hydrogen, calculated value of Excel add-in is different from Refprop software. However, calculated temperature of 0%mass of para-hydrogen ( = 100% methane) with Excel add-in is the same as Refpro software. I have no idea to avoid this issue at once, so want to know correct way to calculate the properties or alternative method.
Versions
REFPROP Version:10.0 Operating System and Version:Windows 10
**Access Method:Excel [How you are accessing REFPROP (i.e. Python, other wrapper)]
Additional Information