How can I introduce a variable resistance in simulink ?

12 次查看(过去 30 天)
In my simulation I need to discharge a battery by introducing a variable resistor in matlab Simulink, the values of this resistor are declared by: ‘’ from workspace’’ bloc. I tested the variable resistor from Simscape, but we can not connect it with a block from workspace. Thanks for helping.
  3 个评论
elmouatamid abdellatif
this is my model. On the one hand, the PV allows to charge the battery, on the other hand, I want to introduce a profile of the real load which allows to distcharge the battery.

请先登录,再进行评论。

回答(1 个)

Sambit Behura
Sambit Behura 2018-1-30
Use the following component: https://in.mathworks.com/help/physmod/simscape/ref/variableresistor.html
  2 个评论
elmouatamid abdellatif
we can not connect this component with 'from workspace' bloc. The idea is to vary the resistance according to a real load variation that I have in excel format. The load which I have is a ventilator, the speed varies according to a feedback.
Jahid Ahmed
Jahid Ahmed 2019-6-19
Hi, could please tell me how can I make the connection between the real load and the variable resistors? what is the best way to implement this?
Many thanks.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Thermal Management 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by