How to solve for T_cold

This equation represents the rate of change of the cold aisle air temperature, approximated using forward Euler discretization. How can I implement it in Simulink to solve for Tcold, specifically in terms of representing Δt is my biggest challenge?

1 Comment

If you have Tcold values at different time instances then
dTcold/dt should be diff(Tcold)/diff(deltaT)

Sign in to comment.

 Accepted Answer

nick
nick on 9 Sep 2024
Hi Gyang,
I undrestand that you want to implement the continuous derivative of temprature using forward Euler discretization.
However, there is a 'Derivative' block in Simulink library that approximates the continuous derivative of the continuous input signal with respect to the simulation time. The mathermatical representation of the block is similar to forward Euler discretization as shown below:
You can refer to the following documentation to learn more about the 'Derivative' block:
Hope this helps.

More Answers (0)

Tags

Asked:

on 9 Sep 2024

Edited:

on 10 Sep 2024

Community Treasure Hunt

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

Start Hunting!