LimitedCabinAltitudeRateOfChange model
Requirements.Examples.AircraftRequirements.LimitedCabinAltitudeRateOfChange
ยท source
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
| Name | Type | Description |
|---|---|---|
printViolations inner | Requirements.Verify.PrintViolations | Prints the requirement verdicts and writes the log files at the end of the simulation |
R_FreshECSFlow | Requirements.Verify.Requirement | Requirement: the cabin altitude rate of change is outside the cabin pressure domain for at most 5 s |
derP | Requirements.SignalAnalysis.ExactDerivative | Rate of change of the cabin pressure altitude |
clock | Modelica.Blocks.Sources.ContinuousClock | Simulation time, used as first coordinate of the checked point |
maxDuration1 | Requirements.ChecksInFixedWindow.MaxDuration | Checks that the point is outside the domain for at most 5 s at a time |
withinDomain1 | Requirements.ChecksInFixedWindow.WithinDomain | Checks whether the point (time, altitude rate of change) lies inside the cabin pressure domain polygon |
const1 | Requirements.Sources.BooleanConstant | Domain check is always active |
PressureAltitude | Sources.RealExpression | Cabin pressure altitude test signal (quadratic in time) |
multiplex | Modelica.Blocks.Routing.Multiplex2 | Builds the 2-D point (time, altitude rate of change) |
toBoolean | LogicalBlocks.PropertyToBoolean | Converts the domain property to Boolean (undecided is treated as true) |
not1 | Modelica.Blocks.MathBoolean.Not | True when the point is outside the domain |



