How can I introduce a variable resistance in simulink ?

14 views (last 30 days)
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 Comments
elmouatamid abdellatif
elmouatamid abdellatif on 30 Jan 2018
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.

Sign in to comment.

Answers (1)

Sambit Behura
Sambit Behura on 30 Jan 2018
Use the following component: https://in.mathworks.com/help/physmod/simscape/ref/variableresistor.html
  2 Comments
elmouatamid abdellatif
elmouatamid abdellatif on 31 Jan 2018
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 on 19 Jun 2019
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.

Sign in to comment.

Categories

Find more on Composite Components in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!