From 6ba421c2bbc730201c10c96645aa3c7af14ece6c Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Fri, 6 Mar 2015 15:28:50 -0800 Subject: [PATCH] Made performance record replaceable for #177 --- Annex60/Fluid/Movers/SpeedControlled_Nrpm.mo | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Annex60/Fluid/Movers/SpeedControlled_Nrpm.mo b/Annex60/Fluid/Movers/SpeedControlled_Nrpm.mo index 4123775677..72a3ed309a 100644 --- a/Annex60/Fluid/Movers/SpeedControlled_Nrpm.mo +++ b/Annex60/Fluid/Movers/SpeedControlled_Nrpm.mo @@ -11,9 +11,10 @@ model SpeedControlled_Nrpm motorCooledByFluid=per.motorCooledByFluid, use_powerCharacteristic=per.use_powerCharacteristic)); - parameter Data.SpeedControlled_Nrpm per "Record with performance data" + replaceable parameter Data.SpeedControlled_Nrpm per + "Record with performance data" annotation (choicesAllMatching=true, - Placement(transformation(extent={{60,-80},{80,-60}}))); + Placement(transformation(extent={{20,-80},{40,-60}}))); Modelica.Blocks.Interfaces.RealInput Nrpm(unit="1/min") "Prescribed rotational speed" @@ -84,6 +85,11 @@ User's Guide for more information. revisions="