If else then Simulink

2 visualizzazioni (ultimi 30 giorni)
Darka
Darka il 1 Apr 2014
Spostato: Sabin il 18 Dic 2022
Hello,
want to use IF, ELSE, THEN statements in Matlab Simulink for this application.
I want to turn off the AC motor if the temperature in first tank is greater than 60 degrees OR the temperature in second tank is lower than 90 degrees.
The motor should work if the temperature in the first tank is lower than 60 degrees OR the temperature in the second tank is greater than 90 degrees.
Also, if AC motor had been working for some time and afterwards was turned off, it is not possible to turn it on earlier than after 15 minutes.
How to use Matalb Simulink blocks to organize such work of the system?
Best regards,
Darka

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 1 Apr 2014
Spostato: Sabin il 18 Dic 2022
x1>60 | x2<90
x1<60 | x2>90
Your two expressions can be true at the same time

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by