FrequenzgangfunktionTime

class +AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.FrequenzgangfunktionTime(experiment, name)

Bases: handle

Class for calculation of frequency response functions from time signals

See also AMrotorSIM.Graphs.Frequenzgangfunktion,AMrotorSIM.Experiments.Stationaere_Lsg

name = None

frequency array nFreq x 1

H = None

matrix of frf’s: nFreq x nResponses x nInputForce

C = None

description of entries in H for plot, cells

type = None

acceleration ‘a’, velocity ‘v’, displacement ‘d’

FrequenzgangfunktionTime(experiment, name)

Constructor

Parameters
  • experiment (object) – Object of type Experiment

  • name (struct) – Name for the FRF analysis

Returns

FrequenzgangfunktionTime object

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.calculate(obj, sensorIn, sensorOut, rpm, inputDirection, outputDirection, numberOfBlocks, windowShape)

Calculates the frequency response function from time data

Parameters
  • sensorIn (object(sensor)) – Desired input sensor in rotorsystem object (e.g.: r.sensors(5))

  • sensorOut (object(sensor)) – Desired input sensor in rotorsystem object (e.g.: r.sensors(5))

  • rpm (double) – Rotation speed

  • inputDirection (vector (char)) – Desired input direction {‘u_x’,’u_y’,’u_z’,’psi_x’,’psi_y’,’psi_z’}

  • outputDirection (vector (char)) – Desired output direction {‘u_x’,’u_y’,’u_z’,’psi_x’,’psi_y’,’psi_z’}

  • numberOfBlocks (double) – Amount of blocks for the FFT

  • windowShape (string) – Window type (check Matlab windows)

Returns

Frequency range (f), FRF-matrix (H) and Coherence-matrix (C)

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.get_frf(obj)

Extracts properties from Frequenzgangfunktion object

Returns

Properties of type f, H, C and Cx

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.print_table(obj, desiredPosition, nodePosition, deltaPosition)

Builds the printing frame

Parameters
  • desiredPosition (double) – Desired position of in- or output (FRF) along z-axis

  • nodePosition (double) – Closest node available next to the desired position along z-axis

  • deltaPosition (double) – Difference between desired and available (node) position alon z-axis

Returns

Print of all the parameters in the Command Window

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.private.check_for_uniform_sampling(obj, time)

Checks if the time data is uniformly sampled

Parameters

time (vector (double)) – Sampling time vector

Returns

If necessary, error message

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.private.check_rpm_included_in_results(obj, rpm)

Checks if the desired rpm-step exists in the solution

Parameters

rpm (double) – Rotation speed

Returns

If necessary, error message

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.private.check_selected_dof(obj, inputDirection, outputDirection)

Checks if only translational DoFs are used

Parameters
  • inputDirection (double) – Input direction

  • outputDirection (double) – Output direction

Returns

If necessary, error message

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.private.make_descriptions_for_FRF(obj)

Assigns a description of the FRF’s regarding the position and the orientation of the in- and outputs of the FRF’s

Returns

Added description parameter to the object

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.private.make_type(obj)

Converts full output type of FRF in abbrevation (e.g.: ‘Distance’->’d’)

Returns

Added type parameter to the object

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.private.make_unit(obj)

Assigns the correct unit depending on the used sensor types (in- and output)

Returns

Added unit parameter to the object

+AMrotorSIM.+Experiments.@FrequenzgangfunktionTime.private.set_dof_number(obj, direction)

Assigns the char orientation to numbers fo further handling (e.g.: ‘u_x’ -> 1)

Parameters

direction (vector (char)) – Direction of the DoFs

Returns

Vector of numbers containing the orientation info