Dymola Behavior Modeling

What's New

Dymola Behavior Modeling Basics

Related Guides and Resources

Dymola Behavior Modeling Access to Content

Predefined Queries

User Interface

Action Bar

Behavior Authoring Section

Behavior Authoring Section

First Secondary Area

Simulation Section

Behavior Tools Section

Behavior Tools Section

First Secondary Area

Second Secondary Area

Diagram Section

View Section

View Section

Second Secondary Area

Tools Section

Tools Section

Third Secondary Area

Action Pad Panel

App Options Panel

Simulation Tools Window

Context Toolbars

Keyboard Shortcuts

Customizing Preferences

Working on Libraries Tutorial

Create a Dymola Behavior Library

Create a Model to Store the Behavior Content

Create Behavior Content in the Model

Edit Model Parameters

Simulate the Model

About Dymola Behavior Modeling

Entering the Dymola Behavior Modeling App

Managing Display

Using a Grid

Managing 2D and 3D Views

Managing Back and Front Objects in the Icon Layer

Switching from Diagram Layer to Icon Layer

Filtering Diagram Components by Name or Inheritance

Managing Display Units and Units

Exporting the Diagram or Icon Layer as a Picture

Working with Behaviors

About Behaviors

Updating Behavior Ports and Interfaces

Connecting to Functional or Logical Ports or Interfaces

Creating Inner and Outer Models for Context Behavior

Creating and Using Design Tables

Simulating Behaviors Using EKL Scripting and Retrieving the Results

Switching from Dymola Behavior Modeling to Functional & Logical Design

Working with Behavior Libraries

About Behavior Libraries

Opening a Dymola Behavior Library

Selecting Favorite Libraries

Creating a Modelica Library or Dymola Behavior Library

Importing a Modelica Library or a Modelica Model

Exporting a Library or a Model to a Modelica File

Checking a Behavior Library

Managing External Resources

Displaying the Structure of a Library

Managing Library Protection

Finding Where a Modelica Library is Used

Unloading a Library

Comparing Libraries or Other Classes, and Merging Different Versions of a Library

Versioning

About Versioning and Dependencies of Behavior Libraries and Modelica Behaviors

Working with the Versioning Assistant

Managing Modelica Versions and Dependencies for Libraries and Behaviors

Creating a New Library PLM Revision with a New Modelica Version

Managing Classes

About Modelica Classes

About Tools for Managing Classes

Working with Package Browsers

Working with the Main Package Browser

Working with Light Package Browsers

Working with Preferred Classes Browsers

Working with the Proposed Classes Browser

Creating a Class

About Creating a Class

Creating an Empty Class or Extending from an Existing Class

Splitting a Model

Selecting or Activating a Class

Navigating the History of Activated Classes

Checking a Class

Moving a class

Deleting a Class

Duplicating a Class

Copying, Cutting and Pasting Classes

Copying the Modelica Path of a Class

Opening Class in a New Tab

Displaying a Class in Immersive Dockable Panel

Editing Class Attributes

Editing the Coordinate System Using the Mouse

Propagating a Replaceable Class

Locking and Unlocking a Class

Protecting Classes

Creating an Editable Copy of a Model Example in a New Library

Comparing and Merging Classes

Displaying and Editing Modelica Text

About Displaying and Editing Modelica Text

Editing an Equation using the Equation Editor

Working with the Modelica Editor

Displaying and Editing Modelica Text

Inserting a Function Call

Editing an Existing Function Call

Inserting a Type

Inserting a Statement

Creating and Editing Enumeration Types

Calling External C Functions in a Function

Controlling Graphical Annotations of Icons by Parameters

Recomputing the Cut Joint Configuration

Documentation

Displaying the Documentation in an Immersive Dockable Viewer

Displaying, Adding, or Editing Documentation

Adding Images in the Documentation

Exporting HTML Documentation

Using Style Sheets

Managing Components

About Modelica Components

Working with the Component Browser

Instantiating a Component

Accessing Model Examples

Selecting a Component

Duplicating Components

Exchanging a Component Class

Dragging a Model, Block, Type, or Record to the Component Browser

Working with Replaceable Components

Showing Components

Navigating the Component Path

Showing Class Definition

Showing the Diagram Layer of a Component

Associating a Modelica Command with a Model

Component Display

Moving, Resizing, Flipping, and Rotating Components

Aligning, Distributing, and Resizing Components

Spacing and Aligning Components Automatically

Drawing Primitives

Adding a Picture

Displaying and Moving the Origin

About Using Parameter Dependent Graphics

Connection

About Connectors and Connections

Using the Connection Manager

Creating a Standard Connection

Connecting In Different Ways

Connecting with Smart Connect

Starting a Connection from an Existing Connection Line and Ending a Connection on an Existing Connection Line

Creating and Connecting an Array of Connectors

Connecting and Tracing Expandable Connectors

Creating a Connection to a Nested Connector

Connecting Stacked Connectors

Creating a Connection to a Functional or Logical Port or Interface

Improving Connection Line Drawing

Adding and Editing Connection Labels

Rerouting Connections While Drawing

Reorganizing Connection Lines

Cross-Connection Management

Hiding and Displaying Connection Lines

Highlighting Connections

Finding Connections

Synchronizing the Position of Connectors Between the Diagram Layer and the Icon Layer

Defining Parameters and Variables

About Parameters and Variables

Working with the Parameter and Variable Editor

Parameters Edition

Defining Parameters and Editing Properties of Parameters

Deleting a Parameter

Working with Knowledgeware Parameters

Exposing Modelica Parameters as Knowledgeware Parameters

Creating Modelica Parameters from Knowledgeware Parameters

Component Parameters Edition

About Options in the Modelica Parameters Edition Dialog Box

Displaying and Editing Modelica Parameters

Working with the Matrix Editor

Propagating Parameters

Exposing Modelica Component Parameters as Knowledgeware Parameters

Knowledge Handling

About Knowledge Handling Features in Dymola Behavior Modeling

Creating and Using Design Tables

Creating and Using Resource Tables

Using the Enterprise Knowledge Language (EKL)

Importing Modelica Files Using EKL Scripting

Modifying the Modelica Text of a Modelica Class Using EKL Scripting

Simulating Models Using EKL Scripting and Retrieving the Results

Generating Modelica Models from Models from Other Apps

Generating a Modelica Representation of a Mechanism of a Physical Product

About Generating a Modelica Representation of a Mechanism of a Physical Product

Generating a Modelica Model from a Kinematic Mechanism

Generating a Modelica Representation of a Mechanism of a Physical Product

About Generating a Modelica Representation of a Mechanism of a Physical Product

About Joints

About Dynamic Features from the Physical Model

About Handling Specific Elements from Physical Products

Generate a Modelica Model from a Kinematic Mechanism

Generating the Modelica Model

Testing the Generated Model

Detecting and Handling Physical Clashes

Working with the Classes for Force Elements Browser

Generating a Modelica Representation of an Engineering Model (3D Piping, HVAC, or Schematic P&ID Model)

About Generating a Modelica Representation of an Engineering Model

Mapping Engineering Model Objects

About Mapping of the Engineering Model Objects

Mapping Engineering Model Objects and Parameters to Modelica Libraries

Importing and Exporting Modelica Mapping Files

Generating a Modelica Model from an Engineering Model

Updating, from the Physical or Logical Model, a Generated Modelica Model of a Kinematic Mechanism or an Engineering Model

Retrieving the Kinematic Mechanism, the 3D Piping Model, or the 3D HVAC Model

Synchronous Handling and State Machines

About Synchronous Handling and State Machines

Creating and Simulating a Simple State Machine

Interfacing Other Simulation Environments

About Interfacing Other Simulation Environments

Matlab Interface

Exporting a Model to Simulink and Simulink Coder

Importing a Model from Simulink Using FMI

Importing FMUs into Simulink

Functional Mock-up Interface (FMI)

Exporting a Model to the FMU Format

Importing a Model in FMU Format

DDE Communication

About DDE Communication with Dymosim

Interacting with the Dymosim DDE Server Using the Internal Graphical User Interface

Code and Model Export

Exporting a Model to C Code

Exporting a Model to Binary

Python Interface

About Python Interface

Installing Python Interface

Launching HTTP Server

Python Interface: Quick Reference

JavaScript Interface

Performing a Virtual Execution

About Virtual Execution

Working with the Variable Browser

Defining a Virtual Execution

Updating Before Simulation

Setting up a Simulation

About Initial Conditions in Virtual Execution

Defining Execution Parameters Initial Conditions

Importing Initial Conditions

Running a Virtual Execution

Simulating a Behavior

Simulating a Behavior with Interaction

Simulating a Behavior Synchronized with Real Time

Using Multicore Execution

About Multicore Execution

Applying Multicore Simulation

Managing a 2D Animation

Managing a 3D Animation

Replaying an Animation

Calling Functions

Monitoring Variables on the Diagram

Managing Simulation Options Using the Simulation Options Dialog Box

Analyzing Virtual Execution Results

About Analyzing Virtual Execution Results

About Analyzing a Failed Initialization

Opening, Saving, or Exporting Simulation Results

Exporting Selected Variables to File

Saving Monitored and Plotted Variables as Variable Selections

Copy Simulation Command to Clipboard

Working with Plots

About XY Plot

Creating Plots

Renaming Plots

Specifying the Default Plot Panel Docking

Modifying Plot Displays

Modifying Plot Options

Modifying Chart Options

Modifying Curve Options

Modifying Axis Options

Modifiying Visibility Options

Zooming In and Zooming Out in a Chart

Displaying Curves Coordinates along the X-axis

Showing and Hiding Axes Associated with a Curve

Modifying Plot Content

Adding and Removing Charts, and Erasing the Content of Charts

Creating Charts, with Titles, by Scripting

Adding External Curves

Adding Curves or Creating New Curves From Existing Data

Plotting Variable Selections

Plotting Figure Annotations

Creating Scatter Plots by Scripting

Changing the Abscissa

Negating Curves

Removing Curves

Removing Plots

Working with Signal Operators

About Signal Operators

Applying Signal Operators by Commands

Applying Signal Operators by Scripting

Publishing Signal Operator Results to Key Performance Indicators (KPI)

Saving the Plot Window Setup as a Modelica Command in the Model

Copying Curve Data or Curve Point to Clipboard

Exporting the Curves of a Plot Chart to a File

Exporting a Plot as an Image

Working with Variable Dependencies and Equation Incidence

About Analyzing Variable Dependencies and Equation Incidence

Analyzing Variable Dependencies for a Normal Simulation

Sweeping Parameters

Simulation Analysis: Analyzing Numeric Intergration and Events

Analyzing Numeric Integration

Analyzing Events

Applying Profiling

Managing Variable Selections

About Variable Selections

Creating and Editing Variable Selections

Postprocessing with Integrated Linear Systems Analysis Tools

About Postprocessing with Integrated Linear Systems Analysis Tools

Applying Integrated Linear Systems Analysis Tools

Saving Initial Values in the Model

Scripting

About Scripting

About the DymolaCommands Library and Use of Commands

Executing a Modelica Script File

Working with the Modelica Scripting Window

Working with the Modelica Script Editor

Creating a New Script

Opening an Existing Script

Editing a Script

Saving a Script

Executing a Script or a Selected Part of a Script

Tracing

Displaying or Changing the Default Directory

Displaying or Changing Flags by Scripting

Running Script Files and Functions with Batch

Saving Snapshots of Results During Simulation

Comparing Simulated Models

Refreshing All Objects in Model

Updating Libraries and Behaviors

Working with Dymola Flags

Reference Information

Design Range Management

Dymola Behavior Modeling Browsers and Editors

Dialog Boxes

Modelica Parameters Edition Dialog Box

Command Dialog Boxes and Editors

Simulation Setup Dialog Box

Messages Reporting Window

Dymola Behavior Modeling in Editability Mode

Dymosim Integrators

National Language Support

Compilers

Knowledge Packages

Dymola Behavior Modeling Modeling Methods

Dymola Behavior Modeling Methods Functions: ImportModelicaFile

Dymola Behavior Modeling Components Types

Dymola Behavior Modeling Types

Standard Types

Administration Tasks: Installing 3D XML Modelica Libraries