Clear Filters
Clear Filters

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

17 views (last 30 days)
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.

Answers (1)

MULI
MULI on 13 Sep 2024 at 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.

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!