Gaining Insight into Designs with MSC.EASY5 and MSC.ADAMS Kent West Andrew Dyer MSC.Software Corporation
Agenda Introduction Process overview Process Specifics Results Questions/comments?
Introduction Purpose State of the Art Example MSC.EASY5/ADAMS model Example co-simulation results
Introduction: Purpose Investigate design changes on combined MSC.ADAMS and MSC.EASY5 models. Want to intelligently: Explore new design configurations Share design study results Archive design study results
Introduction: State of the Art Current functionality: ADAMS/Insight is tightly integrated with MSC.ADAMS products ADAMS/Controls links MSC.EASY5 and MSC.ADAMS. How to bring new variables into design space? MSC.ADAMS Control System Import (XFE) from EASY5: parametrics currently not automatic ADAMS/Insight ASCII editor: utility for generic parametrics powerful but involved How about a standard solution for cosimulation users?
Introduction: EASY5/ADAMS model Gain Block S_Out_GN2 35000 Gain Block -1 First Order Lag 1100 S_Out_GN 1 S_Out_SJ3 1.001s+1 ADAMS Mechanism elevation_angular_velocity elev_torque tracking_error_elevation MSC.ADAMS tracking_error_azimuth Gain Block azim_torque First Order Lag azimuth_angular_velocity 2090 S_Out_GN4 1-1 S_Out_SJ11 1.001s+1 Gain Block S_Out_GN3 1900 ant_all_working(24)
Introduction: MSC.EASY5/ADAMS co-sim
Process overview Setup MSC.ADAMS & MSC.EASY5 cosimulation Create Insight experiment having variables from MSC.ADAMS and MSC.EASY5 Design specification in Insight Run design study/doe trials Import results back into Insight for postprocessing
Process: Setup co-simulation MSC.ADAMS Model.adm.acf (Car only) ADAMS/Controls cosimulation MSC.EASY5 Model.exe.ezanl.inf Combined Results
Process: Export modified experiment - Customized dialog box and scripts create Insight experiment with MSC.ADAMS and MSC.EASY5 parameters
Process: Experiment Specification 1. Note new MSC.EASY5 node under Candidate factors. Now have access to mechanical and control (hydraulic) system parameters all within ADAMS/Insight. 2. Setup DOE: i. Specify Factors, Responses of interest. ii. iii. Select investigation strategy (screening study, response surface fit, etc.). Calculate trials in Insight to generate batch commands for running all trials.
Process: Run DOE Trials 1. Open MSC.EASY5 shell 2. Run the auto-generated batch file run_cosims.bat: 3. Results for each design permutation are automatically saved to disk.
Process: Import, Post-Process Post-process in ADAMS/Insight Read results on disk into ADAMS/Car or ADAM/View
Specifics Internal workings overview: how the customization is applied to glue information from one package to another.
Specifics: Python within MSC.ADAMS Python distributed with MSC.ADAMS! The Swiss Army Knife of modern programming languages See www.python.org for more ADAMS/Insight-specific libraries can be found in the Python distribution Examples are also found in the Insight directory these illustrate use of the Python API provided
Specifics: Insight from Python Example of importing Insight module into Python code, working with exposed objects such as: Experiment Factor Can interact with Insight experiment files programmatically! This allows infinite customization scenarios.
Specifics: MSC.EASY5 simulation files MSC.EASY5.ezanl file contains model initialization information. Parameter Values section contains variable names and values in a commaseparated list. Variable names and values are deduced by Python script that parses the.ezanl file.
Specifics: Gluing it together ADAMS/View customization lets user specify MSC.EASY5 model files within ADAMS/View. ADAMS/View can initiate Python scripts and pass in parameters (eg: MSC.EASY5 file names..) Python script modifies Insight experiment then launches ADAMS/Insight Standard ADAMS/Insight functionality completes the process.
Results
Questions?