functiongetPeak

Find peak condition from power characteristics

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function finds or estimates the peak point (V̇,Δp,η)|η=ηmax from the input power curve P(V̇) and pressure curve Δp(V̇) which may or may not contain non-zero values. The results are output as an instance of Buildings.Fluid.Movers.BaseClasses.Euler.peak. There are the following branches of computation based on information provided to the function:

  • If Δp(V̇) is unavailable, the function simply outputs (0,0,0.7).
  • If Δp(V̇) is provided but P(V̇) is unavailable, the function provides an estimation of the peak point at half of max flow rate (V̇max ⁄ 2, Δp(V̇=V̇max ⁄ 2), 0.7).
  • If both Δp(V̇) and P(V̇) are available, the function first computes η(V̇)=V̇ Δp ⁄ P.
    • If η(V̇) has less than four data points or is monotonic, use one of the two which ever produces a higher η:
      • The interpolated point at half of max flow rate (V̇max ⁄ 2, Δp(V̇=V̇max ⁄ 2), η(V̇=V̇max ⁄ 2))
      • The available point with the highest computed efficiency.
    • Otherwise, the function runs a quartic regression on η(V̇) then solves its derivative to find an extremum. It assumes that there is only one extremum on the open interval (0,V̇max).

Inputs

TypeNameDefaultDescription
Buildings.Fluid.Movers.BaseClasses.Characteristics.flowParameterspressurePressure vs. flow rate
BaseClasses.Characteristics.powerParameterspowerPower vs. flow rate

Outputs

TypeNameDefaultDescription
Buildings.Fluid.Movers.BaseClasses.Euler.peakpeakOperation point at maximum efficiency

Revisions

  • August 18, 2022, by Hongxiang Fu:
    First implementation. This is for #2668.