how to change certain blocks parameters during simulation

1 visualización (últimos 30 días)
Zakarya
Zakarya el 7 de Abr. de 2023
Respondida: Sabin el 20 de Dic. de 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

Respuestas (1)

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

Categorías

Más información sobre Specialized Power Systems en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by