Simulink Model for ohmic heating in a resistor

46 views (last 30 days)
I need to model temperature rise of a resistor due to joule heating with a variable supply or a variable resistor. Is there a simulink component that can be used for this or it has to be implemented with the physical equations fed into block diagrams?
Can someone help give an idea of how this can be modeled?

Accepted Answer

David John
David John on 18 Jul 2022
Have a look at the Variable Resistor and Thermal Resistor blocks. The source code should be available for both of these blocks.
If you start from the Thermal Resistor source code, you can simply change R from being a parameter to being an input:
R = { 0.0, 'Ohm' }; % R:left
Mukti Chaturvedi
Mukti Chaturvedi on 27 Jul 2022
Thanks you for all the help. I have tried getting a plot wrt time and also resistance wrt Temperature. Attached the model with the plot options. Supply voltage is now given as 70V.
Now, please suggest how can a temperature check be included in a way so that when temperature exceeds 1000 degree C, then supply voltage has to be changed to 100 V for 0.02s.
I am not aware of MATLAB coding, but stil,can a source code of this model be generated?

Sign in to comment.

More Answers (0)


Find more on Creating Custom Components and Libraries 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!

Translated by