modelPartialElementaryConditionalHeatPortWithoutT
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.
- If useHeatPort is set to true, the heat port is available and must be connected from the outside.
If this model is used, the loss power has to be provided by an equation in the model which inherits from the PartialElementaryConditionalHeatPortWithoutT model (lossPower = ...).
Note, this partial model is used in cases, where heatPort.T (that is the device temperature) is not utilized in the model. If this is desired, inherit instead from partial model PartialElementaryConditionalHeatPort.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort | false | = true, if heatPort is enabled |
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) |