modelNewtonCooling

NewtonCooling model in state space form

Extends from LTI (Equations written in ABCD form where matrices are also time-invariant).

Parameters

TypeNameDefaultDescription
RealT_inf27.5Ambient temperature
RealT020Initial temperature
RealhA0.7Convective cooling coefficient * area
Realm0.1Mass of thermal capacitance
Realc_p1.2Specific heat
Integernx (from LTI)0Number of states
Integernu (from LTI)0Number of inputs
Integerny (from LTI)0Number 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

TypeNameDefaultDescription
Real[nx]x (from LTI)State vector
Real[nu]u (from LTI)Input vector
Real[ny]y (from LTI)Output vector