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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Conversions.NonSIunits.Temperature_degC | TAmb | 20 | Ambient Temperature |
| Modelica.SIunits.Conversions.NonSIunits.Temperature_degC | TDif | 2 | Error in Temperature |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Conversions.NonSIunits.Temperature_degC | TRes | Modelica.SIunits.Conversions.to_degC(HeatingResistor1.heatPort.T) | Resulting Temperature |
| Modelica.Blocks.Sources.Ramp | Ramp1 | ||
| Modelica.Blocks.Logical.OnOffController | OnOffController1 | ||
| Modelica.Blocks.Logical.Not | Not1 | ||
| Electrical.Analog.Basic.Ground | ground | ||
| Electrical.Analog.Sources.ConstantVoltage | ConstantVoltage1 | ||
| Electrical.Analog.Ideal.IdealOpeningSwitch | IdealSwitch1 | ||
| Electrical.Analog.Basic.HeatingResistor | HeatingResistor1 | ||
| Sensors.Celsius.TemperatureSensor | TemperatureSensor1 | ||
| Passive.HeatCapacitor | HeatCapacitor1 | ||
| Passive.ThermalConductor | ThermalConductor1 | ||
| Sources.Celsius.FixedTemperature | FixedTemperature1 |