Using Behavior Modeling

You can use the behavior modeler BME based on the Modelica language to logically define various resources such as NC machines, robots, humans, or stations.

When you open data created in previous versions, a message displays indicating you must migrate the data using the DELMIABehaviorModelerMigration batch.

To customize compilation for simulation, use the options available in Me > Preferences > App Preferences > Simulation > Digital Manufacturing Apps Common Services > Live Simulation Common Services > Compiler.

This task shows you how to:

Install the C++ Compiler

Dymola powers a DELMIA simulation. Install a compatible C compiler on the computer to make simulation possible. For executing large programs exceeding 1000 combined instructions, Windows compilers are more efficient. The choice of compiler has an impact on the simulation initialization time but not on the execution phase.

Use the FREE compilers:

  • MinGW64 7.3 GCC (100% free)
  • Visual Studio 2022 (Build Tools) (**)
  • Visual Studio 2019 (Build Tools) (**)
  • Visual Studio 2017 (Build Tools) (**)

(**) restrictive rules - see Microsoft Software License Terms

Or the PROFESSIONAL compilers:

  • Visual Studio 2022 (Professional Editions) (17.0)
  • Visual Studio 2019 (Professional Editions) (16.0)
  • Visual Studio 2017 (Professional Editions) (15.0)

The installation process:
  1. Build Tools: Installing and Testing Microsoft Build Tools
  2. MinGW

    1. To download the compiler, open web page: MinGW-w64 - for 32 and 64 bit Windows Files .
    2. Click on: Personal Builds
    3. Click on: Mingw-builds
    4. Click on: 7.3.0
    5. Click on: threads-posix
    6. Click on: seh (or she)
    7. Click and download: x86_64-7.3.0-release-posix-seh-rt_v5-rev0.7z
    8. Unzip under: c:\mingw64 (for example)
    9. In 3DExperience, go to: Compiler preferences, Me > Preferences > App Preferences > Simulation > Digital Manufacturing Apps Common Services > Live Simulation Common Services > Compiler.
    10. Select file path to: gcc.exe

    11. Click on: Test Compiler.

Testing Compiler Installation

This describes how to test the complier.

  1. Go to Compiler.
  2. Select Test Compiler.
    • Only 64 bits support is required for DELMIA.
    • If the Visual Studio compiler is not automatically recognized if the default installation directory changes, select Customized Visual Studio Path and enter the appropriate destination folder path.

    The Microsoft default installation directories for Visual Studio:

    VS2022 BuildTools 17.0 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build
    VS2019 BuildTools 16.0 C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build
    VS2019 Professional 16.0 C:\Program Files(x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build
    VS2017 BuildTools 15.0 C:\Program Files(x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build
    VS2017 Professional 15.0 C:\Program Files(x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build
    VS2017 Community 15.0 C:\Program Files(x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
    VS2015 14.0 C:\Program Files(x86)\Microsoft Visual Studio 14.0\Vc
    VS2013 12.0 C:\Program Files(x86)\Microsoft Visual Studio 12.0\Vc
    VS2012 11.0 C:\Program Files(x86)\Microsoft Visual Studio 11.0\Vc
    VS2010 10.0 C:\Program Files(x86)\Microsoft Visual Studio 10.0\VC

    If the installation directory is empty, you have probably not select the appropriate option during installation (c.f.: C++/CLI support for build tools).

Migrate Data Using a Batch

You can analyze, emulate, or migrate a database or specific data sets created in previous versions, using a batch. You can migrate data in any maturity state provided you have the administrator rights. If you do not have the administrator rights, only data with a maturity of in Work migrates.

For details on how to define batch parameters, see 3DEXPERIENCE Desktop Apps Native Apps Common Services: Tools: Batches: Defining the Batch Parameters.

  1. Run CATUTIL:
    • From the console: mkrun -c CATUTIL
    • From the 3DEXPERIENCE platform: On the Tools section of the action bar, click Utility .
  2. In the Batch Monitor, double-click DELMIABehaviorModelerMigration.
  3. In the dialog box that opens, select one of the following the modes:
    • ANALYSE: Searches PLM objects to migrate and compute the scope of the migration based on the selection. This takes into account only representations matching a subset of disciplines.
      • No selection: Treats all representations with compatible disciplines.
      • Rep selection: Treats representations with compatible disciplines.
      • Ref selection: Treats all representations with compatible disciplines and belonging to the same reference. For example, all the representations belonging to the same PPR node.
      Note: To see if a PLM object contains LCM code, perform an Open operation.
    • EMULATE: Searches and loads integrity sets (lists of interconnected workspaces) in the database. This mode allows you to load a minimal set of components instead of the whole product structure. This mode emulates the migration of the entire database without impacting the content.
    • MIGRATE: Searches and loads integrity sets (lists of interconnected workspaces) in the database. This mode allows you to load a minimal set of components instead of the whole product structure. This mode migrates the entire database.
  4. To migrate one specific data set, click Open Main HTML Report to identify PLM objects to migrate. In the TST Object Management dialog box:
    1. From the Object list, select a PLM object.
    2. From the Extension list, select a clause.
    3. Select Apply to apply the query.
    4. Select OK.
    This treats each selected object one by one.
    Note: If no PLM objects are selected, the entire database is migrated.
  5. Select Search Object to open an automatically generated report. According to the mode selected, the report summarizes the number of PLM objects to migrate and to migrate, or the integrity sets that migrate. The report also generates a summary of the results.
  6. Select Save to save your changes without running the migration, or select Run to run the migration batch.

Result: The batch is launched and the database or selected data sets migrate.