PreventHeatExchangerClogging model
Requirements.Examples.AircraftRequirements.PreventHeatExchangerClogging
ยท source
Requirement: Cold heat exchanger clogging shall not occur
Extends Modelica.Icons.Example
This example demonstrates the modeling and verification of the following aircraft requirement:
Requirement:
To prevent cold heat exchanger clogging, the time integral of the product of AirHumidity and MassAirFlow is limited.
This requirement can be modelled with the SignalAnalysis.TriggeredIntegrator and LogicalBlocks.LessThreshold blocks.
Setup of this example:
results in
![]() | |
| simulation result |
Parameters
| Name | Type | Description |
|---|---|---|
Mmax parameter | SI.Mass | Maximum allowed time integral of the product of air humidity and mass air flow |
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_Clogging | Requirements.Verify.BooleanRequirement | Requirement: the time integral of air humidity times mass air flow stays below Mmax |
massAirFlow | Sources.RealConstant | Mass air flow through the cold heat exchanger (constant test value) |
airHumidity | Sources.RealConstant | Air humidity (constant test value) |
integrator1 | Requirements.SignalAnalysis.TriggeredIntegrator | Time integral of the product of air humidity and mass air flow |
less | Requirements.LogicalBlocks.LessThreshold | True while the integral is below Mmax |
const1 | Requirements.Sources.BooleanConstant | Integration is always active |
product | Modelica.Blocks.Math.MultiProduct | Product of air humidity and mass air flow |

