modelFixed3

Example - Isochoric process

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

Information

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

Parameters

TypeNameDefaultDescription
SI.MassFlowRatem_flow (from PartialFixed)1Mass flow rate
Medium.AbsolutePressurep_in (from PartialFixed)100000Inlet pressure
Medium.TemperatureT_in (from PartialFixed)293.15Inlet temperature
SI.TemperatureDifferencedT (from PartialFixed)20Temperature difference
Medium.TemperatureT_out (from PartialFixed)T_in + dTOutlet temperature
Medium.SpecificHeatCapacitycv (from PartialFixed)Medium.specificHeatCapacityCv(Medium.setState_pT(p_in, T_in))
SI.HeatFlowRateQ_flow (from PartialFixed)m_flow*cv*dTHeat flow rate

Components

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

Revisions

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