TriggerAPUStartSequence model

Requirements.Examples.AircraftRequirements.TriggerAPUStartSequence  ยท source

Icon of TriggerAPUStartSequence

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.

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.

Inputs and parameter of the MaxRising() block are:
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

DateDescription
Dec. 3, 2026maxRising1.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

NameTypeDescription
NbMin parameterIntegerNumber of successive engine start failures after which the APU start sequence shall begin (= maxRising1.nRisingMax)

Components and variables

NameTypeDescription
printViolations innerRequirements.Verify.PrintViolationsPrints the requirement verdicts and writes the log files at the end of the simulation
R_APUTriggeringRequirements.Verify.RequirementRequirement: the APU start sequence starts after three successive engine start failures
maxRising1Requirements.ChecksInFixedWindow.MaxRisingChecks that EngineStart has at most NbMin rising edges while the APU start sequence is active
EngineStartModelica.Blocks.Sources.BooleanPulseTest signal: engine start attempts (rising edges every 1.5 s from 1 s)
APUSeqStartedModelica.Blocks.Sources.BooleanStepBecomes true at 6 s when the APU start sequence starts