MinimumOperationalServiceLife model
Requirements.Examples.AircraftRequirements.MinimumOperationalServiceLife
ยท source
Requirement: The aircraft shall be designed for a minimum operational service life.
Extends Modelica.Icons.Example
This example demonstrates the modeling and verification of the following aircraft requirement:
Requirement:
The aircraft shall be designed for an operational service life of 150 flight cycles and 800 flight hours, whichever is more stringent.
This requirement can be modelled with the ChecksInFixedWindow.MinDuration and ChecksInFixedWindow.MinRising blocks and an and block for 3-valued logic.
Setup of this example:
InOperation.y: True if the aircraft is in operation (and not, e.g., in maintenance). InFlight.y : True if the aircraft is in flight.
results in
![]() | |
| 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_OpLife | Requirements.Verify.Requirement | Requirement: operational service life of at least 150 flight cycles and 800 flight hours |
InFlight | Modelica.Blocks.Sources.BooleanPulse | Test signal: true while the aircraft is in flight (one flight per hour) |
minDuration1 | Requirements.ChecksInFixedWindow.MinDuration | Checks that InFlight is true for at least 800 h in the operation phase |
minRising1 | Requirements.ChecksInFixedWindow.MinRising | Checks that at least 150 flight cycles (rising edges of InFlight) occur in the operation phase |
InOperation | Modelica.Blocks.Sources.BooleanStep | Becomes true at 1 s when the aircraft enters operation |
and1 | Requirements.LogicalBlocks.PropertyAnd | Both service life conditions must be satisfied |

