functionDecomposeFaultsToStrings

decompose the faults to single components

Information

Internal fuction to decompose the faultnames and types to a string vector which can be used for further processing

Inputs

TypeNameDefaultDescription
StringfaultNames{"driveline.DriveFriction.externalRealFault", "motor.motorKtFault.externalIntegerFault", "motor.speedSensor.externalBooleanFault", "driveline.speedSensor.externalBooleanFault", "driveline.DrivelineDisconnect.constBooleanFault"}
FaultTriggering.Utilities.Types.FaultTypefaultType{4, 5, 6, 6, 3}fault type:
IntegerfaultChannel{1, 1, 1, 2, 0}channel to which each fault is connected

Outputs

TypeNameDefaultDescription
Stringnamename of component
StringextendsToextending to
IntegerextensionDepthsextension depth
BooleanfinalVariableindicates if it is the final extension
FaultTriggering.Utilities.Types.FaultTypeoutputTypethe type of the output