modelPseudoInversion

Extends from Modelica.Icons.Example (Icon for runnable examples), ThermofluidStream.Idealized.Utilities.IconInertanceNeglectOpenModelica (Icon for considerInertance = false (in OpenModelica)).

Information

Examples of a two stage vapor cycle. See TUMExercisesThermodynamicCycles.Exercise8TwoStageRefrigerationCycle for problem description.

This example uses pseudoInversion "controllers" instead of the InverseBlockConstraints model. With this the implicit nonlinear equations can be "avoided". Note that also the time integration algorithm requires suitable start values and is also likely to be implicit and will likely solve implicit nonlinear equations aswell.

Index reduction requires considerInertance = false in Open Modelica, see UsersGuide.InertanceNeglect.

Parameters

TypeNameDefaultDescription
Cooling requirement
SI.Massm75Mass to be cooled
SI.SpecificHeatCapacityc2e3Specific heat capacity
SI.TemperatureDifferencedT40Temperature difference
SI.Timeduration900Time

Components

TypeNameDefaultDescription
ThermofluidStream.Idealized.Processes.AdiabaticlowPressureCompressor
ThermofluidStream.DropOfCommonsdropOfCommons
ThermofluidStream.Idealized.Processes.IsenthalpiclowPressureValve
ThermofluidStream.Idealized.Processes.Isobaricevaporator
ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker
Modelica.Blocks.Sources.RealExpressionh_dew
ThermofluidStream.Idealized.Processes.AdiabatichighPressureCompressor
ThermofluidStream.Idealized.Processes.Isobariccondensor
ThermofluidStream.Idealized.Processes.IsenthalpichighPressureValve
ThermofluidStream.Idealized.Components.SeparatorflashChamber
ThermofluidStream.Idealized.Boundaries.LoopBreakerloopBreaker1
Modelica.Blocks.Sources.RealExpressionh_dew1
ThermofluidStream.Sensors.TwoPhaseSensorSelectvaporQuality
ThermofluidStream.Utilities.showRealValuelowPressureCompressorOutletTemperature
ThermofluidStream.Utilities.showRealValuevalveOutletVaporQuality
ThermofluidStream.Utilities.showRealValueLowPressureCompressorPower
ThermofluidStream.Utilities.showRealValueElectricPower
ThermofluidStream.Utilities.showRealValueshowRealValue5
Modelica.Blocks.Sources.RealExpressionh_bubble
ThermofluidStream.Idealized.EnergyFlow.Sources.FixedEnergyFlowheatFlow
ThermofluidStream.Idealized.EnergyFlow.Components.FixedTransferEfficiencylosses
ThermofluidStream.Idealized.EnergyFlow.Components.SumshaftPower
Modelica.Blocks.Math.Feedbackfeedback
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Math.Gaingain
ThermofluidStream.Sensors.SingleSensorSelecttemperatureSensor
Modelica.Blocks.Math.Feedbackfeedback1
Modelica.Blocks.Continuous.Integratorintegrator1
Modelica.Blocks.Sources.RealExpressiontemperature

Contents

NameDescription
Medium

Revisions

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