how to change certain blocks parameters during simulation

1 Ansicht (letzte 30 Tage)
Zakarya
Zakarya am 7 Apr. 2023
Beantwortet: Sabin am 20 Dez. 2024
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

Antworten (1)

Sabin
Sabin am 20 Dez. 2024
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.

Kategorien

Mehr zu Specialized Power Systems finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by