modelInversion
Extends from Modelica.Icons.Example.
Information
Examples of a two stage vapor cycle. See TUMExercisesThermodynamicCycles.Exercise8TwoStageRefrigerationCycle for problem description.
This example uses the InverseBlockConstraints model resulting in implicit nonlinear equations. These equations require suitable start values to be solvable.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Cooling requirement | |||
| SI.Mass | m | 75 | Mass to be cooled |
| SI.SpecificHeatCapacity | c | 2e3 | Specific heat capacity |
| SI.TemperatureDifference | dT | 40 | Temperature difference |
| SI.Time | duration | 900 | Time |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.Idealized.Processes.Adiabatic | lowPressureCompressor | ||
| ThermofluidStream.DropOfCommons | dropOfCommons | ||
| ThermofluidStream.Idealized.Processes.Isenthalpic | lowPressureValve | ||
| ThermofluidStream.Idealized.Processes.Isobaric | evaporator | ||
| ThermofluidStream.Idealized.Boundaries.LoopBreaker | loopBreaker | ||
| Modelica.Blocks.Sources.RealExpression | h_dew | ||
| ThermofluidStream.Idealized.Processes.Adiabatic | highPressureCompressor | ||
| ThermofluidStream.Idealized.Processes.Isobaric | condensor | ||
| ThermofluidStream.Idealized.Processes.Isenthalpic | highPressureValve | ||
| ThermofluidStream.Idealized.Components.Separator | flashChamber | ||
| ThermofluidStream.Idealized.Boundaries.LoopBreaker | loopBreaker1 | ||
| Modelica.Blocks.Sources.RealExpression | h_dew1 | ||
| ThermofluidStream.Sensors.TwoPhaseSensorSelect | vaporQuality | ||
| ThermofluidStream.Utilities.showRealValue | lowPressureCompressorOutletTemperature | ||
| ThermofluidStream.Utilities.showRealValue | valveOutletVaporQuality | ||
| ThermofluidStream.Utilities.showRealValue | LowPressureCompressorPower | ||
| ThermofluidStream.Utilities.showRealValue | ElectricPower | ||
| ThermofluidStream.Utilities.showRealValue | showRealValue5 | ||
| Modelica.Blocks.Sources.RealExpression | h_bubble | ||
| ThermofluidStream.Idealized.EnergyFlow.Sources.FixedEnergyFlow | heatFlow | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.FixedTransferEfficiency | losses | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.Sum | shaftPower | ||
| Modelica.Blocks.Math.InverseBlockConstraints | inverseBlockConstraints | ||
| Modelica.Blocks.Sources.RealExpression | temperature | ||
| ThermofluidStream.Sensors.SingleSensorSelect | temperatureSensor |
Contents
| Name | Description |
|---|---|
| Medium |
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.