Adsorption process in Simulink

18 visualizaciones (últimos 30 días)
Ababacar Thiam
Ababacar Thiam el 1 de Oct. de 2024
Comentada: Ababacar Thiam el 8 de Oct. de 2024
How to create a switch command between adsorption and desorption in Simulink?
  2 comentarios
Rahul
Rahul el 4 de Oct. de 2024
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 el 4 de Oct. de 2024
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.

Iniciar sesión para comentar.

Respuesta aceptada

Altaïr
Altaïr el 8 de Oct. de 2024
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 comentario
Ababacar Thiam
Ababacar Thiam el 8 de Oct. de 2024
Thanks a lot Ashok, I will try to the simulation with your explications

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by