@danwbr First, I sincerely appreciate the effort you’ve put into developing this outstanding library. I had been struggling to calculate the dew point using the Peng-Robinson equation of state, but after discovering your package, I am truly excited to work with it!
I have been exploring the library and have written the following sample program. Given the compounds, their associated mole fractions, and the system pressure, my objective is to calculate the dew point temperature. Could you kindly review my implementation and confirm if it is correct?
using System;
using DWSIM.Thermodynamics.CalculatorInterface;
using DWSIM.Thermodynamics.PropertyPackages;
class Calss
{
static void Main()
{
try
{
Calculator calculator = new Calculator();
calculator.Initialize();
var prPropertyPackage = new PengRobinsonPropertyPackage();
calculator.TransferCompounds(prPropertyPackage);
@danwbr First, I sincerely appreciate the effort you’ve put into developing this outstanding library. I had been struggling to calculate the dew point using the Peng-Robinson equation of state, but after discovering your package, I am truly excited to work with it!
I have been exploring the library and have written the following sample program. Given the compounds, their associated mole fractions, and the system pressure, my objective is to calculate the dew point temperature. Could you kindly review my implementation and confirm if it is correct?
using System;
using DWSIM.Thermodynamics.CalculatorInterface;
using DWSIM.Thermodynamics.PropertyPackages;
class Calss
{
static void Main()
{
try
{
Calculator calculator = new Calculator();
calculator.Initialize();
var prPropertyPackage = new PengRobinsonPropertyPackage();
calculator.TransferCompounds(prPropertyPackage);
}
Looking forward to your guidance. Thank you!