Resultados de
I have a species which is absorbed in a zero-order manner. I want to model the reaction rate as "UptakeRate*ActiveState". So I can give value of 1 or 0 to ActivateState to control the active state of this process. The species itself is under control multiple processes, so I want to use Event to automatically change the active state of absorption.
However, when I use these two events:
Event 1,trigger: species > 0, Function: ActiveState =1; Event 2, trigger: species <=0, Function: ActiveState=0
The simulation seems to be stuck without stop.
Is there any way to solve this ? Thanks

MATLAB EXPO is open to everyone:
- It's free.
- It's online.
- Registration is now open.
Industry Tracks:
- AI in Engineering
- Modeling and Simulation
- Implementation and DevOps
- Algorithm Development and Deployment
- 5G, Wireless, and Radar
- Autonomous Systems and Robotics
- Electrification, Motor Control, and Power Systems
- Preparing Future Engineers
Special Event: Save the Earth: Accelerate Climate Science and Electrify Everything
The climate crisis is here. Engineers and scientists are engaged to help. Engineers innovate rapidly to decarbonize energy production, electrify everything, and design sustainable products. Scientists accelerate their research to inform climate adaptation and enhance understanding through advances in cloud computing and artificial intelligence. And educators train the next generation to take these advances even further. In this talk by Dr. Tanya Morton, you will learn how scientists and engineers use MATLAB® and Simulink® to tackle this great challenge—to save the earth and build a clean, electrified future!
