I want to change the parameters of the Synchronous Machine Model 1.0 according to the rpm.
5 次查看(过去 30 天)
显示 更早的评论
I am using the Synchronous Machine Model 1.0 in Simulink Simscape.
I want to model a generator and need to change the parameters of the Synchronous Machine Model 1.0 according to the rpm. Currently, I have declared the parameters in the workspace and am importing them into the model.
I have the relationship between rpm and the parameters, I want to change the parameters at every step. How can I do this?
0 个评论
采纳的回答
Sumukh
2024-7-29
Hi Dongwon.
You want to change the synchronous machine parameters based on certain pre-defined relationship between rpm and machine parameters. However, as per the following documentation:
The value of run-time configurable parameters of “Simscape” library blocks cannot be changed while the simulation is running. Thus, the parameters of “Synchronous Machine Model 1.0” can only be modified when the simulation is stopped.
One possible workaround is to maybe model the synchronous generator by differential equations, using Simulink “Integrator” and “Math Operations” blocks, as parameters of “Simulink” library are tuneable while the simulation is running. The conditional blocks in “Simulink” library (switch, if-else) can then be used to change the coefficients (parameters) as per the output (rpm) of the differential equations, based on the relationship you have defined between them, for different ranges of rpm.
I hope this helps with your issue.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Sensors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!