modelModularExpansionValvesMassFlowRate

Simple model to check modular expansion valves models with fixed mass flow rate

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This is a simple example model to test expansion valves presented in AixLib.Fluid.Actuators.Valves.ExpansionValves.ModularExpansionValves. Therefore, both the valve's inlet and outlet conditions are prescribed. The inlet conditions are prescribed in terms of mass flow rate and temperature; the outlet conditions are prescribed in terms of pressure and temperature. Furthermore, dummy signals are provided for the following data bus signals:

  1. Set signal for internal controllers.
  2. Manipulated signals given externally.
  3. Measured values of controlled variables.

Then, both the internal controllers and the manipulated signals given externaly can be tested by changing the controller mode.

Parameters

TypeNameDefaultDescription
IntegernVal3Number of valves - each valve will be connected to an individual port_b
Modelica.Units.SI.AbsolutePressurepInlMedium.pressure(Medium.setBubbleState(Medium.setSat_T(TInl + 5)))Current pressure at inlet conditions
Modelica.Units.SI.TemperatureTInl348.15Current temperature at inlet conditions
Modelica.Units.SI.AbsolutePressurepOutMedium.pressure(Medium.setDewState(Medium.setSat_T(TOut)))Current set point of the compressor's outlet pressure
Modelica.Units.SI.TemperatureTOut278.15Current temperature at outlet conditions

Connectors

TypeNameDefaultDescription
Controls.Interfaces.ModularHeatPumpControlBusdataBusData bus used to enable communication with dummy signals

Components

TypeNameDefaultDescription
Sources.MassFlowSource_TsourceSource of constant mass flow and temperature
ModularExpansionValves.ModularExpansionValvesSensorsmodValModular expansion valves in parallel
Interfaces.PortsAThroughPortBportsAThroughPortBModel to connect each valves' outlet pipe with each other
AixLib.Fluid.Sources.Boundary_pTsinkSink of constant pressure and temperature
Modelica.Blocks.Routing.ReplicatorrepValOpeReplicating the valves' opening signal
Modelica.Blocks.Sources.SinevalOpeInput signal to prediscribe expansion valve's opening
Modelica.Blocks.Routing.ReplicatorrepIntReplicating the internal set signal
Modelica.Blocks.Routing.ReplicatorrepCurReplicating the actual value of the manipulated variables
Modelica.Blocks.Sources.RampramCurRamp to fake actual value of the controlled variables

Contents

NameDescription
MediumCurrent medium of the compressor

Revisions

  • October 17, 2017, by Mirko Engelpracht, Christian Vering:
    First implementation (see issue 457).