Adsorption process in Simulink

조회 수: 17 (최근 30일)
Ababacar Thiam
Ababacar Thiam 2024년 10월 1일
댓글: Ababacar Thiam 2024년 10월 8일
How to create a switch command between adsorption and desorption in Simulink?
  댓글 수: 2
Rahul
Rahul 2024년 10월 4일
Hey @Ababacar Thiam, can you share your Simulink Model, or describe your use case, that'll help in better understanding the isssue.
Ababacar Thiam
Ababacar Thiam 2024년 10월 4일
Thanks for your answer Rahul. We first simulated adsorption in one block. Then we simulated desorption in another block. We seek to regroup the two blocks so as to have the desorption-adsorption sequence.

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

채택된 답변

Altaïr
Altaïr 2024년 10월 8일
To switch between the two subsystems (adsorption and desorption) based on a control signal, the ‘Switch block can be used. The control signal can be generated in a couple of ways:
  1. Using ‘Relational Operator’ and ‘Logical Operator’ blocks if the switching logic is simple.
  2. For more complex switching logics, a ‘Stateflow’ chart can be used.
You can learn more about the Switch block in the following documentation page.
Here’s an example for the Switch’ block that outputs the absolute value of a biased sine wave. The below model switches between ‘subsystem1’ and ‘subsystem2’ depending on the value of ‘controlSignal.
The output seen in the scope would be as follows:
You can refer to the attached model for further assistance. To switch between several subsystems, the ‘Multiport Switch’ block can be used. Feel free to check out the following documentation page.
I believe this will assist you!
  댓글 수: 1
Ababacar Thiam
Ababacar Thiam 2024년 10월 8일
Thanks a lot Ashok, I will try to the simulation with your explications

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by