Block in Simulink to indicate on-off state of a valve

Hi, this question should be simple for experience Simulink user. I want to create a Simulink model for a simple controller. The controller contains a valve which is either open/close depends on the pressure to the system. Is there any block in Simulink which simulates the on/off state (open/close) of a valve?
Thanks in advance

Answers (2)

If a valve is open or closed under a certain value of a pressure, you can use compare to constant block
I used this block before. I want to include a block which indicates the state of the valve if the pressure exceeds certain limit (Ex: Animation or diode (on and off).

Categories

Find more on Modeling in Help Center and File Exchange

Asked:

on 28 Mar 2014

Answered:

on 28 Mar 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!