0% found this document useful (0 votes)
186 views2 pages

OpenModelica Installation Sheet English

The document provides instructions for installing OpenModelica on Windows and Linux operating systems. For Windows, it describes downloading the installer file, running it as an administrator, selecting installation options and finishing the installation. For Linux, it gives commands for adding the OpenModelica software repository, updating packages, and installing OpenModelica using the package manager. It also provides steps for verifying a successful installation by opening a tutorial file in OpenModelica Connection Editor and simulating a circuit model.

Uploaded by

PrathameshSagare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
186 views2 pages

OpenModelica Installation Sheet English

The document provides instructions for installing OpenModelica on Windows and Linux operating systems. For Windows, it describes downloading the installer file, running it as an administrator, selecting installation options and finishing the installation. For Linux, it gives commands for adding the OpenModelica software repository, updating packages, and installing OpenModelica using the package manager. It also provides steps for verifying a successful installation by opening a tutorial file in OpenModelica Connection Editor and simulating a circuit model.

Uploaded by

PrathameshSagare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Installation Sheet for OpenModelica

Spoken Tutorial Team


IIT Bombay

1 The procedure to install OpenModelica on Windows OS


1. To follow the installation procedure, you need to be connected to the internet.
2. Open your default web browser.
3. In the address bar, type the url: https://www.openmodelica.org and press Enter.
4. Go to DOWNLOAD tab.
5. Select Windows.
6. From Official Release, Click on 1.13.2 (32bit/64bit)
7. From Parent Directory, click on 64bit.
8. Click on OpenModelica-v1.13.2-64bit.exe.
9. Save OpenModelica-v1.13.2-64bit.exe file.
10. Right Click on the downloaded file and select Run as Administrator.
11. In Installation Pop-up window, click on Next.
12. Choose the Destination Folder and click on Next
13. Click on Install
14. Click on Next
15. Click on Finish
16. OpenModelica is successfully installed.

2 The procedure to install OpenModelica on Linux OS


1. To follow the installation procedure, you need to be connected to the internet.
2. Open terminal and type sudo -s
3. Type your system password.
4. Type: echo ”$deb http://build.openmodelica.org/apt ‘lsb release -cs‘ stable”;
5. Copy http://build.openmodelica.org/apt xenial stable
6. In the terminal, type: gedit /etc/apt/sources.list
7. A new gedit file named ”sources.list” appears. Press CTRL + S
8. Close the ”sources.list” file.
9. Type: wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -
10. It will show ”OK”.
11. Open a new terminal window
12. Type: sudo apt-get update
13. Type: sudo apt-get install openmodelica
14. OpenModelica is successfully installed.
3 Checking the installation
1. To check the software installation, please follow these steps:
2. For Windows: Go to ”OpenModelica Connection Editor”, right click on it and select ”Run
as administrator”
For Linux: Open a command terminal by pressing Ctrl+Alt+T and type OMEdit.
3. Click on the ”OpenModelica Connectors” tutorial.
4. Download and save the code file named RLC Circuit.mo.
5. Open this file using OpenModelica Connection Editor (OMEdit)
6. Now in the Libraries Browser, expand ”RLC Circuit solution” library.
7. Double click on ”circuit” class.
8. Now click on green colored arrow ”Simulate” button on the toolbar.
9. In the new window, go to the ”Variables Browser” at the right.
10. Expand ”resistor1” and check the ”Ir” check box.
11. We will get current vs time plot.

You might also like