modelStep9FinalResultsReversed
Extends from Modelica.Icons.Example, ThermofluidStream.Idealized.Utilities.IconInertanceNeglectOpenModelica.
Information
Theoretically, the nonlinear equations can be avoided if the flow through compressor1 is reversed.
In this case the inlet state of reversedCompressor1 is known.
This however requires to calculate a modified isentropic efficiency, which is impractical, unless eta_is = 1.
Index reduction requires considerInertance = false in Open Modelica,
see UsersGuide.InertanceNeglect.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Temperature | T1 | compressor1.T_out | |
| SI.Temperature | T2 | compressor1.T_in | |
| Real | x | T2/T1 | |
| Real | eta | 0.96 | |
| Real | eta1 | (1 + eta*(x - 1))/(eta*x) | |
| ThermofluidStream.DropOfCommons | dropOfCommons | ||
| ThermofluidStream.Idealized.Processes.Isobaric | reactor | ||
| ThermofluidStream.Idealized.Processes.PolytropicPerfectGas | turbine1 | ||
| ThermofluidStream.Idealized.EnergyFlow.Sources.FixedEnergyFlow | reactorHeatFlow | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.FixedTransferEfficiency | turbine1Losses | ||
| ThermofluidStream.Idealized.Processes.PolytropicPerfectGas | turbine2 | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.FixedTransferEfficiency | turbine2Losses | ||
| ThermofluidStream.Idealized.Processes.PolytropicPerfectGas | turbine3 | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.Sum | turbine3HeatLosses | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.FixedTransferEfficiency | turbine3ShaftLosses | ||
| ThermofluidStream.Idealized.EnergyFlow.Sources.FixedEnergyFlow | generator | ||
| ThermofluidStream.Idealized.Processes.Isobaric | heatExchangerHotSide | ||
| ThermofluidStream.Idealized.Processes.Isobaric | cooler2 | ||
| ThermofluidStream.Idealized.Processes.Isobaric | heatExchangerColdSide | ||
| ThermofluidStream.Idealized.Boundaries.Sink_free | sink | ||
| ThermofluidStream.Idealized.Processes.PolytropicPerfectGas | compressor1 | ||
| ThermofluidStream.Boundaries.Source | reverseSource | ||
| ThermofluidStream.Boundaries.Source | source | ||
| Modelica.Blocks.Math.Gain | gain | ||
| ThermofluidStream.Idealized.Boundaries.MassFlowRate | massFlowRate | ||
| Modelica.Blocks.Sources.RealExpression | realExpression | ||
| ThermofluidStream.Idealized.Processes.PolytropicPerfectGas | reversedCompressor2 | ||
| ThermofluidStream.Idealized.Processes.Isobaric | cooler1 | ||
| ThermofluidStream.Idealized.Boundaries.Sink_free | reverseSink | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression1 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression2 | ||
| ThermofluidStream.Utilities.showRealValue | heatExchangerOutletTemperature | ||
| ThermofluidStream.Utilities.showRealValue | efficiency | ||
| ThermofluidStream.Utilities.showRealValue | turbine1OutletPressure | ||
| ThermofluidStream.Utilities.showRealValue | turbine2IsentropicEfficiency | ||
| ThermofluidStream.Utilities.showRealValue | compressor1Power | ||
| ThermofluidStream.Utilities.showRealValue | compressor2Power | ||
| ThermofluidStream.Utilities.showRealValue | turbine3HeatLoss | ||
| ThermofluidStream.Utilities.showRealValue | compressor1EntropyProduction | ||
| ThermofluidStream.Sensors.DifferenceSensorSelect | entropyDifferenceSensor | ||
| Modelica.Blocks.Sources.RealExpression | realExpression4 |
Contents
| Name | Description |
|---|---|
| Medium |
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.