pymordemos.era

Module Contents

pymordemos.era.compute_markov_parameters(sys, n=100)[source]

Compute the Markov parameters of a system.

Parameters

sys

The LTIModel for which the Markov parameters are computed.

n

The number of Markov parameters that are calculated.

Returns

mp

NumPy array of shape (n, sys.dim_output, sys.dim_input).

pymordemos.era.example_system(order, sampling_time=1)[source]

Construct an example system.

The system is adapted from Section III-C of https://ieeexplore.ieee.org/document/508900.

Parameters

order

The order of the constructed LTI system.

sampling_time

The sampling time of the LTI system.

Returns

sys

The constructed LTIModel.

pymordemos.era.main(n: int = Argument(10, help='Order of the full model.'))[source]