MATLAB Fault Analysis - "Continuous-time signals support faults only if its destinations are discrete" Error Command

15 次查看(过去 30 天)
I am trying to trigger a fault in MATLAB for my simulation, so I can get some disturbance in my current simulation outputs. However, it is not working and I am getting the following error:
Fault Inport block 'Fault_Analysis_FaultModel/output_fault/Fault Inport' is set to read/override invalid signal on the Outport number 1 of block 'Fault_Analysis/Current'.
Caused by:
  • Target signal is a continuous-time signal. Continuous-time signals support faults only if its destinations are discrete.
At the moment, I have triggered a timed fault at 10 sec. How can I fix this issue? Is there another way I can achieve the same goal? Any support is much appreciated.

回答(1 个)

MULI
MULI 2024-9-13,12:24
Hi Krishna,
I understand that you are getting an issue when you tried to trigger a fault using Simulink Fault analyser”.
  • “Simulink Fault analyser” restricts fault injection to discrete-time destinations, leading to errors when interacting with continuous-time components.
  • To create a fault in your model you can use “Fault” block in simscape.
  • Fault block allows you to represent an electrical fault as an instantaneous change in resistance which replicates both open-circuit and short-circuit fault behaviours. 
You can refer to the below link for more information and examples related to this block.

类别

Help CenterFile Exchange 中查找有关 Troubleshooting 的更多信息

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by