LimitedCabinAltitudeRateOfChange model

Requirements.Examples.AircraftRequirements.LimitedCabinAltitudeRateOfChange  ยท source

Icon of LimitedCabinAltitudeRateOfChange

Requirement: The cabin altitude rate of change is limited by the pressure bump duration domain to ensure passenger comfort

Extends Modelica.Icons.Example

This example demonstrates the modeling and verification of the following aircraft requirement:

Requirement:
The cabin altitude rate of change should not be out of the cabin pressure domain, more than 5s:

This requirement can be modelled with the ChecksInFixedWindow.WithinDomain and ChecksInFixedWindow.MaxDuration blocks.

Setup of this example:

results in (the first figure shows the domain at the end of the simulation)

simulation result

Components and variables

NameTypeDescription
printViolations innerRequirements.Verify.PrintViolationsPrints the requirement verdicts and writes the log files at the end of the simulation
R_FreshECSFlowRequirements.Verify.RequirementRequirement: the cabin altitude rate of change is outside the cabin pressure domain for at most 5 s
derPRequirements.SignalAnalysis.ExactDerivativeRate of change of the cabin pressure altitude
clockModelica.Blocks.Sources.ContinuousClockSimulation time, used as first coordinate of the checked point
maxDuration1Requirements.ChecksInFixedWindow.MaxDurationChecks that the point is outside the domain for at most 5 s at a time
withinDomain1Requirements.ChecksInFixedWindow.WithinDomainChecks whether the point (time, altitude rate of change) lies inside the cabin pressure domain polygon
const1Requirements.Sources.BooleanConstantDomain check is always active
PressureAltitudeSources.RealExpressionCabin pressure altitude test signal (quadratic in time)
multiplexModelica.Blocks.Routing.Multiplex2Builds the 2-D point (time, altitude rate of change)
toBooleanLogicalBlocks.PropertyToBooleanConverts the domain property to Boolean (undecided is treated as true)
not1Modelica.Blocks.MathBoolean.NotTrue when the point is outside the domain