If subsystem output is not the same as expected

조회 수: 1 (최근 30일)
Asmaa Hassanein
Asmaa Hassanein 2023년 6월 24일
댓글: Fangjun Jiang 2023년 6월 26일
Good evening, i am doing a model of a distance relay via simulink and in that matter i need to use many subsytem to devide the work and operation and some of these subsystem has to work only when a certain condition is true so i used an if and if subsytem and when i tried to make the subsystem of the if subsystem the same as my subsystems in the model when i run the model the ouputs are not the same and i need them to be the same as most of the design is relying on that concept so can anyone please guide on what to do ? here are two images of the ouputs one from the normal subsystem and other from if subsystem
  댓글 수: 2
Mohamad Nazir
Mohamad Nazir 2023년 6월 26일
Hi, have you checked if your if conditions are accurate? Could it be that the subsystem is activated more than the if subsystem? It is hard to evaluate what may be going wrong without the model, but you can try to use an enabled subsystem instead of an if subsystem. https://www.mathworks.com/help/simulink/ug/enabled-subsystems.html
Hope that helps
Fangjun Jiang
Fangjun Jiang 2023년 6월 26일
@Asmaa Hassanein, please use punctuation.

댓글을 달려면 로그인하십시오.

답변 (0개)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by