modelFlowArrayRearranging
A model to rearrange heat flows between a range of ports
Information
This model is used to rearrange heat flows between thermal zones.
The model needs the number of connections and the array of how to connect the port indices of splPor.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nCon | 1 | Number of connections |
| Integer[nCon,2] | conPaiArr | {{1, 2} for i in 1:nCon} | Array of port numbers to connect |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[nCon*2] | splPor | Thermal in-/output |
Revisions
-
November, 2024, by Philip Groesdonk:
Implemented as a workaround for OpenModelica's inability to evaluate arrays before translation.