Home : Support : Online Help : MapleSim Toolboxes : MapleSim Hydraulics Library from Modelon : Directional Control : Basic : Internal : ModelonHydraulics/DirectionalControl/Basic/Internal/CheckFlow

Check Flow $—$ Checks if flow becomes too small, warns user

Block containing print screen warning if $\mathrm{flow_reduction}<0.999$.

 Equations $\mathrm{msim/ALGORITHM}\left(\mathrm{msim/WHEN}\left({\mathrm{flow}}_{\mathrm{reduction}}<\frac{999}{1000},\mathrm{msim/ASSIGN}\left({\mathrm{show}}_{\mathrm{warning}},\mathrm{true}\right)\right)\right)$ $\mathrm{msim/WHEN}\left({\mathrm{flow}}_{\mathrm{reduction}}<\frac{999}{1000},\left\{\mathrm{Modelica.Utilities.Streams.print}\left(""\right),\mathrm{Modelica.Utilities.Streams.print}\left(""\right),\mathrm{Modelica.Utilities.Streams.print}\left("Warning!"\right),\mathrm{Modelica.Utilities.Streams.print}\left("Check validity of model."\right),\mathrm{Modelica.Utilities.Streams.print}\left("At t ="+\mathrm{String}\left(\mathrm{time}\right)+"s started the directional control valve to close due to too high hydraulic power"\right)\right\}\right)$

Variables

 Name Value Units Description Modelica ID ${\mathrm{show}}_{\mathrm{warning}}$ show_warning

Connections

 Name Description Modelica ID ${\mathrm{flow}}_{\mathrm{reduction}}$ flow_reduction