Model ElementRVResult is an object that contains all the simulation results associated with a single RV. At each output time,

Class Name


At each output time, the following results are stored:
Component Names
The following occurs automatically when the model.simulate() method is invoked with returnResults=True.
  • At T=0, for each RV in the model:
    • An RVResult object is created.
    • The object is stored in the SimulationResults container object.
  • At each output time (including T=0):
    • For each RV in the model:
      • The RVAL and RVAL1 results are appended to the RVResult object.
  • Thus, at the end of the simulation, the SimulationResults object is fully “populated.”


See SimulationResults.


Demonstrate the use of RVResult to create plots from MotionSolve results.

Assume a model, M, is given to you.
  • Perform a dynamic simulation from 0 to 2 seconds with 200 output steps.
  • Extract the time history for the RVAL component of RV response1.
  • Plot the RVAL1 time history in matplotlib.
# Perform a simulation
run = M.simulate(type=”DYNAMICS”, end=2, steps=200, returnResults=True)

# Get the RV data from the run object
rv = run.getObject (model.rv68)

# Extract the time and RVAL1 signals
times = req.getComponent (“times”)
RV1   = req.getComponent ("RVAL1")

# Plot the RVAL signal
import matplotlib.pyplot as plt
plt.plot   (times, FZ)
plt.title  (“RVAL1 vs. Time”)
plt.xlabel (“Time”)
plt.ylabel (“Power [KW]”)
plt.grid   (True)
plt.show   ()


  1. See Properties for an explanation about what properties are, why they are used, and how you can extend these.
  2. The SimulationResults may be queried to get access to the time histories of its various components. See the examples above.