1
0
Fork 0

Update from JSBSim - fix bugs reported by Gonzalo Peralta with CHT and

oil pressure.
This commit is contained in:
david 2002-06-28 18:38:28 +00:00
parent 97b8235980
commit a26ea45c43

View file

@ -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;