If else then Simulink

2 次查看(过去 30 天)
Darka
Darka 2014-4-1
移动Sabin 2022-12-18
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

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2014-4-1
移动:Sabin 2022-12-18
x1>60 | x2<90
x1<60 | x2>90
Your two expressions can be true at the same time

类别

Help CenterFile Exchange 中查找有关 Motor Drives 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by