Knowledge Base
Welcome to OPAL-RT’s Knowledge Base
OPAL-RT offers a repository of support information for optimal use of its technology.
Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.
For optimal experience, use a desktop computer.
Reference Number: AA-01015// Views: AA-01015// Created: 2015-10-01 20:18:37// Last Updated: 2021-12-14 06:04:57 Third-Party Products How to install OpenModelica to create FMU’s (Functional Mock-up Units)
How to install OpenModelica to create FMU’s (Functional Mock-up Units) ePHASORsim contains built-in models for the simulation of the various electrical components in a transmission or distribution system (synchronous machines, loads, transformers, exciters, PSS, lines, etc). However, ePHASORsim allows user to also simulate the different electrical elements using FMU blocks exported from OpenModelica which is an open-source modelling environment. This KB explains basic steps to make sure that FMU blocks can be compiled and used in ePHASORsim models. The installation of the correct version of Open Modelica can be found here: OpenModelica-1.9.1-revision-22929.exe https://build.openmodelica.org/omc/builds/windows/releases/1.9/1/ Note: Only this version is compatible with ePHASORsim so it's highly recommended to use this version After the installation is done, make sure to add these paths to the environment variable: In the variables for User: - Variable Name: OPENMODELICAHOME Value: C:\OpenModelica1.9.1\ - Variable Name: OPENMODELICALIBRARY Value: C:\OpenModelica1.9.1\lib\omlibrary In the variable System: Under the variable "Path" you should add the value: C:\OpenModelica1.9.1\MinGW |