i need help in how to ste the parameters of a electricl circute as Variables in simulink ?

1 view (last 30 days)
It will be great for someone to help me and explain to me how to set the parameter of an electrical circuit component as variables in Simulink. I did design the example of the Rectifier and OP-Amp example in math work, but I fail to set the parameter as variable for the sensitivity analysis and Mote Carlo simulation. As will what is the mathematical approach the simulation use to do the for the sensitivity analysis and Monte Carlo simulation.

Accepted Answer

Joel Van Sickel
Joel Van Sickel on 18 May 2022
Hello, you type a variable name into the paramter. Then you need to creat that variable in the matlab workspace. This should let you identify as a paraemter in the SDO worfklow.
Regards,
Joel

More Answers (1)

Fred Tabash
Fred Tabash on 23 May 2022
Greetings, I would appreciate your assistance... please review the attachment.
What is the easiest way to add sinewaves with pulses (as a lightning effect) to a physical circuit for sensitivity analysis with Monte Carlo simulation to see how it affects the circuit component?
thanks for the advice ... Farhan
  2 Comments
Joel Van Sickel
Joel Van Sickel on 23 May 2022
Create the signal you want in SImulink by adding pulses and sin waves together, then inject them through a controlled source (probably voltage, but you can also use a current source). There are some basic pieces in the physical signal library so you create the pulses in Simscape as well, but it's easier to do in Simulink.
You may need to add filtering to your s -> ps converter to make this play nice with the solver If the pulses are instantaneous/step changes, passing them though a fast (small time constant) low pass filter can help the simulation converge better.

Sign in to comment.

Categories

Find more on Electrical Block Libraries in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!