MBD Modeling and Co-Simulation with MotionSolve
Learn about MBD modeling through data exchange and co-simulation with MotionSolve.
The Activate co-simulation interface lets you simulate a complex system that includes a multi-body system (MBS) and one or more control subsystems. In order to effectively simulate the entire system, the MBS is simulated with MotionSolve while the control subsystem is simulated with Activate.
The installation of HyperWorks MotionSolve software is required for co-simulation. MotionSolve offers powerful modeling, analysis, visualization and optimization capabilities for multi-disciplinary simulations that include kinematics & dynamics, statics & quasi-statics, linear & vibration studies, stress & durability, loads extraction, co-simulation, effort estimation and packaging synthesis.
Co-simulation between MotionSolve or MotionView and Activate can be performed on local or remote computer systems.
For more details, see the chapter on co-simulation in the Extended Definitions for Advanced Users.
Modeling for Co-Simulation
Special statements and blocks are available for defining the inputs and outputs between an MBS and control-system model.
- Statements to reference inputs and outputs
- You can add special statements,
Control_PlantInput
andControl_PlantOutput
, to a MotionSolve model to reference variables that are either used as inputs, such as forces or torques, or measured outputs, such as displacements or velocities.
- MSPlant (MotionSolve Plant) and MSSignal (MotionSolve Signal) blocks
- A MotionSolve model connects to an Activate model by way of the
MSPlant or MSSignal blocks. These blocks specify the MotionSolve
model and have inputs and outputs based on the
ControlPlant
elements defined in the model. Models can include multiple MSPlant or MSSignal blocks due to the IPC for co-simulation between Activate and MotionSolve. For more information, refer to the block help or the Extended Definitions for Advanced Users.
- MotionView models as input
- The MSPlant and MSSignals blocks support either MotionSolve or MotionView models as input. If a MotionView model is used, you can open and modify the model provided that the path to MotionView is defined in the Preferences dialog. The actual co-simulation is performed with MotionSolve, therefore, if needed, the simulation process starts by converting the .mdl MotionView model file to a .xml MotionSolve model file.
Local Co-Simulation Setup
Set up a co-simulation between Activate and MotionSolve on the same computer system.
Setup Method | Setup Directions |
---|---|
Local |
|
Remote Co-Simulation Setup
Set up a co-simulation between MotionSolve and Activate on different machines that are accessible over a network.
Overview
For a remote simulation setup, it is assumed that Activate is installed on machine A and MotionSolve is installed on machine B where machine A and B are not the same. The remote setup scenario is useful when a MotionSolve model is located on machine B and transferring that model to machine A to perform a local co-simulation is not feasible.Guidelines for Setting Up a Remote Co-Simulation
- The IP address must be entered in the xyz.xyz.xyz.xyz format.
- When an IP address is specified, the default port number is 22903.
- When performing a remote co-simulation, a full installation of MotionSolve in not needed on machine A. However the MotionSolve binaries such as nuclient.dll, msciscos.dll, and the .dll files that are loaded by these binaries, are required.
- When performing a remote co-simulation, an Activate installation is not required on machine B.
- If you specify the IP address as localhost, then there is no need to invoke a msdaemon or any other utility from the MotionSolve installation.
- If a firewall exists between machine A and machine B, you must disable it to enable co-simulation.
Computer System | Setup Directions |
---|---|
Machine A |
|
Machine B |
|
Defining the Software Path Settings
Defining the paths to MotionSolve and other software that is required for local and remote co-simulation methods.