Main Content

Fixed-Displacement Pump (2P)

Mechanical-hydraulic power conversion device

Since R2022b

  • Fixed-Displacement Pump (2P) block

Libraries:
Simscape / Fluids / Two-Phase Fluid / Fluid Machines

Description

The Fixed-Displacement Pump (2P) block represents a pump that extracts power from a mechanical rotational network and delivers it to a two-phase fluid network. The pump displacement is fixed at a constant value that you specify through the Displacement parameter.

Ports A and B represent the pump inlets. Ports R and C represent the drive shaft and case. During normal operation, the pressure gain from port A to port B is positive if the angular velocity at port R relative to port C is positive.

The Fixed-Displacement Pump (2P) block assumes that liquid enters the pump inlet. You can use the Report when fluid is not fully liquid parameter to choose what the block does when the fluid does not meet liquid conditions. To move vapor in a two-phase fluid network, use a compressor.

Operating Modes

The block has four modes of operation, as shown by this image.

The working mode depends on the pressure gain from port A to port B, Δp = pBpA and the angular velocity, ω = ωRωC:

  • The quadrant labeled 1 represents the forward pump mode. In this mode, the positive shaft angular velocity causes a pressure increase from port A to port B and flow from port A to port B

  • The quadrant labeled 2 represents the reverse motor mode. In this mode, the flow from port B to port A causes a pressure decrease from B to A and negative shaft angular velocity.

  • The quadrant labeled 3 represents the reverse pump mode. In this mode, the negative shaft angular velocity causes a pressure increase from port B to port A and flow from port B to port A

  • The quadrant labeled 4 represents the forward motor mode. In this mode, the flow from port A to port B causes a pressure decrease from A to B and positive shaft angular velocity.

The response time of the pump is negligible in comparison with the system response time. The pump reaches steady state nearly instantaneously and is treated as a quasi-steady component.

Energy Balance

The block associates the mechanical work done by the pump with an energy exchange. The governing energy balance equation is

ϕA+ϕB+Phydro=0,

where:

  • ΦA and ΦB are the energy flow rates at ports A and B, respectively.

  • Phydro is the pump hydraulic power, which is a function of the pressure difference between the pump ports: Phydro=Δpm˙ρ.

The block generates mechanical power due to torque, τ, and angular velocity, ω:

Pmech=τω.

Flow Rate and Driving Torque

The mass flow rate generated at the pump is

m˙=m˙Idealm˙Leak,

where:

  • m˙ is the actual mass flow rate.

  • m˙Ideal is the ideal mass flow rate.

  • m˙Leak is the internal leakage mas flow rate.

The driving torque required to power the pump is

τ=τIdeal+τFriction,

where:

  • τ is the actual driving torque.

  • τIdeal is the ideal driving torque.

  • τFriction is the friction torque.

Ideal Flow Rate and Ideal Torque

The ideal mass flow rate is

m˙Ideal=ρDω,

and the ideal required torque is

τIdeal=DΔp,

where:

  • ρ is the average of the fluid densities at ports A and B.

  • D is the Displacement parameter.

  • ω is the shaft angular velocity.

  • Δp is the pressure gain from inlet to outlet.

Leakage and Friction Parameterization

You can parameterize leakage and friction analytically, by using tabulated efficiencies or losses, or by using input efficiencies or input losses.

Analytical

When you set the Leakage and friction parameterization parameter to Analytical, the leakage flow rate is

m˙Leak=KHPρAvgΔpμAvg,

and the friction torque is

τFriction=(τ0+KTP|Δp|tanh4ω(5105)ωNom),

where:

  • KHP is the Hagen-Poiseuille coefficient for laminar pipe flows. The block computes this coefficient from the specified nominal parameters.

  • μ is the dynamic viscosity of the fluid, which is the average of the values at the ports.

  • KTP is the friction torque vs. pressure gain coefficient at nominal displacement, which the block determines from the Mechanical efficiency at nominal conditions parameter, ηm:

    k=τfr,nomτ0Δpnom.

    τfr,nom is the friction torque at nominal conditions:

    τfr,nom=(1ηm,nomηm,nom)DΔpnom.

  • ΔpNom is the value of the Nominal pressure gain parameter. This value is the pressure gain at which the nominal volumetric efficiency is specified.

  • τ0 is the value of the No-load torque parameter.

  • ωNom is the value of the Nominal shaft angular velocity parameter.

The block determines the Hagen-Poiseuille coefficient from the nominal fluid and component parameters

KHP=DωNomμNom(1ηv,Nom)ΔpNom,

where:

  • ωNom is the value of the Nominal shaft angular velocity parameter. This value is the angular velocity at which the block specifies the nominal volumetric efficiency.

  • μNom is the value of the Nominal Dynamic viscosity parameter. This value is the dynamic viscosity at which the block specifies the nominal volumetric efficiency.

  • ηv,Nom is the value of the Volumetric efficiency at nominal conditions parameter. This is the volumetric efficiency that corresponds to the specified nominal conditions.

Tabulated Efficiencies

When you set the Leakage and friction parameterization parameter to Tabulated data - volumetric and mechanical efficiencies, the leakage flow rate is

m˙Leak=m˙Leak,Pump(1+α)2+m˙Leak,Motor(1α)2,

and the friction torque is

τFriction=τFriction,Pump1+α2+τFriction,Motor1α2,

where:

  • α is a numerical smoothing parameter for the motor-pump transition.

  • m˙Leak,Motor is the leakage flow rate in motor mode.

  • m˙Leak,Pump is the leakage flow rate in pump mode.

  • τFriction,Motor is the friction torque in motor mode.

  • τFriction,Pump is the friction torque in pump mode.

This hyperbolic function describes the smoothing parameter α

α=tanh(4ΔpΔpThreshold)·tanh(4ωωThreshold),

where:

  • ΔpThreshold is the value of the Pressure gain threshold for motor-pump transition parameter.

  • ωThreshold is the value of the Angular velocity threshold for motor-pump transition parameter.

The block calculates the leakage flow rate from the volumetric efficiency, which the Volumetric efficiency table parameter specifies over the Δpɷ domain. When operating in pump mode, the leakage flow rate is:

m˙Leak,Pump=(1ηv)m˙Ideal,

where ηv is the volumetric efficiency, which the block obtains either by interpolation or extrapolation of the tabulated data. Similarly, when operating in motor mode, the leakage flow rate is:

m˙Leak,Motor=(1ηv)m˙.

The block calculates the friction torque from the mechanical efficiency, which the Mechanical efficiency table parameter specifies over the Δpɷ domain. When operating in pump mode, the friction torque is

τFriction,Pump=(1ηm)τ,

where ηm is the mechanical efficiency, which the block obtains either by interpolation or extrapolation of the tabulated data. Similarly, when operating in motor mode, the friction torque is

τFriction,Motor=(1ηm)τIdeal.

Tabulated Losses

When you set the Leakage and friction parameterization parameter to Tabulated data - volumetric and mechanical losses, the block specifies the leakage volumetric flow rate in tabulated form over the Δpɷ domain:

qLeak=qLeak(Δp,ω).

The block calculates the mass flow rate due to leakage from the volumetric flow rate:

m˙Leak=ρqLeak.

The block calculates the friction torque in tabulated form:

τFriction=τLoss(Δp,ω)tanh(4ωωthreshold),

where qLeak(Δp,ω) and τLoss(Δp,ω) are the volumetric and mechanical losses, specified through interpolation or extrapolation of the tabulated data in the Volumetric loss table and Mechanical loss table parameters.

Input Efficiencies

When you set the Leakage and friction parameterization parameter to Input signal - volumetric and mechanical efficiencies, the leakage flow rate and friction torque calculations are identical to the Tabulated data - volumetric and mechanical efficiencies setting. The block replaces the volumetric and mechanical efficiency lookup tables with the physical signal input ports EV and EM.

The efficiencies are positive quantities with values between 0 and 1.The block sets input values outside of these bounds to 0 for inputs smaller than 0 or 1 for inputs greater than 1. The block saturates the efficiency signals at the value of the Minimum volumetric efficiency or Minimum mechanical efficiency parameter and the Maximum volumetric efficiency or Maximum mechanical efficiency parameter.

Input Losses

When you set the Leakage and friction parameterization parameter to Input signal - volumetric and mechanical losses, the leakage flow rate and friction torque calculations are identical to the Tabulated data - volumetric and mechanical efficiencies setting. The block replaces the volumetric and mechanical loss lookup tables with the physical signal input ports LV and LM.

The block expects the inputs to be positive and sets the signs automatically from the Δpɷ quadrant where the component is operating. If you provide a negative signal, the block returns zero losses.

Faults

To model a fault, in the Faults section, click the Add fault hyperlink next to the fault that you want to model. Use the fault parameters to specify the fault properties. For more information about fault modeling, see Introduction to Simscape Faults.

You can model a displacement fault, leakage, or a shaft friction torque fault.

When you enable the Displacement fault parameter, the block scales the displacement by the value of the Faulted displacement factor parameter when the fault triggers,

DFault=fDD,

where fD is the value of the Faulted displacement factor parameter. When the Leakage and friction parameterization parameter is Analytical, the block does not use the faulted displacement value to calculate the Hagen-Poiseuille coefficient or the friction torque at nominal conditions.

When you enable the Leakage fault parameter and Leakage and friction parameterization is Analytical, Tabulated data - volumetric and mechanical efficiencies, or Input signal - volumetric and mechanical efficiencies, the faulted volumetric efficiency is

ηv,Fault=ηvfLeak,

where fLeak is the value of the Faulted leakage factor parameter and ηv is the volumetric efficiency. When Leakage and friction parameterization is Analytical, the block uses the faulted volumetric efficiency to calculate the Hagen-Poiseuille coefficient.

When Leakage and friction parameterization is Tabulated data - volumetric and mechanical losses or Input signal - volumetric and mechanical losses, the faulted leakage volumetric flow rate is

qLeak,Fault=fLeakqLeak.

When you enable the Shaft friction torque fault parameter and Leakage and friction parameterization is Analytical, Tabulated data - volumetric and mechanical efficiencies, or Input signal - volumetric and mechanical efficiencies, the faulted mechanical efficiency is

ηm,Fault=ηmfFriction,

where fFriction is the value of the Faulted shaft friction torque factor parameter and ηm is the mechanical efficiency. When Leakage and friction parameterization is Analytical, the block uses the faulted mechanical efficiency to calculate the friction torque at nominal conditions.

When Leakage and friction parameterization is Tabulated data - volumetric and mechanical losses or Input signal - volumetric and mechanical losses, the faulted friction torque is

τFriction,Fault=fFrictionτFriction.

Assumptions and Limitations

  • The block treats the pump as a quasi-steady component.

  • The block ignores the effects of fluid inertia and elevation.

  • The pump wall is rigid.

  • The block ignores external leakage.

Ports

Input

expand all

Physical signal input port for the volumetric efficiency coefficient. The input signal has an upper bound at the Maximum volumetric efficiency parameter value and a lower bound at the Minimum volumetric efficiency parameter value.

Dependencies

To enable this port, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies.

Physical signal input port for the mechanical efficiency coefficient. The input signal has an upper bound at the Maximum mechanical efficiency parameter value and a lower bound at the Minimum mechanical efficiency parameter value.

Dependencies

To enable this port, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies.

Physical signal input port for the volumetric loss which is the internal leakage flow rate between the pump inlets.

Dependencies

To enable this port, set Leakage and friction parameterization to Input signal - volumetric and mechanical losses.

Physical signal input port for the mechanical loss which is the friction torque on the rotating pump shaft.

Dependencies

To enable this port, set Leakage and friction parameterization to Input signal - volumetric and mechanical losses.

Conserving

expand all

Two-phase fluid conserving port associated with the pump inlet.

Two-phase fluid conserving port associated with the pump outlet.

Mechanical rotational conserving port associated with the pump case.

Mechanical rotational conserving port associated with the rotational pump shaft.

Parameters

expand all

Parameters

Method to compute the flow-rate and torque losses due to internal leaks and friction. Use the Analytical if the block parameters are generally available from component data sheets. When you select Tabulated data - volumetric and mechanical efficiencies or Tabulated data - volumetric and mechanical losses, the block uses lookup tables to map pressure gains and shaft angular velocities to component efficiencies or losses.

When you select Input signal - volumetric and mechanical efficiencies or Input signal - volumetric and mechanical losses, the block performs the leakage flow rate and friction torque calculations the same as the Tabulated data - volumetric and mechanical efficiencies or Tabulated data - volumetric and mechanical losses settings, respectively. When you select Input signal - volumetric and mechanical efficiencies, the block enables the EV and EM ports. You use these ports to specify the volumetric and mechanical efficiency. When you select Input signal - volumetric and mechanical losses, the block enables the LV and LM ports. You use these ports to specify the volumetric and mechanical losses.

Fluid volume displaced per shaft rotation. The block maintains this value throughout the simulation.

Angular velocity of the rotary shaft that corresponds to the given volumetric efficiency. The standard operating conditions in the manufacturer data sheet typically list these values. The block uses this parameter to calculate the leakage flow rate and friction torque.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Analytical.

Pressure gain that corresponds to the given volumetric efficiency. The standard operating conditions in the manufacturer data sheet typically list these values. The block uses this parameter to calculate the internal leakage flow rate.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Analytical.

Dynamic viscosity of the hydraulic fluid for the given volumetric efficiency. The standard operating conditions in the manufacturer data sheet typically list these values. The block uses this parameter to calculate the internal leakage flow rate.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Analytical.

Volumetric efficiency for the given conditions. The block defines the volumetric efficiency as the ratio of actual to ideal volumetric flow rates. The standard operating conditions in the manufacturer data sheet typically list these values. The block uses this parameter to calculate the internal leakage flow rate.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Analytical.

Ratio of ideal mechanical power to actual mechanical power at nominal conditions.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Analytical.

Torque to overcome the seal friction and induce rotation of the mechanical shaft. This torque is the load-independent component of the total friction torque.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Analytical.

Pressure gains for the corresponding tabular efficiency or loss data. The vector must be at least two elements in strictly increasing order.

Specify the data for a single quadrant, (ɷ, Δp). Refer to Operating Modes for the operation modes corresponding to parameter specifications and the resulting quadrants.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Tabulated data - volumetric and mechanical efficiencies or Tabulated data - volumetric and mechanical losses.

Shaft angular velocities for the corresponding tabular efficiency or loss data. The vector must be at least two elements in strictly increasing order.

Specify the data for a single quadrant, (ɷ, Δp). Refer to Operating Modes for the operation modes corresponding to parameter specifications and the resulting quadrants.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Tabulated data - volumetric and mechanical efficiencies or Tabulated data - volumetric and mechanical losses.

Volumetric efficiencies for the given fluid pressure gains and shaft angular velocities. The efficiencies must be in the range (0,1]. M and N are the sizes of the specified lookup-table vectors:

  • M is the number of vector elements in the Pressure gain vector, dp parameter.

  • N is the number of vector elements in the Shaft angular velocity vector, w parameter.

Specify the data for a single quadrant, (ɷ, Δp). Refer to Operating Modes for the operation modes corresponding to parameter specifications and the resulting quadrants.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Tabulated data - volumetric and mechanical efficiencies.

Mechanical efficiencies for the given fluid pressure gains and shaft angular velocities. The efficiencies must be in the range (0,1]. M and N are the sizes of the specified lookup-table vectors:

  • M is the number of vector elements in the Pressure gain vector, dp parameter.

  • N is the number of vector elements in the Shaft angular velocity vector, w parameter.

Specify the data for a single quadrant, (ɷ, Δp). Refer to Operating Modes for the operation modes corresponding to parameter specifications and the resulting quadrants.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Tabulated data - volumetric and mechanical efficiencies.

Volumetric losses at the specified fluid pressure gains and shaft angular velocities. Volumetric loss is the internal leakage volumetric flow rate between port A and port B. M and N are the sizes of the specified lookup-table vectors:

  • M is the number of vector elements in the Pressure gain vector, dp parameter.

  • N is the number of vector elements in the Shaft angular velocity vector, w parameter.

Specify the data for a single quadrant, (ɷ, Δp). Refer to Operating Modes for the operation modes corresponding to parameter specifications and the resulting quadrants.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Tabulated data - volumetric and mechanical losses.

Mechanical losses for the given pressure gains and shaft angular velocities. The block defines mechanical loss as the friction torque due to seals and internal components. M and N are the sizes of the specified lookup-table vectors:

  • M is the number of vector elements in the Pressure gain vector, dp parameter.

  • N is the number of vector elements in the Shaft angular velocity vector, w parameter.

Specify the data for a single quadrant, (ɷ, Δp). Refer to Operating Modes for the operation modes corresponding to parameter specifications and the resulting quadrants. The tabulated data for the mechanical losses must obey the convention in the figure, with positive values at positive angular velocities and negative values at negative angular velocities.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Tabulated data - volumetric and mechanical losses.

Smallest allowed value of the volumetric efficiency. The input from the physical signal port EV saturates inputs below this value.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies.

Largest allowed value of the volumetric efficiency. The input from the physical signal port EV saturates inputs above this value.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies.

Smallest allowed value of the mechanical efficiency. The input from the physical signal port EM saturates inputs below this value.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies.

Largest allowed value of the mechanical efficiency. The input from the physical signal port EM saturates inputs above this value.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies.

Pressure gain from the inlet to the outlet below which the block begins to transition between the motor and pump modes. The block uses a hyperbolic tangent function to smooth the leakage flow rate and friction torque.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies or Input signal - volumetric and mechanical losses.

Shaft angular velocity below which the block begins to transition between the motor and pump modes. The block uses the hyperbolic tangent function to smooth the leakage flow rate and friction torque.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Input signal - volumetric and mechanical efficiencies or Input signal - volumetric and mechanical losses.

Flow area at the component inlet and outlet. The areas are assumed equal.

Whether the block does nothing, generates a warning, or generates an error when the vapor quality is greater than 0, which indicates that the fluid is not fully liquid.

Simulation warning mode for operating conditions outside the range of tabulated data. If you select Warning, the block generates a warning when the fluid pressure gain or the shaft angular velocity cross outside the specified tabular data. The warning does not cause simulation to stop. If you select Error, the simulation will stop for conditions outside the range of tabulated data.

Dependencies

To enable this parameter, set Leakage and friction parameterization to:

  • Tabulated data - volumetric and mechanical efficiencies

  • Tabulated data - volumetric and mechanical losses

Simulation warning mode for operating conditions outside the pump mode. When you set this parameter to Warning, the block generates a warning if the pump transitions to motoring mode. The warning does not cause simulation to stop. If you select Error, the simulation will stop for conditions outside the pump mode.

Dependencies

To enable this parameter, set Leakage and friction parameterization to Input signal - volumetric and mechanical losses.

Faults

Option to model a displacement fault in the block. When a fault occurs, the displacement scales by the value of the Faulted displacement factor parameter. To add a fault, click the Add fault hyperlink.

Factor that the block uses to scale the displacement when a fault occurs.

Dependencies

To enable this parameter, click the Add fault hyperlink for the Displacement fault parameter.

Option to model a leakage fault in the block. When a fault occurs, the volumetric efficiencies or losses scale by the value of the Faulted leakage factor parameter. To add a fault, click the Add fault hyperlink.

Factor that the block uses to scale the volumetric efficiencies or losses when a fault occurs.

Dependencies

To enable this parameter, click the Add fault hyperlink for the Leakage fault parameter.

Option to model a shaft friction torque fault in the block. When a fault occurs, the mechanical efficiencies or losses scale by the value of the Faulted shaft friction torque factor parameter. To add a fault, click the Add fault hyperlink.

Factor that the block uses to scale the mechanical efficiencies or losses when a fault occurs.

Dependencies

To enable this parameter, click the Add fault hyperlink for the Shaft friction torque fault parameter.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2022b

expand all