Closed Mathadon closed 8 years ago
Need to discuss with other library developers if we want to have a HeatTransfer/Sources
package.
For Buildings
, it would be good to have Annex60.HeatTransfer.Sources
.
What is the position of Aachen and Berlin?
I think setting final alpha=0
would be a good alternative solution that does not require the creation of another top level package.
From Aachen side, I don't think we need such a package.
closed by #420
Buildings has its own
Buildings.HeatTransfer.Sources.PrescribedHeatFlow
that is used inBuildings.Fluid.Movers.BaseClasses.PartialFlowMachine
. In Annex 60 this is not the case. What is the reason for this? I thought the models were merged?The reason I ask is because the Buildings implementation is a lot more efficient in some cases. The is because the
PrescribedHeatFlow
from MSL has a non-fixed parameteralpha
. In the default case (Evaluate=false) Dymola allows this parameter to be changed after compilation. The flattened equation for a pump then becomes:when alpha is non-zero this can form a non-linear equation when the pump is configured to steady state if heatPort.Q_flow=f(heatPort.T). When alpha is zero this is a linear equation. In the general case Dymola therefore treats this as a non-linear equation.
This can be very important in the case where you have large steady state hydronic systems because large non-linear algebraic loops are formed. If the equations were linear, then the algebraic loops would also be linear and then they can be solved without requiring iterations.
Either we should change the
PrescribedHeatFlow
component inPartialFlowMachine
, or we should setfinal alpha=0
.