Skip to content

Commit

Permalink
Fix hmolar and smolar for REFPROP phase envelopes; closes #826
Browse files Browse the repository at this point in the history
  • Loading branch information
ibell committed Oct 8, 2015
1 parent 8bdbed7 commit 607f829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Backends/REFPROP/REFPROPMixtureBackend.cpp
Expand Up @@ -857,10 +857,10 @@ void REFPROPMixtureBackend::calc_phase_envelope(const std::string &type)
PhaseEnvelope.Q.push_back(static_cast<double>(y > rho_molL));
isp = nc + 4;
SPLNVALdll(&isp, &iderv, &rho_molL, &y, &ierr, herr, errormessagelength);
PhaseEnvelope.hmolar_vap.push_back(y*1000);
PhaseEnvelope.hmolar_vap.push_back(y);
isp = nc + 5;
SPLNVALdll(&isp, &iderv, &rho_molL, &y, &ierr, herr, errormessagelength);
PhaseEnvelope.smolar_vap.push_back(y*1000);
PhaseEnvelope.smolar_vap.push_back(y);
}
}
CoolPropDbl REFPROPMixtureBackend::calc_cpmolar_idealgas(void)
Expand Down

0 comments on commit 607f829

Please sign in to comment.