OpenModelica Development Course at PELAB
August 30-31, 2007

Location: Linköping University, Building: Building B at IDA/PELAB, Room: Donald Knuth





Home Location Contents Agenda Software Exercises Documentation Contact OpenModelica Home

Location of the course

  • Location: Linköping University,
  • Building: Building B at IDA/PELAB,
  • Room: Donald Knuth

    Preliminary Course Contents

    IMPORTANT: This is not an introductory Modelica course. Basic knowledge of Modelica is assumed.
    Depending on time, specific issues of participants can also be discussed.

    Preliminary Course Agenda

    August 30: 09:15->17:00 (7 hours + 1 hour lunch) DAY 1
    1. Introduction to OpenModelica (Håkan Lundvall)
    2. OpenModelica OMShell usage session (Håkan Lundvall)
      • load/simulate/plot exercise
    3. OpenModelica OMNotebook usage session (Håkan Lundvall)
      • explore DrModelica notebooks
      • write a small model and simulate it
    4. Introduction to MetaModelica (Adrian Pop)
    5. LUNCH 12:00->13:00
    6. Introduction to the OpenModelica MDT Eclipse Plugin (Adrian Pop)
      • Modelica Perspective functionality
      • Debugging functionality
    7. MetaModelica exercises (Adrian Pop)
      Functional programming in MetaModelica, Model transformations and symbolic programming
      Skeletos as Modelica projects in Eclipse, participants will only implement small parts.
      • 01_experiment -> types, functions, constants, printing values
      • 02a_exp1, 02b_exp2 -> adding new features to a small language
      • 03_assignment -> printing values
      • 04a_assigntwotype, 04b_modassigntwotype -> adding a new type to a language
      • 05_advanced -> polymorphic and higher order functions
    8. Presentation and discussion of solution to Exercises (Part I) (Adrian Pop)
    August 31: 09:15->17:00 (7 hours + 1 hour lunch) DAY 2
    1. Introduction to OpenModelica compiler (Adrian Pop)
      • Structure, info about modules, etc
      • Exercise: 06_OMCAndCorba -> Communication with OMC via Corba from Java
    2. Presentation and discussion of solution to exercises (Part II) (Adrian Pop)
    3. LUNCH 12:00->13:00
    4. Advanced OpenModelica compiler development topics (Peter Aronsson, Adrian Pop)
      • How to adapt code generator to specific needs,
      • How to access the flat Modelica intermediate form,
      • Programming AST transformations in the compiler,
      • How to add simple functionality to the compiler.
    5. Additional MetaModelica Exercises
    6. Presentation and discussion of solution to exercises (Part III)
  • News

    2006-08-28

  • Added Software information
  • Added MetaModelica exercises
  • Added course slides

    2007-08-27

  • Added a preliminary course agenda
  • Started this course page


  • Software

    We will use the following software:

    Notes on Software




    MetaModelica Exercises

    We developed a set of MetaModelica exercises we will work with:
    The exercises are available for download here.
    Please read the Software information and README.txt concerning the software dependencies.



    Documentation



    Contact

    Teachers and instructors: 


    Last updated August 28, 2007 by Adrian Pop [adrpo@ida.liu.se].
    Please contact Adrian Pop for any problems.