mdof.sysid#

mdof.sysid(inputs, outputs, dt=None, **options)#

State space system realization (A, B, C, D) from input and output arrays.

Parameters:
  • inputs (array) – input time history. dimensions: \((q,nt)\), where \(q\) = number of inputs, and \(nt\) = number of timesteps

  • outputs (array) – output response history. dimensions: \((p,nt)\), where \(p\) = number of outputs, and \(nt\) = number of timesteps

  • dt (float, optional) – timestep of the data, in seconds. If given, it is stored on the returned realization (adjusted for any decimation).

  • method (string, optional) – system identification method. default is “srim”, other options are “okid-era”, “okid-era-dc”, and “deterministic”.

  • decimation (int, optional) – decimation factor. default: no decimation

Returns:

state-space realization (A,B,C,D) as a mdof.Realization, which unpacks like the tuple but also carries the effective dt and a provenance record.

Return type:

mdof.Realization