[#2462] Provide air density as plottable variable
This commit is contained in:
parent
e2b69c4650
commit
8daa8838ff
@ -323,6 +323,8 @@ public abstract class AbstractSimulationStepper implements SimulationStepper {
|
||||
flightConditions.getAtmosphericConditions().getTemperature());
|
||||
dataBranch.setValue(FlightDataType.TYPE_AIR_PRESSURE,
|
||||
flightConditions.getAtmosphericConditions().getPressure());
|
||||
dataBranch.setValue(FlightDataType.TYPE_AIR_DENSITY,
|
||||
flightConditions.getAtmosphericConditions().getDensity());
|
||||
dataBranch.setValue(FlightDataType.TYPE_SPEED_OF_SOUND,
|
||||
flightConditions.getAtmosphericConditions().getMachSpeed());
|
||||
}
|
||||
|
@ -275,10 +275,14 @@ public class FlightDataType implements Comparable<FlightDataType> {
|
||||
public static final FlightDataType TYPE_AIR_PRESSURE = newType(trans.get("FlightDataType.TYPE_AIR_PRESSURE"), "P",
|
||||
UnitGroup.UNITS_PRESSURE,
|
||||
FlightDataTypeGroup.ATMOSPHERIC_CONDITIONS, 2);
|
||||
//// Air density
|
||||
public static final FlightDataType TYPE_AIR_DENSITY = newType(trans.get("FlightDataType.TYPE_AIR_DENSITY"), "\u03C1",
|
||||
UnitGroup.UNITS_DENSITY_BULK,
|
||||
FlightDataTypeGroup.ATMOSPHERIC_CONDITIONS, 3);
|
||||
//// Speed of sound
|
||||
public static final FlightDataType TYPE_SPEED_OF_SOUND = newType(trans.get("FlightDataType.TYPE_SPEED_OF_SOUND"),
|
||||
"Vs", UnitGroup.UNITS_VELOCITY,
|
||||
FlightDataTypeGroup.ATMOSPHERIC_CONDITIONS, 3);
|
||||
FlightDataTypeGroup.ATMOSPHERIC_CONDITIONS, 4);
|
||||
|
||||
// Simulation information
|
||||
//// Simulation time step
|
||||
@ -345,6 +349,7 @@ public class FlightDataType implements Comparable<FlightDataType> {
|
||||
TYPE_WIND_VELOCITY,
|
||||
TYPE_AIR_TEMPERATURE,
|
||||
TYPE_AIR_PRESSURE,
|
||||
TYPE_AIR_DENSITY,
|
||||
TYPE_SPEED_OF_SOUND,
|
||||
TYPE_TIME_STEP,
|
||||
TYPE_COMPUTATION_TIME
|
||||
|
@ -2119,6 +2119,7 @@ FlightDataType.TYPE_ORIENTATION_PHI = Lateral orientation (azimuth)
|
||||
FlightDataType.TYPE_WIND_VELOCITY = Wind velocity
|
||||
FlightDataType.TYPE_AIR_TEMPERATURE = Air temperature
|
||||
FlightDataType.TYPE_AIR_PRESSURE = Air pressure
|
||||
FlightDataType.TYPE_AIR_DENSITY = Air density
|
||||
FlightDataType.TYPE_SPEED_OF_SOUND = Speed of sound
|
||||
FlightDataType.TYPE_TIME_STEP = Simulation time step
|
||||
FlightDataType.TYPE_COMPUTATION_TIME = Computation time
|
||||
|
Loading…
x
Reference in New Issue
Block a user