Generating a Modelica Model from an Engineering Model

Generate from Engineering Model lets you generate a Modelica model from an engineering model in a stand-alone Modelica package.


Before you begin:

The following apply:

  • The engineering model objects and the related parameters must be mapped to Modelica libraries.
    Note: The Modelica libraries used for the mapping must be installed.
  • You must also:
    1. From the top bar, search the source model.
    2. To open the model, right-click it in the Search Results panel and select Open With > Smart Open in RFLP .
    3. If not already opened, open Dymola Behavior Modeling in a new tab, and in that app, open the Modelica libraries that you have stored your mapping tables in.

  1. Click Generate from Engineering Model .
  2. Click the Engineering Model field and select any of:
    • For a piping or HVAC model: In the tab where the model is seen, under the Physical node of the tree, select any part of the model to be used for the Modelica model generation.
    • For a schematic P&ID model: In the tab where the model is seen, in the tree, select the relevant logical schematic view to be used for the Modelica model generation.
      Important: Select the same logical view as the logical view selected as the working model for the mapping.
  3. Click the Insert in field and select the target parent class from the Package Browser.
  4. Click the Output class name field and enter a name for the Modelica model to be created.
  5. Select Mapping to use for the model generation.