필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Running referenced model in parent model

조회 수: 1 (최근 30일)
Kris
Kris 2012년 6월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello,
I do not now if it's necessary to activate a referenced model, hopefully it can be done activating a subsystem too:
I have water in my boiler, i also have the ammount of water i need in all the upcomming 15 minutes(all day) stocked into an excel file. When my amount if water that i need is bigger then the ammount my boiler contains i want to activate a sybsystem.
This subsystem would then count how many more 15 minutes i can survive on the current water i have in my boiler by checking each upcomming 15 minutes how many water is needed. When the boiler is empty i want to get the time when it get's empty.
So for example after 2 hrs my subsystem could get triggered. But then i do not want my subsystem to run for 1 step but for the entire day. Only when that is done i want my main model to go forther to the next step (so to 2 hrs and 15 minutes)
Thx,
Kris

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 6월 6일
You should probably use an Enabled Subsystem and create a control signal that goes high (>0) after 2hrs and remains high throughout the day - the subsystem is enabled as long as the enable signal is high..

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by