物性更改2
一些已知的更改
This commit is contained in:
@@ -603,7 +603,7 @@ namespace CapMachine.Wpf.PPCalculation
|
||||
return true;
|
||||
}
|
||||
|
||||
private static bool TryGetMolarMassKgPerMol(long componentId, out double molarMassKgPerMol, out string error)
|
||||
private bool TryGetMolarMassKgPerMol(long componentId, out double molarMassKgPerMol, out string error)
|
||||
{
|
||||
molarMassKgPerMol = double.NaN;
|
||||
error = string.Empty;
|
||||
@@ -620,7 +620,11 @@ namespace CapMachine.Wpf.PPCalculation
|
||||
double acf = 0;
|
||||
double dip = 0;
|
||||
double Rgas = 0;
|
||||
IRefProp64.INFOdll(ref componentId, ref wmm, ref Trp, ref Tnbpt, ref Tc, ref Pc, ref Dc, ref Zc, ref acf, ref dip, ref Rgas);
|
||||
|
||||
lock (_refpropLock)
|
||||
{
|
||||
IRefProp64.INFOdll(ref componentId, ref wmm, ref Trp, ref Tnbpt, ref Tc, ref Pc, ref Dc, ref Zc, ref acf, ref dip, ref Rgas);
|
||||
}
|
||||
molarMassKgPerMol = wmm * 0.001;
|
||||
if (molarMassKgPerMol <= 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user