How to model a variable RL branch?
4 次查看(过去 30 天)
显示 更早的评论
Hi, I would like to implementing a current controlled variable RL branch using integrator. I have one using i(t) = integ( v(t) - i(t)*R ) / L, but this would develop an algebraic loop, which I want to avoid. Any ideas?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163394/image.png)
0 个评论
回答(1 个)
Sebastian Castro
2017-4-26
This is the right approach, but as you said it does come with an algebraic loop. You can resolve this loop by adding in a Transfer Fcn block to act as a low-pass filter. In fact, several Simscape Power Systems blocks (e.g. PV Array) already do this under the hood.
The transfer function will typically take the form 1/(Ns+1) where N is associated with the time constant of the filter. You want to pick this value to be small enough that it doesn't filter out your system dynamics, but large enough that it doesn't slow down your simulation with high-frequency components.
Sebastian
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Continuous 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!