You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/Include/mAlg/mAlgPvt/oilDeadBo.h

38 lines
732 B
C++

This file contains ambiguous Unicode characters!

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 Bo算法提供者 xieh 20260422
class M_PVT_EXPORT oilDeadBo : public iAlgPvtBase
{
private:
enum PvtAlgMethod
{
PM_Standing = 0,
PM_VasquezAndBeggs
};
public:
oilDeadBo();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
public:
bool standing(VecDouble vecP, VecDouble& vecBo);
bool vasquezAndBeggs(VecDouble vecP, VecDouble& vecBo);
private:
double m_dRo; //ro,油相比重
double m_dRg; //rg,气体比重
double m_dRs; //Rs,溶解气油比m3/m3
double m_dT; //rt,参考温度°C
};