Time-domain solution of Linear Time Invariant Systems
Uses the derived linear time invariant systems and solves it in time domain.
The inputs are provided by means of a list of dictionaries to the setting
input_generators. For each input you want, you need a dictionary entry containing
name(str) which is the name of the variable,
index(int) for the index of the variable in the case of multidimensional variables (if unspecified reverts to
0) and the
file_pathto a text file containing the time series of the input. If the input variable is multidimensional,
indexmay be a list of indices for each column of time series in the array in the input file.
case_name.lininput.h5file in the case root folder can be used with the following entries:
x0(optional): Initial state vector
input_vec: Input vector
This solver is seldom used in SHARPy (its focus is on nonlinear time domain aeroelasticity) hence you may find this solver lacking in features. If you use it, you may need to make modifications. We would greatly appreciate that you contribute these modifications by means of a pull request!
The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
List of vectors to write:
Velocity to scale the structural equations when using a non-dimensional system
Number of time steps to run
Time to run
List of dictionaries for each input
Time increment for the solution of systems without a specified dt
Generates an input vector
n_tsteps x inputsand populates the correct columns with the time series arrays provided as text files in the settings
ss (libss.StateSpace) – State Space object for which to generate input
- Return type: