OptiSLang Extension: IPG Automotive...OptiSLang Extension: IPG Automotive 8 Configuration of the IPG...

11
1 OptiSLang Extension: IPG Automotive Dynardo GmbH Lars Gräning Jonas Rotermund

Transcript of OptiSLang Extension: IPG Automotive...OptiSLang Extension: IPG Automotive 8 Configuration of the IPG...

  • 1

    OptiSLang Extension:

    IPG Automotive

    Dynardo GmbH

    Lars Gräning

    Jonas Rotermund

  • 2OptiSLang Extension: IPG Automotive

    optiSLang Extension for IPG Automotive software

  • 3OptiSLang Extension: IPG Automotive

    Installation:

    1. Extract archive to extension directory of your choice:e.g. C:\OptiSLang\Extension or to standard optiSLang installation*

    2. Add location to optislang settings / optislang.ini

    *OptiSLang extensions: C:\Users\Public\Documents\Dynardo\ANSYS optiSLang\7.4.0

    (please restart optiSLang after any update of the settings)

  • 4OptiSLang Extension: IPG Automotive

    Preparation of IPG *Maker project:parameterization

    • Use so called named selections to define the variational parameters• Format: $NAME=DEFAULT_VALUE• Enter named selections either in the *Maker GUI or directly into the

    project files

    Named selection for Mass [kg]$m=1020

  • 5OptiSLang Extension: IPG Automotive

    Preparation of IPG *Maker project:response values

    • OptiSLang is parsing *Maker result files of .erg or .dat format• You need to configure the output quantities in *Maker, exporting

    quantities relevant for the variational study in optiSLang• OptiSLang converts .erg files to ascii files using resutils application

    that comes with the installation of *Maker

    Result file conventions:

    • The output files needs to beexported to the „SimOutput“ directory

    • The name of the test run needs to be part of the result file name

    • Example:SimOutput\%D\%t%D: Date, %t: test run name

  • 6OptiSLang Extension: IPG Automotive

    Create solver chain using wizard

    • Drag and drop solver wizard onto the scenery and select „IPG Automotive“ solver

    • Follow the wizard steps to setup first solver chain (Parameteric solversystem):

    1. First time you are using the solver wizard, you are asked for the*Maker installation

    2. Select the test run file

    Select solver Resulting parametric system

  • 7OptiSLang Extension: IPG Automotive

    IPG Automotive help page:

    • Check the help page for more information

  • 8OptiSLang Extension: IPG Automotive

    Configuration of the IPG Automotive integration node: Settings

    Name Default value Description

    general.xmaker_path Please insert the path to the Maker executable Define the location of your CarMaker executable.

    general.resutil_path Please insert the path to the resutil executable

    Define the location of the resutil executable. Usually

    it is located in the same folder as the CarMaker

    executable.

    general.xmaker_port 16660Define the port that will be used for the socket

    connection.

    general.xmaker_buffer 1024Define the buffer size for the communication with the

    CarMaker application

    general.xmaker_speed 5.0 Define the simulation speed for CarMaker

    general.xmaker_purge 1Set this flag if the copied project directory should be

    cleaned up after execution

  • 9OptiSLang Extension: IPG Automotive

    Configuration of the IPG Automotive integration node: Parameters & Responses

    • Registration of the input parameters and responses

  • 10OptiSLang Extension: IPG Automotive

    (Optional) Configuration of the IPG Automotive integration node: Signals

    - Use response vectoras internal variable

    - Add new variable in theVariables tab and enterexpression of the followingnature: signal(Time, Values)

    - Drag and drop new signalvariable to add it to theresponse list

  • 11OptiSLang Extension: IPG Automotive

    (Optional) Variation studies, e.g. Sensitivity analysis

    • Once the parametric solversystem is created, optiSLang‘scapabilites for Sensitivity, Optimization and Robustnessanalysis can be used

    • Example: creating field meta-models (Signal MOP) to learnabout time-dependentsensitivities of the inputparameters on the ouputsignal