lbl-srg/modelica-buildings — pull request #213 by Mathadon (2014-04-18 07:57:54+00:00)
Title: Fixed issue with records

Hi Michael,

some updates:
- renamed PumpData to MoverData
- fixed the record issue
- moved MoverData from FlowMachine_Nrpm to FlowMachineInterface
- added example FlowMachine_Nrpm_Data
- I now see I also made an accidental change to FlowMachine_Nrpm.mo:
diff --git a/Buildings/Fluid/Movers/Examples/FlowMachine_Nrpm.mo b/Buildings/Fluid/Movers/Examples/FlowMachine_Nrpm.mo
index 413c820..6cfa7e3 100644
‘‘‘
--- a/Buildings/Fluid/Movers/Examples/FlowMachine_Nrpm.mo
+++ b/Buildings/Fluid/Movers/Examples/FlowMachine_Nrpm.mo
@@ -24,8 +24,8 @@ equation
color={0,0,127},
smooth=Smooth.None));
annotation (
- Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{160,
- 160}})),
+ Diagram(coordinateSystem(preserveAspectRatio=false,extent={{-100,-100},{160,
+ 160}}), graphics),
experiment(StopTime=1.0),
__Dymola_Commands(file="modelica://Buildings/Resources/Scripts/Dymola/Fluid/Movers/Examples/FlowMachine_Nrpm.mos"
"Simulate and plot"),
‘‘‘