.ThermofluidStream.Processes.Internal.TurboComponent.partial_dp_tau

Information

This function computes the pressure differential and the moment needed for static operation of a partialTurboComponent in its current state.

By changing this function the partialTurboComponent implements different kinds of turbo components like fans, pumps, compressors, turbines, etc.

Interface

partial function partial_dp_tau
  extends Modelica.Icons.Function;
  replaceable package Medium = Media.myMedia.Interfaces.PartialMedium "Medium model" annotation(
    choicesAllMatching = true,
    Documentation(info = "<html>
<p>
Medium model needet to compute properties from the inlet_state.
</p>
</html>"));
  input Medium.MassFlowRate m_flow "Mass flow through component";
  input SI.AngularVelocity omega "Component angular velocity";
  input Medium.ThermodynamicState state_in "Thermodynamic state at inlet";
  input Medium.MassFlowRate m_flow_norm "Mass flow used for normalization";
  input SI.AngularVelocity omega_norm "Angular velocity used for normalization";
  input Medium.Density rho_min "Minimum for rho (to make model robust for rho=0 @ p=0)";
  output SI.Pressure dp "Pressure difference of fluid (dp=p1-p2)";
  output SI.Torque tau_st "Moment that would leed to static operation";
end partial_dp_tau;

Contents

NameDescription
 MediumMedium model

Generated at 2024-10-30T19:25:41Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos