.FaultTriggering.Utilities.Internal.getVariableMode

Information

This function gets the fault mode of a certain fault model. The function needs a translated model. Therefore a translate command is issued in the model. it can be deactivated by setting translatefirst to false.

Interface

function getVariableMode
  input String[:] faultNames = {"FaultTriggering.Examples.ActuatorExample.Actuator.driveline.friction.externalRealFault"};
  input String modelName = "FaultTriggering.Examples.ActuatorExample.Actuator";
  input Boolean translateFirst = true "translate model if flag is true";
  output Real[size(faultNames, 1)] outputValues "Values of the Mode selector";
end getVariableMode;

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos