Subspace Methods
Subspace methods start with the assumption that our system taking input and output in continuous time is given by
with state vector , state matrix , input vector , output vector and direct feedthrough .
Throughout this project, we only considered the scalar subspace which simplifies some of the calculations to not be minimising in order to find a matrix, but simply a division of numbers.
We are not working in continuous time, so one can consider the discrete analogue
Since only the input and output are known, one must work to construct such quantities, certainly they need not be unique, this is where the computation effort comes in.
For the live update, this method is somewhat changed for the reconstruction and relies on the ODE structure introduced earlier, but this method works for the Fourier method.
The method which is used to determine and starts by writing the equation in matrix form,
where we write
Then one works to find these two matrices.
Two approaches were taken, a fourier method which dealt with all the data at once, and a method which looked back at a previous number of results, this second method is significantly more applicable.
It was hoped that the Fourier method would also, with the subspace tell us some information about the battery, which to some extent it does, through somewhat of a corrolation with the and values, which can be found in the appendix to the report.
This is the graphs from the 3rd peridod of the same dataset (), with the first one using mean zero data with the Fourier method and the second one using the local method.
The local method is less efficient than the fourier method (with a sysem being solved at each timestep), however it is more applicable and is still rather quick.