Update from JSBSim - fix bugs reported by Gonzalo Peralta with CHT and
oil pressure.
This commit is contained in:
parent
97b8235980
commit
a26ea45c43
1 changed files with 2 additions and 3 deletions
|
@ -459,7 +459,7 @@ void FGPiston::doCHT(void)
|
|||
|
||||
double HeatCapacityCylinderHead = CpCylinderHead * MassCylinderHead;
|
||||
|
||||
CylinderHeadTemp_degK = dqdt_cylinder_head / HeatCapacityCylinderHead;
|
||||
CylinderHeadTemp_degK += dqdt_cylinder_head / HeatCapacityCylinderHead;
|
||||
}
|
||||
|
||||
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
@ -507,8 +507,7 @@ void FGPiston::doOilPressure(void)
|
|||
{
|
||||
double Oil_Press_Relief_Valve = 60; // FIXME: may vary by engine
|
||||
double Oil_Press_RPM_Max = 1800; // FIXME: may vary by engine
|
||||
double Design_Oil_Temp = 85; // FIXME: may vary by engine
|
||||
// FIXME: WRONG!!! (85 degK???)
|
||||
double Design_Oil_Temp = 358; // degK; FIXME: may vary by engine
|
||||
double Oil_Viscosity_Index = 0.25;
|
||||
|
||||
OilPressure_psi = (Oil_Press_Relief_Valve / Oil_Press_RPM_Max) * RPM;
|
||||
|
|
Loading…
Reference in a new issue