Filter löschen
Filter löschen

How divide states (run and stop, normal and alarms, summer and winter) in Stateflow for ventilation?

1 Ansicht (letzte 30 Tage)
What is the best Stateflow structure (states) for ventilation system? It can be stopped or run. Run automatically or manually. There are also alarms. It has fan, heater, damper, pump and valve which have different algorithms in summer and winter periods.

Antworten (1)

Vignesh
Vignesh am 19 Dez. 2017
You might want to look at the demo sf_climate_control for an example of a similar system. It uses a Stateflow construct called Truth Table
  1 Kommentar
Alexander
Alexander am 21 Dez. 2017
Bearbeitet: Alexander am 21 Dez. 2017
1) This is very primitive system. Also it could be shortened (3 situations: t-> heater, t-> cooler, h-> humidifier). State/transition diagram is more readable because we see the paths from source state to destination states. And, if we have 10 inputs then Truth Table has 2^10 combinations.
2) The problem is how to divide equipment (fans, valves, dampers...) from modes (run, stop, alarms...).

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Christmas / Winter finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by