diff --git a/IDEAS/Templates/Examples/ConstantAirFlowRecup.mo b/IDEAS/Templates/Examples/ConstantAirFlowRecup.mo index 154fdd6ad..4cc6561a9 100644 --- a/IDEAS/Templates/Examples/ConstantAirFlowRecup.mo +++ b/IDEAS/Templates/Examples/ConstantAirFlowRecup.mo @@ -11,8 +11,8 @@ model ConstantAirFlowRecup IDEAS.Templates.Structure.ThreeZone structure( redeclare package Medium = Medium) annotation (Placement(transformation(extent={{-80,-40},{-50,-20}}))); - replaceable IDEAS.Templates.Ventilation.ConstantAirFlowRecup constantAirFlowRecup( - n=2.*structure.VZones) + replaceable IDEAS.Templates.Ventilation.ConstantAirFlowRecup constantAirFlowRecup(n=2*ones( + nZones)) constrainedby IDEAS.Templates.Interfaces.BaseClasses.VentilationSystem( nZones=3, VZones=structure.VZones,