modelConditionalHeatPort
AD version of Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort with useHeatPort=false
Extends from ADMSL.Utilities.GradientInfo.
Information
This partial model provides a conditional heating port for the connection to a thermal network.
- If useHeatPort is set to false (default), no heat port is available, and the thermal loss power flows internally to the ground. In this case, the parameter T specifies the fixed device temperature (the default for T = 20oC).
- If useHeatPort is set to true, a heat port is available.
If this model is used, the loss power has to be provided by an equation in the model which inherits from ConditionalHeatingPort model (lossPower = ...). As device temperature T_heatPort can be used to describe the influence of the device temperature on the model behaviour.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | NG (from GradientInfo) | 0 | |
| Boolean | useHeatPort | false | =true, if heatPort is enabled |
| SI.Temperature | T | 293.15 | Fixed device temperature if useHeatPort = false |
| Real[NG] | g_T | zeros(NG) | The gradient of the fixed temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ADMSL.T1.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort | Conditional heat port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | LossPower | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort | Temperature of heatPort | |
| Real[NG] | g_LossPower | ||
| Real[NG] | g_T_heatPort |
Revisions
- February 17, 2009
by Christoph Clauss
initially implemented