Adams Basic Package > Adams View > View Command Language > xy_plots > xy_plots bode magnitude_plot result_set_inputxy_plots bode magnitude_plot state_matrix_input

xy_plots bode magnitude_plot result_set_input

Allows you to define a Bode plot (phase, magnitude, or both, depending on the command) using the results set components.
A result set component is a basic set of state variable data that Adams Solver calculates during a simulation. Adams Solver outputs the data at each simulation output step. A component of a result set is a time series of a particular quantity (for example, the x displacement of a part or the y torque in a joint).

Format:

 
xy_plots bode magnitude_plot result_set_input
plot_name =
existing plot
page_name =
existing page
first_resset =
existing component
second_resset =
existing component

Example:

 
xy_plots bode magnitude_plot result_set_input &
plot_name =
plot_1 &
first_resset =
req_time &
second_resset =
res_set_1

Description:

 
Parameter
Value Type
Description
plot_name
Existing Plot
Specifies the name of the Bode plot to be updated.
page_name
Existing Page
Specifies the name of the Bode page that the plot is on.
first_resset
Existing Result Set Component
Specifies the results set component characterizing system input.
second_resset
Existing Result Set Component
Specifies the results set component characterizing system output.

xy_plots bode magnitude_plot state_matrix_input

Allows you to define the 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 magnitude_plot 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.

xy_plots bode magnitude_plot tfsiso_input

Allows you to define a Bode plot (phase, magnitude, or both, depending on the command) using a transfer function.

Format:

 
xy_plots bode magnitude_plot tfsiso_input
plot_name =
existing plot
page_name =
existing page
transfer_function =
existing tfsiso
start_frequency =
real
end_frequenc y=
real
frequency_step =
real
log_samples =
integer
samples =
integer

Example:

 
xy_plots bode magnitude_plot tfsiso_input &
plot_name =
plot_1 &
transfer_function =
tfsiso_1 &
start_frequency =
1500 &
end_frequency =
2000 &
frequency_step =
150

Description: