Skip to main content
Upcoming Events:
Hands-on Workshop: Modelling and Simulation for Cyber-Physical Energy Systems Using Modelica

Hands-on Workshop: Modelling and Simulation for Cyber-Physical Energy Systems Using Modelica

Date & Time:
   Add All to Calendar

McMaster University (room TBA)
1280 Main St. West
Hamilton, ON
L8S 4L7

Event Contact:

Vick Lakhian

This workshop is for those who would like to learn how to code in the Modelica Language and interface with Python, MATLAB and the FMI standard. A confirmation package with further instructions regarding the software setup will be sent to the registrants.


This course aims to provide attendees with hands-on experience in using the Modelica language with the Dymola software tool with applications to power system and power electronics, and the use of the FMI standard by exporting the models in other tools. 

Modelica is an equation-based, object-oriented modelling language for cyber-physical systems, standardized by the Modelica Association. It can be used to develop dynamic models of cyber-physical systems describing system dynamics in multiple domains; to interface each domain at the equation level with physical meaning; and to perform simulations and analysis using more than nine software tools (e.g. Dymola by Dassault Systemes).

Modelica offers a strict mathematical representation of the physics of each component of a system and the overall system itself (i.e. system dynamics). In addition to the Modelica language, a new standard for model-exchange and simulation has recently emerged, the Functional Mock-up Interface (FMI) standard, opening the possibility to easily couple Modelica models with more than 100 different simulation or co-simulation tools.

Workshop Details

This workshop will explore the following tools for the Modelica Language with hands on examples in relation to thermal fluids, vehicle, power electronics, and transmission grid modelling:

  • Overview, Introduction to Cyber-Physical Systems and an Introduction to Dymola
  • Building Object-Oriented Graphical Models using Dymola
  • Graphical Modelling and Modelica Packages
  • Simulation and Post-Processing using Dymola
  • System Architecture Models and System-Wide Simulation Configuration in Dymola
  • Hierarchical Model Architectures using a Motor-Controlled Pump
  • Developing Models using the Modelica Language
  • Building Models using the Modelica Standard Library (MSL)
  • Build a Reconfigurable Model Architecture for a Vehicle with Standardized Interfaces
  • Model Variants and Data Management
  • Design and Build Reconfigurable Data Architectures for a Vehicle Model
  • Integrating Modelica with Python, using the Python API with Jupyter Notebooks for Workflow Automation
  • Stability Analysis and Control Design using Modelica Linear Systems 2
  • Linear Analysis and Control Design for a Heating System
  • The OpenIPSL Library for Power System Stability Analysis
  • Building a single machine infinite bus model, generator AVR and PSS
  • Power System Analysis Application Examples using OpenIPSL
  • Performing simulations on the IEEE 9 bus system.
  • Modeling transmission and distribution (Single-Phase/Three-Phase System) networks using OpenIPSLs Monotri package
  • Power System Control Design for AVR and PSS, and Using Jupyter Notebook for Simulation Studies
  • Power Electronics Applications using the Modelica Standard Library and Building Specialized Libraries from MSL
  • The FMI Standard and Tools for Model Calibration
  • Using the FMI Toolbox for Parameter Calibration of the Itaipù Power Plant