I plan to write a bunch of posts about simulating dynamic systems using Python.
I will be using the mass-spring-damper (MSD) system as an example through those posts so here is a brief description of the typical MSD system in state space.
The differential equation that describes a MSD is:
x : position of mass [m] at time t [s]
m : mass [kg]
c : viscous damping coefficient [N s / m]
k : spring constant [N / m]
u : force input [N]