TriggerAPUStartSequence model
Requirements.Examples.AircraftRequirements.TriggerAPUStartSequence
ยท source
Requirement: The Auxiliary Power Unit shall be started after successive start failures of one of the engines
Extends Modelica.Icons.Example
This example demonstrates the modeling and verification of the following aircraft requirement:
Requirement:
APU (Auxiliar Power Unit) start sequence shall start after three successive start failures of one of the engines.
This is an informal requirement. It is interpreted in the following formal way:
Formalized requirement:
APU (Auxiliar Power Unit) start sequence shall start after three succesive start failures of one of the engines.Inputs and parameter of the MaxRising() block are:nRisingMax : Maximum number of check rising edges. APUSeqStarted.y: Output of the boolean step. True if the APU backup sequence is started. EngineStart.y : Output of the boolean pulse. True if the engine is started.nRisingMax = NbMin (= 3) condition = APUSeqStarted.y check = EngineStart.y
This requirement can be modelled with the ChecksInSlidingWindow.MaxRising block.
Test setup of this example:
results in
![]() | |
| simulation result |
Revisions
| Date | Description |
|---|---|
| Dec. 3, 2026 | maxRising1.nRisingMax is bound to the parameter NbMin instead of the literal 3, so that NbMin sets the number of start failures of the requirement (H. Tummescheit, Model Based Innovation LLC) |
Parameters
| Name | Type | Description |
|---|---|---|
NbMin parameter | Integer | Number of successive engine start failures after which the APU start sequence shall begin (= maxRising1.nRisingMax) |
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_APUTriggering | Requirements.Verify.Requirement | Requirement: the APU start sequence starts after three successive engine start failures |
maxRising1 | Requirements.ChecksInFixedWindow.MaxRising | Checks that EngineStart has at most NbMin rising edges while the APU start sequence is active |
EngineStart | Modelica.Blocks.Sources.BooleanPulse | Test signal: engine start attempts (rising edges every 1.5 s from 1 s) |
APUSeqStarted | Modelica.Blocks.Sources.BooleanStep | Becomes true at 6 s when the APU start sequence starts |

