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

TypeNameDefaultDescription
IntegernCon1Number of connections
Integer[nCon,2]conPaiArr{{1, 2} for i in 1:nCon}Array of port numbers to connect

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[nCon*2]splPorThermal in-/output

Revisions

  • November, 2024, by Philip Groesdonk:
    Implemented as a workaround for OpenModelica's inability to evaluate arrays before translation.