i need help in how to ste the parameters of a electricl circute as Variables in simulink ?
1 view (last 30 days)
Show older comments
Fred Tabash
on 24 Mar 2022
Commented: Fred Tabash
on 20 Sep 2022
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.
0 Comments
Accepted Answer
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
on 23 May 2022
2 Comments
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.
See Also
Categories
Find more on Electrical Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!