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

1 回表示 (過去 30 日間)
Alexander
Alexander 2017 年 10 月 17 日
編集済み: Alexander 2017 年 12 月 21 日
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.

回答 (1 件)

Vignesh
Vignesh 2017 年 12 月 19 日
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 件のコメント
Alexander
Alexander 2017 年 12 月 21 日
編集済み: Alexander 2017 年 12 月 21 日
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...).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeChristmas / Winter についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by