modelModularRotaryCompressor
Example model to test modular rotary compressors
Extends from Modelica.Icons.Example.
Information
This is a example model to test different modular rotary compressor presented in AixLib.Fluid.Movers.Compressors.ModularCompressors, whereby the thermodynamic states at inlet and outlet of the compressor are prescribed in terms of pressure and temperature. Therefore, the User can select both different modular modelling approaches (e.g. AixLib.Fluid.Movers.Compressors.ModularCompressors.ModularCompressors or AixLib.Fluid.Movers.Compressors.ModularCompressors.ModularCompressorsSensors) and various efficiency models byusing the dialog menu.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nCom | 2 | Number of compressors |
| Modelica.Units.SI.AbsolutePressure | pInl | Medium.pressure(Medium.setBubbleState(Medium.setSat_T(TInl + 1))) | Current pressure at inlet conditions |
| Modelica.Units.SI.Temperature | TInl | 283.15 | Current temperature at inlet conditions |
| Modelica.Units.SI.AbsolutePressure | pOut | Medium.pressure(Medium.setDewState(Medium.setSat_T(TOut - 5))) | Current set point of the compressor's outlet pressure |
| Modelica.Units.SI.Temperature | TOut | 333.15 | Current temperature at outlet conditions |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Sources.Boundary_pT | source | Source with constant pressure and temperature | |
| Modelica.Thermal.HeatTransfer.Sources.FixedTemperature[nCom] | fixTem | Fixed ambient temperature | |
| ModularCompressors.ModularCompressors | modCom | Model of modular compressors in parallel | |
| Modelica.Blocks.Sources.Sine | valOpe | Prescribed valve's opening | |
| Obsolete.Year2021.Fluid.Actuators.Valves.SimpleValve | simVal | Model of a simple valve to simulate pressure losses | |
| Sources.Boundary_pT | sink | Sink with constant pressure and temperature | |
| Controls.Interfaces.ModularHeatPumpControlBus | dataBus | Connector that contains all control signals | |
| Modelica.Blocks.Sources.Sine | rotSpe | Input signal to prediscribe compressors' rotational speeds | |
| Modelica.Blocks.Routing.Replicator | repRotSpe | Replicating the compressors' rotational speedsl | |
| Modelica.Blocks.Routing.Replicator | repInt | Replicating the internal set signal | |
| Modelica.Blocks.Routing.Replicator | repMea | Replicating the current value of the controlled variables | |
| Modelica.Blocks.Sources.Ramp | ramMea | Ramp to fake current value sof the controlled variables |
Contents
| Name | Description |
|---|---|
| Medium | Medium of the compressor |
Revisions
- October 20, 2017, by Mirko Engelpracht:
First implementation (see issue 467).