I want to change the parameters of the Synchronous Machine Model 1.0 according to the rpm.

31 次查看(过去 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?

采纳的回答

Sumukh
Sumukh 2024-7-29,10:14
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 Operationsblocks, 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 个)

类别

Help CenterFile Exchange 中查找有关 Magnetic Elements 的更多信息

产品


版本

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by