i need help in how to ste the parameters of a electricl circute as Variables in simulink ?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Joel Van Sickel
2022-5-18
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
更多回答(1 个)
Fred Tabash
2022-5-23
2 个评论
Joel Van Sickel
2022-5-23
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Block Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!