 Valve - MapleSim Help

Valve

Simple valve  Description The Valve component is a two-port thermal-fluid component that models a simple valve controlled by a real input. A boolean parameter selects one of two characteristics: linear or exponential. The Medium parameter specifies the name of a Thermal-Fluid Media record, which must be in the model at the same or higer level. The Use default medium boolean parameter, when true, sets the name of the Medium parameter to fluidMedium1, which corresponds to the default name of a fluid medium record. To use a different name, uncheck the box and enter the name in the parameter input that appears. Equations ${Q}_{\mathrm{flow}}={f}_{L}{V}_{\mathrm{flow}}\Delta p$ ${T}_{q}=T$ $h={c}_{p}T$ $\frac{{K}_{v}}{{K}_{\mathrm{v1}}}=\left\{\begin{array}{cc}{k}_{\mathrm{v0}}+\left(1-{k}_{\mathrm{v0}}\right)\frac{{y}_{\mathrm{lim}}}{{y}_{1}}& \mathrm{LinearCharacteristic}\\ {k}_{\mathrm{v0}}\mathrm{exp}\left(\mathrm{log}\left(\frac{1}{{k}_{\mathrm{v0}}}\right)\frac{{y}_{\mathrm{lim}}}{{y}_{1}}\right)& \mathrm{otherwise}\end{array}$ $\frac{\Delta p}{\Delta {p}_{0}}=\frac{\mathrm{\rho }}{{\mathrm{\rho }}_{0}}\frac{{V}_{\mathrm{flow}}}{{K}_{v}}\left|\frac{{V}_{\mathrm{flow}}}{{K}_{v}}\right|$ ${y}_{\mathrm{lim}}=\mathrm{max}\left(\mathrm{min}\left(y,{y}_{1}\right),0\right)$ Variables

 Name Units Description Modelica ID $\Delta p$ $\mathrm{Pa}$ Pressure drop a->b dp ${Q}_{\mathrm{flow}}$ $W$ Heat exchange with ambient Q_flow $\Delta T$ $K$ Temperature increase of coolant in flow direction dT $T$ $K$ Outlet temperature of medium T ${T}_{a}$ $K$ Temperature at flowPort_a T_a ${T}_{b}$ $K$ Temperature at flowPort_b T_b ${V}_{\mathrm{flow}}$ $\frac{{m}^{3}}{s}$ Volume flow a->b V_flow Connections

 Name Description Modelica ID ${\mathrm{flowPort}}_{a}$ flowPort_a ${\mathrm{flowPort}}_{b}$ flowPort_b $y$ Real input signal that controls valve y Parameters

 Name Default Units Description Modelica ID $\mathrm{fix}{T}_{0}$ $\mathrm{false}$ True (checked) means ${T}_{0}$ is enforced, otherwise it is a guess T0fixed ${f}_{L}$ $0$ $1$ Part of friction losses fed to medium frictionLoss Linear Characteristic $\mathrm{true}$ Type of characteristic LinearCharacteristic ${K}_{\mathrm{v1}}$ $1$ $\frac{{m}^{3}}{s}$ Maximum flow at y = y1 Kv1 ${\mathrm{kv}}_{0}$ $0.01$ Leakage flow / maximum flow at y = 0 kv0 $m$ $0$ $\mathrm{kg}$ Mass of medium m $\mathrm{medium}$ $\mathrm{fluidMedium}$ medium $\Delta {p}_{0}$ $1$ $\mathrm{Pa}$ Standard pressure drop dp0 ${\mathrm{\rho }}_{0}$ $10$ $\frac{\mathrm{kg}}{{m}^{3}}$ Standard medium's density rho0 ${T}_{0}$ $293.15$ $K$ Initial temperature of medium T0 ${y}_{1}$ $1$ $1$ Maximum valve opening y1 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.