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

5 views (last 30 days)
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?

Accepted Answer

Sumukh
Sumukh on 29 Jul 2024
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.

More Answers (0)

Categories

Find more on Electrical Sensors in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!