Adams Basic Package > Adams View > View Command Language > xy_plots > xy_plots bode both_phase_and_magn state_matrix_input

xy_plots bode both_phase_and_magn state_matrix_input

Allows you to define a Bode plot (phase, magnitude, or both, depending on the command) using linear state matrices generated through a linearization of an Adams model using Adams Linear, an optional module to Adams
 
Note:  
You must precede a linear simulation with a linear static or dynamic simulation because you need to establish an operating point for the linearization. Before computing the Adams linear state matrix, you must define plant inputs and outputs, otherwise, Adams PostProcessor sets the B, C, and D matrices to zero.

Format:

 
xy_plots bode both_phase_and_magn state_matrix_input
plot_name =
existing plot
page_name =
existing page
state_matrices =
existing state matrix
inputs =
integer
outputs =
integer
start_frequency =
real
end_frequency =
real
frequency_step =
real
log_samples =
integer
samples =
integer

Description:

 
Parameter
Value Type
Description
plot_name
Existing plot
Specifies the name of the Bode phase plot to be updated.
page_name
Existing page
Specifies the name of the Bode page that the phase plot is on.
State_matrices
Existing State matrices
Specifies the state matrices.
inputs
Integer
Defines the input results you want to use for Bode-plot calculations. If you do not select any inputs, Adams PostProcessor computes all combinations.
outputs
Integer
Defines the output results you want to use for Bode-plot calculations. If you do not select any outputs, Adams PostProcessor computes all combinations.
start_frequency and end_frequency
Real
Defines the frequency sweep by entering the starting and ending frequencies for the Bode plot and selecting the frequency step, which you define using one of the next three parameters.
frequency_step
Real
Specifies the interval between frequencies.
log_samples(Mutually exclusive with frequency_step and samples)
Integer
Specifies the number of log-spaced frequencies.
samples
Integer
Specifies the number of linear-spaced frequencies.

Extended Definition:

1. The samples parameter is mutually exclusive with log_samples and frequency_step parameters.
2. The frequency_step parameter is mutually exclusive with log_samples and samples parameters.
3. The log_samples parameter is mutually exclusive with frequency_step and samples parameters.