Simulink Model for ohmic heating in a resistor

33 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:
inputs
R = { 0.0, 'Ohm' }; % R:left
end
  12 Comments
David John
David John on 26 Jul 2022
Edited: David John on 26 Jul 2022
If you are making a custom block, change the line "intermediates (Access=private, ExternalAccess=none)" to "intermediates (Access=private, ExternalAccess=observe)", and then R will appear in the simlog.
Or simply extract i, p.v and n.v from the simlog and plot (p.v-n.v)./i against T.
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)

Categories

Find more on Electromagnetic Models in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!