Campbell

class +AMrotorSIM.+Graphs.@Campbell.Campbell(experimentCampbell)

Bases: handle

Class for the visualisation of a Campbell diagram

See also AMrotorSIM.Experiments.Campbell

Name = "'Campbell diagram'"

(Access = private)

Campbell(experimentCampbell)

Constructor

Parameters

experimentCampbell (object) – Object of type Experiments.Campbell

Returns

Campbell object for visualization

set_plots(Selection)

Set-up for the plot

Parameters

Selection (char) – Options: ‘all’,’forward’,’backward’

Returns

Disc object

set_color_number()

(private) Assigns colors to all eigenvalues

Returns

Assigned color to eigenvalues

+AMrotorSIM.+Graphs.@Campbell.get_EW(obj)

Prints the zero crossing of the damping ratio as stability limit

Returns

Display of the zero crossing in the Command Window

+AMrotorSIM.+Graphs.@Campbell.get_zero_crossing(self, omega, y)

Extracts the smallest zero crossing of omega and y (y is Eigenvalue depending on the application)

Parameters
  • omega (vector) – Angular velocity

  • y (vector) – Eigenvalue variable (real, imag, …)

Returns

Smallest zero crossing (x0)

+AMrotorSIM.+Graphs.@Campbell.print_critical_speeds(obj)

Prints the crossing of the first harmonic with the eigenfrequencies

Returns

Display of the first harmonic with the eigenfrequencies in the Command Window

+AMrotorSIM.+Graphs.@Campbell.print_damping_zero_crossing(obj)

Prints the zero crossings of damping, which indicates instability

Returns

Display of the zero crossings of damping in the Command Window

+AMrotorSIM.+Graphs.@Campbell.set_all_plots(obj)

Organizes and assembles the plots of omega over rpm (for Selection ‘all’)

Returns

Campbell diagram with fwd and bwd whirl relative to omega

+AMrotorSIM.+Graphs.@Campbell.set_all_plots_damping_ratio(obj)

Organizes and assembles the plots of the damping ratio over rpm (for Selection ‘all’)

Returns

Campbell diagram with fwd and bwd whirl relative to the damping ratio

+AMrotorSIM.+Graphs.@Campbell.set_backward_plots(obj)

Organizes and assembles the plots of omega over rpm (for Selection ‘backward’)

Returns

Campbell diagram with bwd whirl relative to omega

+AMrotorSIM.+Graphs.@Campbell.set_backward_plots_damping_ratio(obj)

Organizes and assembles the plots of the damping ratio over rpm (for Selection ‘backward’)

Returns

Campbell diagram with bwd whirl relative to the damping ratio

+AMrotorSIM.+Graphs.@Campbell.set_forward_plots(obj)

Organizes and assembles the plots of omega over rpm (for Selection ‘forward’)

Returns

Campbell diagram with fwd whirl relative to omega

+AMrotorSIM.+Graphs.@Campbell.set_forward_plots_damping_ratio(obj)

Organizes and assembles the plots of the damping ratio over rpm (for Selection ‘forward’)

Returns

Campbell diagram with fwd whirl relative to the damping ratio

+AMrotorSIM.+Graphs.@Campbell.private.plot_damping_ratio(ax, rpm, EW, color)

Plots the damping ratio into the campell diagram

Parameters
  • ax (matlab.graphics.axis.Axes object) – Axes properties control of the figure (check matlab function: axes)

  • rpm (vector) – Rotation speed

  • EW (vector) – Eigenvalues

  • color (vector) – Color in RGB

Returns

Campbell diagram with damping ratio over rotation speed

+AMrotorSIM.+Graphs.@Campbell.private.plot_deltas(ax, rpm, EW, color)

Plots the negative real part of the eigenvalue in the diagram (decay constant)

Parameters
  • ax (matlab.graphics.axis.Axes object) – Axes properties control of the figure (check matlab function: axes)

  • rpm (vector) – Rotation speed

  • EW (vector) – Eigenvalues

  • color (vector) – Color in RGB

Returns

Campbell diagram with negative real part of the eigenvalue (damping) over rotation speed

+AMrotorSIM.+Graphs.@Campbell.private.plot_harmonic(ax, rpm)

Plots the first harmonic in the diagram

Parameters
  • ax (matlab.graphics.axis.Axes object) – Axes properties control of the figure (check matlab function: axes)

  • rpm (vector) – Rotation speed

Returns

Dashed line of the first harmonic

+AMrotorSIM.+Graphs.@Campbell.private.plot_omegas(ax, rpm, EW, color)

Plots the imaginary part of the eigenvalue in the campbell diagram (damped angular eigenfrequencies omega_d)

Parameters
  • ax (matlab.graphics.axis.Axes object) – Axes properties control of the figure (check matlab function: axes)

  • rpm (vector) – Rotation speed

  • EW (vector) – Eigenvalues

  • color (vector) – Color in RGB

Returns

Campbell diagram with imaginary part of the eigenvalue (omega) over rotation speed

+AMrotorSIM.+Graphs.@Campbell.private.set_plot_labels(ax, Name)

Assigns the labels to the plots (for Campbell with angular eigenfrequency omega)

Parameters
  • ax (matlab.graphics.axis.Axes object) – Axes properties control of the figure

  • Name (char) – Name of the title of the subplot

Returns

Named axes of the subplot

+AMrotorSIM.+Graphs.@Campbell.private.set_plot_labels_damping_ratio(ax, Name)

Assigns the labels to the plots (for Campbell with damping ration D)

Parameters
  • ax (matlab.graphics.axis.Axes object) – Axes properties control of the figure

  • Name (char) – Name of the title of the subplot

Returns

Named axes of the subplot

+AMrotorSIM.+Graphs.@Campbell.private.set_plot_labels_deltas(ax, Name)

Assigns the labels to the plots (for Campbell with decay constant)

Parameters
  • ax (matlab.graphics.axis.Axes object) – Axes properties control of the figure

  • Name (char) – Name of the title of the subplot

Returns

Named axes of the subplot