.FaultTriggering.Utilities.Internal.DecomposeFaultsToStrings

Information

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

Interface

function DecomposeFaultsToStrings
  input String[:] faultNames = {"driveline.DriveFriction.externalRealFault", "motor.motorKtFault.externalIntegerFault", "motor.speedSensor.externalBooleanFault", "driveline.speedSensor.externalBooleanFault", "driveline.DrivelineDisconnect.constBooleanFault"};
  input FaultTriggering.Utilities.Types.FaultType[:] faultType = {4, 5, 6, 6, 3} "fault type:";
  input Integer[:] faultChannel = {1, 1, 1, 2, 0} "channel to which each fault is connected";
  output String[:] name "name of component";
  output String[:] extendsTo "extending to";
  output Integer[:] extensionDepths "extension depth";
  output Boolean[:] finalVariable "indicates if it is the final extension";
  output FaultTriggering.Utilities.Types.FaultType[:] outputType "the type of the output";
end DecomposeFaultsToStrings;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos