modelPartialHydraulicModule

Base class for hydraulic module.

Extends from AixLib.Fluid.Interfaces.PartialFourPort (Partial model with four ports).

Information

Admix circuit with a replaceable pump model for the distribution of hot or cold water. All sensor and actor values are connected to the hydraulic bus.

Characteristics

There is a connecting pipe between distributer and collector of manifold so that the pressure difference between them becomes insignificant. The main pump only works against the resistance in the main circuit.

The mass flow in primary and secondary circuits stay constant.

The secondary circuits do not affect each other when switching operational modes.

  • August, 2018, by Alexander Kümpel:
    First implementation

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversal1 (from PartialFourPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal for medium 1
BooleanallowFlowReversal2 (from PartialFourPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal for medium 2
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Parameters
StringpipeModel"SimplePipe"
Pipes
Modelica.Units.SI.LengthlengthPipe length of all pipes (can be overwritten in each pipe)
DataBase.Pipes.PipeBaseDataDefinitionparameterPipeAixLib.DataBase.Pipes.Copper.Copper_6x1()Pipe type and diameter (can be overwritten in each pipe)
DataBase.Pipes.InsulationBaseDataDefinitionparameterIsoAixLib.DataBase.Pipes.Insulation.Iso50pc()Insulation Type (can be overwritten in each pipe)
Actuators
RealKvKv value of valve (can be overwritten in the valve)
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominalNominal mass flow rate
Initialization
Modelica.Units.SI.TemperatureT_start303.15Initialization temperature
Advanced
Modelica.Units.SI.Timetau15Time Constant for PT1 behavior of temperature sensors
Modelica.Units.SI.TemperatureT_amb298.15Ambient temperature for heat loss
Modelica.Units.SI.TimetauHeaTraparameterPipe.d_i*parameterPipe.d_i/4*1000*4180*(log(parameterPipe.d_i/parameterPipe.d_o)/2/parameterPipe.lambda + log(parameterPipe.d_o/parameterPipe.d_o*(1 + parameterIso.factor))/2/parameterIso.lambda + 1/hCon/parameterPipe.d_o*(1 + parameterIso.factor))Time constant for heat transfer of temperature sensors to ambient
Modelica.Units.SI.CoefficientOfHeatTransferhCon4Convection heat transfer coeffient for all pipes
Dynamics › Equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicsmassDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of mass balance: dynamic (3 initialization options) or steady state

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a1 (from PartialFourPort)Fluid connector a1 (positive design flow direction is from port_a1 to port_b1)
Modelica.Fluid.Interfaces.FluidPort_bport_b1 (from PartialFourPort)Fluid connector b1 (positive design flow direction is from port_a1 to port_b1)
Modelica.Fluid.Interfaces.FluidPort_aport_a2 (from PartialFourPort)Fluid connector a2 (positive design flow direction is from port_a2 to port_b2)
Modelica.Fluid.Interfaces.FluidPort_bport_b2 (from PartialFourPort)Fluid connector b2 (positive design flow direction is from port_a2 to port_b2)
BaseClasses.HydraulicBushydraulicBus

Components

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureprescribedTemperature
Modelica.Blocks.Sources.Constantconst

Contents

NameDescription
MediumMedium in the system