src/FDM/JSBSim/models/FGGasCell.cpp: Restore the ballonet model to a working state.
This commit is contained in:
parent
029226f8d4
commit
50f82808f9
1 changed files with 4 additions and 4 deletions
|
@ -261,8 +261,8 @@ FGGasCell::~FGGasCell()
|
|||
void FGGasCell::Calculate(double dt)
|
||||
{
|
||||
const double AirTemperature = in.Temperature; // [Rankine]
|
||||
const double AirPressure = in.Pressure; // [lbs/ft²]
|
||||
const double AirDensity = in.Density; // [slug/ft³]
|
||||
const double AirPressure = in.Pressure; // [lbs/ft^2]
|
||||
const double AirDensity = in.Density; // [slug/ft^3]
|
||||
const double g = in.gravity; // [lbs/slug]
|
||||
|
||||
const double OldTemperature = Temperature;
|
||||
|
@ -689,8 +689,8 @@ FGBallonet::~FGBallonet()
|
|||
|
||||
void FGBallonet::Calculate(double dt)
|
||||
{
|
||||
const double ParentPressure = Parent->GetPressure(); // [lbs/ft²]
|
||||
const double AirPressure = Pressure; // [lbs/ft²]
|
||||
const double ParentPressure = Parent->GetPressure(); // [lbs/ft^2]
|
||||
const double AirPressure = in.Pressure; // [lbs/ft^2]
|
||||
|
||||
const double OldTemperature = Temperature;
|
||||
const double OldPressure = Pressure;
|
||||
|
|
Loading…
Add table
Reference in a new issue