modelNewtonCooling
NewtonCooling model in state space form
Extends from LTI (Equations written in ABCD form where matrices are also time-invariant).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | T_inf | 27.5 | Ambient temperature |
| Real | T0 | 20 | Initial temperature |
| Real | hA | 0.7 | Convective cooling coefficient * area |
| Real | m | 0.1 | Mass of thermal capacitance |
| Real | c_p | 1.2 | Specific heat |
| Integer | nx (from LTI) | 0 | Number of states |
| Integer | nu (from LTI) | 0 | Number of inputs |
| Integer | ny (from LTI) | 0 | Number of outputs |
| Real[nx,nx] | A (from LTI) | fill(0, nx, nx) | |
| Real[nx,nu] | B (from LTI) | fill(0, nx, nu) | |
| Real[ny,nx] | C (from LTI) | fill(0, ny, nx) | |
| Real[ny,nu] | D (from LTI) | fill(0, ny, nu) | |
| Real[nx] | x0 (from LTI) | fill(0, nx) | Initial conditions |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real[nx] | x (from LTI) | State vector | |
| Real[nu] | u (from LTI) | Input vector | |
| Real[ny] | y (from LTI) | Output vector |