OneWayValve

Simple one-way valve

    OneWayValve

Library

Modelica/Thermal/FluidHeatFlow/Components

Description

Simple one-way valve, comparable to the electrical ideal diode model.

  • from flowPort_a to flowPort_b: small pressure drop, linearly dependent on volumeFlow
  • from flowPort_b to flowPort_a: small leakage flow, linearly dependent on pressure drop

Parameters

OneWayValve_0

NameLabelDescriptionData TypeValid Values

mo_medium

medium

Medium in the component

FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Medium')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Air_30degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Air_70degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.MineralOil')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Water')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Gylcol20_20degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Gylcol50_20degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Water_10degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Water_90degC')

mo_m

m

Mass of medium

Scalar

mo_T0

T0

Initial temperature of medium

Scalar

mo_T0fixed

T0fixed

Initial temperature guess value or fixed

Scalar

true
false

mo_tapT

tapT

Defines temperature of heatPort between inlet and outlet temperature

Scalar

mo_V_flowNominal

V_flowNominal

Nominal volume flow rate (forward)

Scalar

mo_dpForward

dpForward

Pressure drop at nominal flow (forward)

Scalar

mo_dpNominal

dpNominal

Nominal pressure (backward)

Scalar

mo_V_flowBackward

V_flowBackward

Leakage volume flow rate (backward)

Scalar

mo_frictionLoss

frictionLoss

Part of friction losses fed to medium

Scalar

mo_unitVolumeFlowRate

unitVolumeFlowRate

Scalar

mo_unitPressureDrop

unitPressureDrop

Scalar

OneWayValve_1

NameLabelDescriptionData TypeValid Values

mo_dp

dp

dp

Structure

mo_dp/fixed

fixed

Cell of scalars

true
false

mo_dp/start

start

Cell of scalars

mo_V_flow

V_flow

V_flow

Structure

mo_V_flow/fixed

fixed

Cell of scalars

true
false

mo_V_flow/start

start

Cell of scalars

mo_Q_flow

Q_flow

Q_flow

Structure

mo_Q_flow/fixed

fixed

Cell of scalars

true
false

mo_Q_flow/start

start

Cell of scalars

mo_T

T

T

Structure

mo_T/fixed

fixed

Cell of scalars

true
false

mo_T/start

start

Cell of scalars

mo_T_a

T_a

T_a

Structure

mo_T_a/fixed

fixed

Cell of scalars

true
false

mo_T_a/start

start

Cell of scalars

mo_T_b

T_b

T_b

Structure

mo_T_b/fixed

fixed

Cell of scalars

true
false

mo_T_b/start

start

Cell of scalars

mo_dT

dT

dT

Structure

mo_dT/fixed

fixed

Cell of scalars

true
false

mo_dT/start

start

Cell of scalars

mo_T_q

T_q

T_q

Structure

mo_T_q/fixed

fixed

Cell of scalars

true
false

mo_T_q/start

start

Cell of scalars

mo_backward

backward

backward

Structure

mo_backward/fixed

fixed

Cell of scalars

true
false

mo_backward/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

flowPort_a

implicit

output

1

flowPort_b

implicit

output

2