Valve Logic $—$ Switching logic for valve used for accumulators

The Valve Logic component describes the switching logic for a valve in an accumulator. It is of limited value for general use.

 Equations $\mathrm{comparison}=\left\{\begin{array}{cc}1& {p}_{\mathrm{precharge}}<{\mathrm{pressureSignal}}_{1}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}\mathbf{or}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{p}_{\mathrm{precharge}}<{\mathrm{pressureSignal}}_{2}\\ 0& \mathrm{otherwise}\end{array}\right\$ $\mathrm{valveCommand}=\mathrm{command}$ ${\mathrm{\tau }}_{\mathrm{valve}}{\partial }_{t}\left(\mathrm{command}\right)=\mathrm{comparison}-\mathrm{command}$

Variables

 Name Value Units Description Modelica ID $\mathrm{comparison}$ Comparison if pressure > pprecharge comparison $\mathrm{command}$ command = 1 if pressure > pprecharge command

Connections

 Name Description Modelica ID ${\mathrm{pressureSignal}}_{1}$ Command signal for valve position pressureSignal1 ${\mathrm{pressureSignal}}_{2}$ Command signal for valve position pressureSignal2 valve command Command signal for valve position valveCommand

Parameters

 Name Default Units Description Modelica ID ${p}_{\mathrm{precharge}}$ $5.·{10}^{6}$ $\mathrm{Pa}$ Precharge pressure in accumulator pprecharge ${\mathrm{\tau }}_{\mathrm{valve}}$ ${10}^{-4}$ $s$ tau_valve