model Pump "Centrifugal pump with mechanical connector for the shaft"
extends Modelica.Fluid.Machines.BaseClasses.PartialPump;
SI.Angle phi "Shaft angle";
SI.AngularVelocity omega "Shaft angular velocity";
Modelica.Mechanics.Rotational.Interfaces.Flange_a shaft annotation (Placement(transformation(extent = {
{-10, 90},
{10, 110}})));
equation
N = Modelica.Units.Conversions.to_rpm(omega);
W_single = omega * shaft.tau;
omega = der(phi);
phi = shaft.phi;
annotation (
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Rectangle(
extent = {
{-10, 100},
{10, 78}},
fillPattern = FillPattern.VerticalCylinder,
fillColor = {95, 95, 95})}),
Documentation(
info = "<html>\n<p>This model describes a centrifugal pump (or a group of <code>nParallel</code> pumps) with a mechanical rotational connector for the shaft, to be used when the pump drive has to be modelled explicitly. In the case of <code>nParallel</code> pumps, the mechanical connector is relative to a single pump.</p>\n<p>The model extends <code>PartialPump</code></p>\n </html>",
revisions = "<html>\n<ul>\n<li><em>31 Oct 2005</em>\n by <a href=\"mailto:francesco.casella@polimi.it\">Francesco Casella</a>:<br>\n Model added to the Fluid library</li>\n</ul>\n</html>"));
end Pump;