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!