Variable resistance in Simscape?

13 ビュー (過去 30 日間)
Chida Matada
Chida Matada 2015 年 4 月 27 日
コメント済み: hassan heidari 2022 年 7 月 20 日
Hello, I am building a Simulink model where I need to add a variable resistance element whose resistance depends on some conditions. There is no variable resistor in SimPowerSystems and when I used the variable resistor in Simscape\Foundation LIbrary\Electrical\Electrical Elements it would not connect to it. Probably its because of the mismatch in SimPower and Electrical Element library I guess.
Is there way to be solve this issue or am I doing something wrong?
Thanks in advance.
  2 件のコメント
Tony Castillo
Tony Castillo 2015 年 11 月 10 日
Please share with me the variable load in order to learn more about how to create it, I am having problem in order to make it variable to SPS, because exist a VARIABLE RESISTOR and A POTENCIOMETER but none of them works in SPS, it only works for SIMELECTRONICS, I can read than you solve it Chida.
hassan heidari
hassan heidari 2022 年 7 月 20 日
Hello, I have the same problem. I saw the Sebastian's answer. but I'm not good at working with Simulink. I would be grateful if you share the variable resistance file with me. thanks a lot.

サインインしてコメントする。

採用された回答

Sebastian Castro
Sebastian Castro 2015 年 4 月 27 日
You're right... However, you can make your own custom variable resistor in SimPowerSystems by measuring the voltage and applying a current.
Look at the power_VariableInductor shipping example, which shows how you could make a variable inductor. A resistor would be easier.
- Sebastian
  1 件のコメント
AATIQ OUSSAMA
AATIQ OUSSAMA 2017 年 1 月 29 日
Thanks a lot @Sebastian Castro , very heplful answer for modelling the resistor in SPS !

サインインしてコメントする。

その他の回答 (1 件)

Chida Matada
Chida Matada 2015 年 4 月 27 日
Thanks Sebastian. Was able to implement that.
In my model had another constant current source in series with this resistor and simulink threw some errors cause of having two constant current sources in series. After I added a fairly large resistance in parellel to one of the current source it did not complain.
-Chida

カテゴリ

Help Center および File ExchangeChoose and Parameterize Blocks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by