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
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal1 (from PartialFourPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal for medium 1 |
| Boolean | allowFlowReversal2 (from PartialFourPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal for medium 2 |
| Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Parameters | |||
| String | pipeModel | "SimplePipe" | |
| Pipes | |||
| Modelica.Units.SI.Length | length | Pipe length of all pipes (can be overwritten in each pipe) | |
| DataBase.Pipes.PipeBaseDataDefinition | parameterPipe | AixLib.DataBase.Pipes.Copper.Copper_6x1() | Pipe type and diameter (can be overwritten in each pipe) |
| DataBase.Pipes.InsulationBaseDataDefinition | parameterIso | AixLib.DataBase.Pipes.Insulation.Iso50pc() | Insulation Type (can be overwritten in each pipe) |
| Actuators | |||
| Real | Kv | Kv value of valve (can be overwritten in the valve) | |
| Nominal condition | |||
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | Nominal mass flow rate | |
| Initialization | |||
| Modelica.Units.SI.Temperature | T_start | 303.15 | Initialization temperature |
| Advanced | |||
| Modelica.Units.SI.Time | tau | 15 | Time Constant for PT1 behavior of temperature sensors |
| Modelica.Units.SI.Temperature | T_amb | 298.15 | Ambient temperature for heat loss |
| Modelica.Units.SI.Time | tauHeaTra | parameterPipe.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.CoefficientOfHeatTransfer | hCon | 4 | Convection heat transfer coeffient for all pipes |
| Dynamics › Equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Modelica.Fluid.Types.Dynamics | massDynamics | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Type of mass balance: dynamic (3 initialization options) or steady state |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a1 (from PartialFourPort) | Fluid connector a1 (positive design flow direction is from port_a1 to port_b1) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b1 (from PartialFourPort) | Fluid connector b1 (positive design flow direction is from port_a1 to port_b1) | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_a2 (from PartialFourPort) | Fluid connector a2 (positive design flow direction is from port_a2 to port_b2) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b2 (from PartialFourPort) | Fluid connector b2 (positive design flow direction is from port_a2 to port_b2) | |
| BaseClasses.HydraulicBus | hydraulicBus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature | prescribedTemperature | ||
| Modelica.Blocks.Sources.Constant | const |
Contents
| Name | Description |
|---|---|
| Medium in the system |