modelPartialPrescribed
Base class
Information
Defines the input signals.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow | firstOrder.y | Mass flow rate |
| Medium.AbsolutePressure | p_in | inletPressure.y | Inlet pressure |
| Medium.Temperature | T_in | inletTemperature.y | Inlet temperature |
| SI.TemperatureDifference | dT | temperatureDifference.y | Temperature difference |
| Medium.Temperature | T_out | T_in + dT | Outlet temperature |
| Medium.Density | rho | Medium.density(state_in) | Density |
| Medium.ThermodynamicState | state_in | Medium.setState_pTX(p_in, T_in, Medium.X_default) | Inlet state |
| Medium.ThermodynamicState | state_out | Medium.setState_dTX(rho, T_out, Medium.X_default) | Outlet state |
| SI.SpecificEnthalpy | h_in | Medium.specificEnthalpy(state_in) | Inlet specific enthalpy |
| SI.SpecificEnthalpy | h_out | Medium.specificEnthalpy(state_out) | Outlet specific enthalpy |
| SI.Pressure | p_out | Medium.pressure(state_out) | Outlet pressure |
| SI.SpecificEnergy | u_in | h_in - p_in/rho | Inlet specific internal energy |
| SI.SpecificEnergy | u_out | h_out - p_out/rho | Outlet specific internal energy |
| SI.SpecificEnergy | du | u_out - u_in | Specific internal energy difference |
| SI.HeatFlowRate | Q_flow | m_flow*du | Heat flow rate |
| ThermofluidStream.DropOfCommons | dropOfCommons | ||
| Modelica.Blocks.Sources.SawTooth | inletPressure | ||
| Modelica.Blocks.Sources.SawTooth | inletTemperature | ||
| Modelica.Blocks.Sources.SawTooth | temperatureDifference | ||
| Modelica.Blocks.Sources.RealExpression | outletTemperature | ||
| Modelica.Blocks.Sources.SawTooth | massFlowRate | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder | ||
| Modelica.Blocks.Sources.RealExpression | heatFlowRate | ||
| EnergyFlow.Sources.PrescribedEnergyFlow | energyFlowSource |
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.