Skip to content

Commit

Permalink
Made performance record replaceable for #177
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Mar 6, 2015
1 parent c11b1e2 commit 6ba421c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Annex60/Fluid/Movers/SpeedControlled_Nrpm.mo
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -84,6 +85,11 @@ User's Guide</a> for more information.
revisions="<html>
<ul>
<li>
March 6, 2015, by Michael Wetter<br/>
Made performance record <code>per</code> replaceable
as for the other models.
</li>
<li>
January 6, 2015, by Michael Wetter:<br/>
Revised model for OpenModelica.
</li>
Expand Down

0 comments on commit 6ba421c

Please sign in to comment.