Simulink Model for ohmic heating in a resistor
    조회 수: 19 (최근 30일)
  
       이전 댓글 표시
    
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?
댓글 수: 0
채택된 답변
  David John
    
 2022년 7월 18일
        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
  David John
    
 2022년 7월 26일
				
      편집: David John
    
 2022년 7월 26일
  
			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.
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!