how to change certain blocks parameters during simulation

1 次查看(过去 30 天)
I'm working on a power factor correction circuit that uses the synchronous motor as a corrector , I need to collect data from my simulink model to use it to train a neural network model
the question is : how do I change two blocks parameters during my simulation (the blocks are three-phase rlc load ; need to change the value of inductance , and also i need to change the value of excitation current for the SM) I need to make at least 100 sample that will be changed automaticly as i collect other data from the circuit using to workspace

回答(1 个)

Sabin
Sabin 2024-12-20
If you want to change the parameters during simulation, you can use Variable Inductor to build your RLC.
For Synchronous Machine, in Simscape Electrical, there is dropdown that allow you specify either field voltage or field current. You can then feed the current into machine.
Alternatively, and the most straightforward solution, you can run N simulations with different parameters.

类别

Help CenterFile Exchange 中查找有关 Specialized Power Systems 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by