how to change certain blocks parameters during simulation

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Sabin
Sabin il 20 Dic 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.

Categorie

Scopri di più su Specialized Power Systems in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by