MATLAB Answers

How to change load(resistance) while simulation is running

39 ビュー (過去 30 日間)
Alper
Alper 2018 年 12 月 23 日
回答済み: Alper 2018 年 12 月 26 日
Greetings,
I intend to change the load such as change output R value from x to 2x. However, I should do this while simulation is running in full swing. The question is, how can I change resistance value at the load from x to 2x while simulation is running?
Thank you in advance.
Alper

  0 件のコメント

サインイン to comment.

採用された回答

Aquatris
Aquatris 2018 年 12 月 26 日
The easiest way is to use the switch block. You can either use simulation time to determine when to switch or define some conditions (i.e., current goes above 0.3 A).

  4 件のコメント

表示 1 件の古いコメント
Aquatris
Aquatris 2018 年 12 月 26 日
Below is a simple example where magnitude of sine wave is changed depending on time. Upto 3 sec, the amplitude is 1 after 3 sec, amplitude is 5.
Untitled.png
Alper
Alper 2018 年 12 月 26 日
Thank you. I understand that now. One more question; Is there any way to do it with simspace components?
Aquatris
Aquatris 2018 年 12 月 26 日
I am not familiar with simspace so I cannot be of help for that.

サインイン to comment.

その他の回答 (1 件)

Alper
Alper 2018 年 12 月 26 日
Okay. It works for me. Thank you very much for your help.

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。


Translated by