modelFixed3

Example - Isobaric process

Extends from ThermofluidStream.Idealized.Tests.Processes.Isobaric.PartialFixed (Base Class), Modelica.Icons.Example (Icon for runnable examples).

Information

This example illustrates several variants of using the Isobaric process for heat transfer defined by parameters (mass flow rate and heat flow rate given).

Parameters

TypeNameDefaultDescription
SI.MassFlowRatem_flow (from PartialFixed)1Mass flow rate
Medium.AbsolutePressurep (from PartialFixed)200000Pressure (inlet = outlet)
Medium.TemperatureT_in (from PartialFixed)293.15Inlet temperature
SI.TemperatureDifferencedT (from PartialFixed)10Temperature difference
SI.AbsolutePressurep_inf (from PartialFixed)100000Ambient pressure
Medium.TemperatureT_out (from PartialFixed)T_in + dTOutlet temperature
Medium.ThermodynamicStatestate_in (from PartialFixed)Medium.setState_pTX(p, T_in, Medium.X_default)Inlet state
Medium.ThermodynamicStatestate_out (from PartialFixed)Medium.setState_pTX(p, T_out, Medium.X_default)Outlet state
Medium.Densityrho_in (from PartialFixed)Medium.density(state_in)Inlet density
Medium.Densityrho_out (from PartialFixed)Medium.density(state_in)Outlet density
SI.SpecificVolumev_in (from PartialFixed)1/rho_inInlet density
SI.SpecificVolumev_out (from PartialFixed)1/rho_outOutlet density
Medium.SpecificEnthalpyh_in (from PartialFixed)Medium.specificEnthalpy(state_in)Inlet specific enthalpy
Medium.SpecificEnthalpyh_out (from PartialFixed)Medium.specificEnthalpy(state_out)Outlet specific enthalpy
Medium.SpecificEnthalpydh (from PartialFixed)h_out - h_inSpecific enthalpy difference
Medium.SpecificEnergyq (from PartialFixed)dhSpecific heat flow rate
SI.HeatFlowRateQ_flow (from PartialFixed)m_flow*qHeat flow rate
Medium.SpecificEnergyu_in (from PartialFixed)h_in - p/rho_inInlet specific internal energy
Medium.SpecificEnergyu_out (from PartialFixed)h_out - p/rho_outOutlet specific internal energy
Medium.SpecificEnergydu (from PartialFixed)u_out - u_inSpecific internal energy difference
SI.SpecificEnergyw_exp (from PartialFixed)-p*(v_out - v_in)Specific expansion work
SI.SpecificEnergyw_amb (from PartialFixed)-p_inf*(v_out - v_in)Specific ambient pressure work
SI.SpecificEnergyw_exp_net (from PartialFixed)w_exp - w_ambNet specific expansion work
SI.PowerP (from PartialFixed)m_flow*w_exp_netNet power (net expansion work flow rate)

Components

TypeNameDefaultDescription
ThermofluidStream.DropOfCommonsdropOfCommons (from PartialFixed)
EnergyFlow.Sources.FixedEnergyFlowenergyFlowSource
ThermofluidStream.Boundaries.Sourcesource
ThermofluidStream.Idealized.Processes.IsobaricisobaricFlow
.ThermofluidStream.Boundaries.Sink_msink
ThermofluidStream.Boundaries.Sourcesource1
ThermofluidStream.Idealized.Processes.IsobaricisobaricCycle
.ThermofluidStream.Boundaries.Sink_msink1

Revisions

  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.