modelControlledTemperature

Control temperature of a resistor

Information

A constant voltage of 10 V is applied to a temperature dependent resistor of 10*(1+(T-20C)/(235+20C)) Ohms, whose losses v**2/r are dissipated via a thermal conductance of 0.1 W/K to ambient temperature 20 degree C. The resistor is assumed to have a thermal capacity of 1 J/K, having ambient temparature at the beginning of the experiment. The temperature of this heating resistor is held by an OnOff-controller at reference temperature within a given bandwith +/- 1 K by switching on and off the voltage source. The reference temperature starts at 25 degree C and rises between t = 2 and 8 seconds linear to 50 degree C. An approppriate simulating time would be 10 seconds.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Conversions.NonSIunits.Temperature_degCTAmb20Ambient Temperature
Modelica.SIunits.Conversions.NonSIunits.Temperature_degCTDif2Error in Temperature

Components

TypeNameDefaultDescription
Modelica.SIunits.Conversions.NonSIunits.Temperature_degCTResModelica.SIunits.Conversions.to_degC(HeatingResistor1.heatPort.T)Resulting Temperature
Modelica.Blocks.Sources.RampRamp1
Modelica.Blocks.Logical.OnOffControllerOnOffController1
Modelica.Blocks.Logical.NotNot1
Electrical.Analog.Basic.Groundground
Electrical.Analog.Sources.ConstantVoltageConstantVoltage1
Electrical.Analog.Ideal.IdealOpeningSwitchIdealSwitch1
Electrical.Analog.Basic.HeatingResistorHeatingResistor1
Sensors.Celsius.TemperatureSensorTemperatureSensor1
Passive.HeatCapacitorHeatCapacitor1
Passive.ThermalConductorThermalConductor1
Sources.Celsius.FixedTemperatureFixedTemperature1