Filter löschen
Filter löschen

If else then Simulink

2 Ansichten (letzte 30 Tage)
Darka
Darka am 1 Apr. 2014
Verschoben: Sabin am 18 Dez. 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

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 1 Apr. 2014
Verschoben: Sabin am 18 Dez. 2022
x1>60 | x2<90
x1<60 | x2>90
Your two expressions can be true at the same time

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by