how to change certain blocks parameters during simulation

4 ビュー (過去 30 日間)
Zakarya
Zakarya 2023 年 4 月 7 日
回答済み: Sabin 2024 年 12 月 20 日
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 Center および File ExchangeSpecialized Power Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by