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
| Type | Name | Default | Description |
|---|---|---|---|
| String | faultNames | {"driveline.DriveFriction.externalRealFault", "motor.motorKtFault.externalIntegerFault", "motor.speedSensor.externalBooleanFault", "driveline.speedSensor.externalBooleanFault", "driveline.DrivelineDisconnect.constBooleanFault"} | |
| FaultTriggering.Utilities.Types.FaultType | faultType | {4, 5, 6, 6, 3} | fault type: |
| Integer | faultChannel | {1, 1, 1, 2, 0} | channel to which each fault is connected |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | name | name of component | |
| String | extendsTo | extending to | |
| Integer | extensionDepths | extension depth | |
| Boolean | finalVariable | indicates if it is the final extension | |
| FaultTriggering.Utilities.Types.FaultType | outputType | the type of the output |