Wednesday, December 7, 2022
Home Buyers' Guides Modelling With Modelica In OpenModelica

Modelling With Modelica In OpenModelica

Modelling With Modelica In OpenModelica

An interactive shell to work with Modelica

‘The shell called OM Shell parses and interprets commands and expressions, and displays the results of the various processes performed. The environment allows you to load classes and even execute commands. You can also find simple history facilities, completion of file names and certain identifiers in commands, in the session handler.

Elements to help you create better models
There is a model widget for each class, keeping pace with the apps trend. With a status bar and a view area, navigation and display are hassle free. Components can be dragged and dropped into the icon view on the widget from the library. A system library, a standard library and a user library come to your aid. After enabling the connect mode, components can be linked to one another to create a complete model.

box 1

As you work with your model, there is always a need to cross-check or revisit certain sections of documentation or design. To help you with easy access to these, there are browsers for library, documentation, variables that can be used in your code and messages displayed, especially the ones citing errors.

Also, Welcome Perspective shows a list of recent files and latest news to help you create better models; you create your model in Modelling Perspective and you can view the results of simulation in Plotting Perspective tabs.

Edit your graphical models with ease
OM graphic connection editor called OMEdit makes the process of creating, browsing, editing and simulating models smooth. Usage of pre-defined models from standard libraries for creating your own user-defined models for use and component interfaces to interconnect components makes the design process simple.

Further, sub-systems for specifying simulation parameters like time, values and more, and a plotting interface to create plots from simulated models add glitter.

Generate outputs in varied formats
OM supports generation of output files in formats like mat, plt, csv and empty. The kind of output you require can be decided based on the type of data required, speed of simulation and size of the file. When using external scripts or tools like GNU plot to generate plots or process data, csv and plt formats come handy.