Description: "Package containing data for real pumps/fans"

- Home > Modelica

## Buildings.Fluid.Movers.Data

Package containing data for real pumps/fans

### Information

This package contains data for fans and pumps.

See the User's Guide for more information.

Extends from Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).

### Package Content

Name | Description
--- | ---
FlowControlled | Generic data record for pumps and fans with prescribed m_flow or dp
SpeedControlled_Nrpm | Generic data record for FlowMachine_Nrpm
SpeedControlled_y | Generic data record for pumps and fans that take y as an input signal
Pumps | Package containing data for pumps

## Buildings.Fluid.Movers.Data.FlowControlled

Generic data record for pumps and fans with prescribed m_flow or dp

### Information

Record containing parameters for pumps or fans that have either the mass flow rate or the pressure rise as an input signal.

This record may be used to assign for example fan performance data using declaration such as

      Buildings.Fluid.Movers.FlowControlled_m_flow fan(
          redeclare package Medium = Medium) "Fan";

This data record can be used with Buildings.Fluid.Movers.FlowControlled_dp and with Buildings.Fluid.Movers.FlowControlled_m_flow.

For Buildings.Fluid.Movers.SpeedControlled_y, use the record Buildings.Fluid.Movers.Data.SpeedControlled_y.

For Buildings.Fluid.Movers.SpeedControlled_Nrpm, use the record Buildings.Fluid.Movers.Data.Generic_Nrpm

Extends from Modelica.Icons.Record (Icon for records).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
efficiencyParameters | hydraulicEfficiency |  | Hydraulic efficiency
efficiencyParameters | motorEfficiency |  | Electric motor efficiency
powerParameters | power |  | Volume flow rate vs. electrical power consumption
Boolean | motorCooledByFluid | true | If true, then motor heat is added to fluid stream
Boolean | use_powerCharacteristic | false | Use powerCharacteristic instead of efficiencyCharacteristic

### Modelica definition

record FlowControlled "Generic data record for pumps and fans with prescribed m_flow or dp" extends Modelica.Icons.Record; parameter Buildings.Fluid.Movers.BaseClasses.Characteristics.efficiencyParameters hydraulicEfficiency( V_flow={0}, eta={0.7}) "Hydraulic efficiency"; parameter Buildings.Fluid.Movers.BaseClasses.Characteristics.efficiencyParameters motorEfficiency( V_flow={0}, eta={0.7}) "Electric motor efficiency"; // Power requires default values to avoid in Dymola the message // Failed to expand the variable Power.V_flow parameter BaseClasses.Characteristics.powerParameters power(V_flow={0}, P={0}) "Volume flow rate vs. electrical power consumption"; parameter Boolean motorCooledByFluid=true "If true, then motor heat is added to fluid stream"; parameter Boolean use_powerCharacteristic=false "Use powerCharacteristic instead of efficiencyCharacteristic"; end FlowControlled;

## Buildings.Fluid.Movers.Data.SpeedControlled_Nrpm

Generic data record for FlowMachine_Nrpm

### Information

Record containing parameters for pumps or fans of type Buildings.Fluid.Movers.SpeedControlled_Nrpm.

This record is identical to Buildings.Fluid.Movers.Data.Generic Buildings.Fluid.Movers.Data.Generic. except that it also declares the nominal speed which is required for models that take the RPM as an input.

This record may be used to assign for example fan performance data using declaration such as

      Buildings.Fluid.Movers.SpeedControlled_y fan(
      redeclare package Medium = Medium,
        N_nominal = 1800,
        per(pressure(V_flow={0,m_flow_nominal,2*m_flow_nominal}/1.2,
                     dp={2*dp_nominal,dp_nominal,0}))) "Fan";

This data record can be used with Buildings.Fluid.Movers.SpeedControlled_Nrpm and Buildings.Fluid.Movers.SpeedControlled_y.

An example that uses manufacturer data can be found in Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_Data.

Extends from SpeedControlled_y (Generic data record for pumps and fans that take y as an input signal).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
efficiencyParameters | hydraulicEfficiency |  | Hydraulic efficiency
efficiencyParameters | motorEfficiency |  | Electric motor efficiency
powerParameters | power |  | Volume flow rate vs. electrical power consumption
Boolean | motorCooledByFluid | true | If true, then motor heat is added to fluid stream
Boolean | use_powerCharacteristic | false | Use powerCharacteristic instead of efficiencyCharacteristic
flowParameters | pressure |  | Volume flow rate vs. total pressure rise
AngularVelocity_rpm | N_nominal | 1500 | Nominal rotational speed for flow characteristic [1/min]

### Modelica definition

record SpeedControlled_Nrpm "Generic data record for FlowMachine_Nrpm" extends SpeedControlled_y; parameter Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm N_nominal = 1500 "Nominal rotational speed for flow characteristic"; end SpeedControlled_Nrpm;

## Buildings.Fluid.Movers.Data.SpeedControlled_y

Generic data record for pumps and fans that take y as an input signal

### Information

Record containing parameters for pumps or fans as can be found in data sheets.

This record may be used to assign for example fan performance data using declaration such as

      Buildings.Fluid.Movers.SpeedControlled_y fan(
          redeclare package Medium = Medium,
          per(pressure(V_flow={0,m_flow_nominal,2*m_flow_nominal}/1.2,
                       dp={2*dp_nominal,dp_nominal,0}))) "Fan";

This data record can be used with Buildings.Fluid.Movers.SpeedControlled_y.

For Buildings.Fluid.Movers.SpeedControlled_Nrpm, use the record Buildings.Fluid.Movers.Data.Generic_Nrpm.

Extends from FlowControlled (Generic data record for pumps and fans with prescribed m_flow or dp).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
efficiencyParameters | hydraulicEfficiency |  | Hydraulic efficiency
efficiencyParameters | motorEfficiency |  | Electric motor efficiency
powerParameters | power |  | Volume flow rate vs. electrical power consumption
Boolean | motorCooledByFluid | true | If true, then motor heat is added to fluid stream
Boolean | use_powerCharacteristic | false | Use powerCharacteristic instead of efficiencyCharacteristic
flowParameters | pressure |  | Volume flow rate vs. total pressure rise

### Modelica definition

record SpeedControlled_y "Generic data record for pumps and fans that take y as an input signal" extends FlowControlled; parameter Buildings.Fluid.Movers.BaseClasses.Characteristics.flowParameters pressure "Volume flow rate vs. total pressure rise"; /* This does not translate in OpenModelica (even if FlowControlled is copied into this model rather than extended). parameter Buildings.Fluid.Movers.BaseClasses.Characteristics.efficiencyParameters hydraulicEfficiency( V_flow=power.V_flow, eta=if use_powerCharacteristic then {sqrt(power.V_flow[i]*pressure.dp[i]/ Buildings.Fluid.Movers.BaseClasses.Characteristics.power( per=power, V_flow=power.V_flow[i], r_N=1, delta=0.01, d=Buildings.Utilities.Math.Functions.splineDerivatives( x=power.V_flow, y=power.P)) ) for i in 1:size(power.V_flow, 1)} else {0.7 for i in 1:size(power.V_flow, 1)}) "Hydraulic efficiency"; parameter Buildings.Fluid.Movers.BaseClasses.Characteristics.efficiencyParameters motorEfficiency(V_flow=power.V_flow, eta=if use_powerCharacteristic then sqrt(power.V_flow.*pressure.dp./ {Buildings.Fluid.Movers.BaseClasses.Characteristics.power( per=power, V_flow=i, r_N=1, delta=0.01, d=Buildings.Utilities.Math.Functions.splineDerivatives( x=power.V_flow, y=power.P)) for i in power.V_flow}) else {0.7 for i in power.V_flow}) "Electric motor efficiency"; */ end SpeedControlled_y;