modelPartialElementaryConditionalHeatPort
Partial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models
Information
This partial model provides a conditional heat port for dissipating losses.
- If useHeatPort is set to false (default), no heat port is available, and the thermal loss power is dissipated internally. In this case, the parameter T specifies the fixed device temperature (the default for T = 20°C)
- If useHeatPort is set to true, the 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 PartialElementaryConditionalHeatPort model (lossPower = ...). The device temperature TheatPort can be used to describe the influence of the device temperature on the model behaviour.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort | false | = true, if heatPort is enabled |
| SI.Temperature | T | 293.15 | Fixed device temperature if useHeatPort = false |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| HeatTransfer.Interfaces.HeatPort_a | heatPort | Optional port to which dissipated losses are transported in form of heat |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | lossPower | Loss power leaving component via heatPort (> 0, if heat is flowing out of component) | |
| SI.Temperature | TheatPort | Temperature of heatPort |