This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#pragma once
#include "iAlgPvtBase.h"
// Dead Oil Co,算法提供者 xieh 20260422
class M_PVT_EXPORT oilDeadCo : public iAlgPvtBase
{
private:
enum PvtAlgMethod
PM_VasquezAndBeggs = 0,
PM_FromBo
};
public:
oilDeadCo();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
bool vasquezAndBeggs(VecDouble vecP, VecDouble& vecCo);
bool calFromBo(VecDouble vecP, VecDouble& vecCo);
double m_dRo; //ro,油相比重
double m_dRg; //rg,气体比重
double m_dRs; //Rs,溶解气油比,m3/m3
double m_dT; //rt,参考温度,°C