Hi DEE,
I understand that you want to design a Simulink model for primary and secondary fermentation processes using the Contois and Moser models.
I assume you are familiar with the mathematical formulations of both the Contois and Moser models, as these will be essential for implementing them in Simulink.
- Define the Contois and Moser Models: Start by defining the mathematical equations for both models. The Contois model typically relates substrate concentration to microbial growth, while the Moser model is a modification of the Monod equation.
% Example equations (you need to replace with actual equations)
% Contois model: mu = (mu_max * S) / (Ks + S + X/Ki)
% Moser model: mu = (mu_max * S^n) / (Ks + S^n)
- Create a New Simulink Model: Open Simulink and create a new model. Add necessary blocks like Integrator, Gain, Sum, and Product to represent the differential equations of the fermentation models.
- Implement the Contois Model: Use Math Function and Gain blocks to implement the Contois model equations. Connect these blocks to simulate the microbial growth and substrate consumption.
- Implement the Moser Model: Similarly, use appropriate blocks to implement the Moser model. Ensure the parameters like maximum specific growth rate and saturation constant are adjustable.
- Simulate and Validate: Run the simulation to validate the model. Adjust parameters as needed to ensure the model accurately represents the fermentation process.
References:
- Refer to the documentation of Simulink for creating and managing models: https://www.mathworks.com/help/simulink/gs/create-a-simple-model.html
- Refer to the documentation of the Gain block for scaling inputs: https://www.mathworks.com/help/simulink/slref/gain.html
- Refer to the documentation of the Sum block for adding or subtracting inputs: https://in.mathworks.com/help/simulink/slref/add.html
Hope this helps!