Coder Social home page Coder Social logo

bernhard-thiele / omsimulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openmodelica/omsimulator

0.0 1.0 0.0 23.29 MB

OpenModelica FMI & TLM based simulator

License: Other

Dockerfile 0.11% CMake 3.04% Makefile 2.19% Batchfile 1.42% C++ 61.49% C 9.18% Shell 0.32% Python 5.41% Lua 11.14% Lex 0.38% Perl 3.06% Modelica 2.26%

omsimulator's Introduction

OMSimulator License: OSMC-PL

The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.

Downloads

Pre-compiled binaries are available for Windows, Linux, and Mac.

The latest documentation is avilable as pdf and html.

Dependencies

Compilation

Linux / MacOS

  1. install libxml2-dev

    sudo apt-get install libxml2-dev
  2. configure OMSimulator

    make config-3rdParty
    make config-OMSimulator
  3. build OMSimulator

    make OMSimulator -j4

Windows (OMDev mingw)

  1. setup OMDev

    • Checkout OMDev (OpenModelica Development Environment): git clone https://openmodelica.org/git/OMDev.git
    • Follow the instructions in OMDev/INSTALL.txt
  2. configure OMSimulator

    make config-3rdParty
    make config-OMSimulator
  3. build OMSimulator

    make OMSimulator -j4

Windows (Visual Studio)

The following versions of Visual Studio are supported:

  • "VS14-Win32" -> "Visual Studio 14 2015"
  • "VS14-Win64" -> "Visual Studio 14 2015 Win64"
  • "VS15-Win32" -> "Visual Studio 15 2017"
  • "VS15-Win64" -> "Visual Studio 15 2017 Win64"

It is not strictly required to install the full Visual Studio IDE. The batch scripts only require Visual C++ Build Tools.

  1. install boost (VS14: 1.63, VS15: 1.64)

    • Download and install precompiled boost libs, e.g. from this source
    • Set environment variable BOOST_ROOT to install path, e.g:
      • BOOST_ROOT=C:\local\boost_1_64_0
  2. configure OMSimulator

    configWinVS.bat VS15-Win64
  3. build OMSimulator

    buildWinVS.bat VS15-Win64

The optional parameter estimation module

OMSimulator includes an optional parameter optimization module. It is enabled by default. It can be disabled in order to speed up the compilation process or if it causes compilation problems. It is not supported when using MinGW (and automatically disabled in that case). It can be disabled by using the options CERES=OFF (disables building its dependencies) and OMSYSIDENT=OFF.

make config-3rdParty OMSYSIDENT=OFF
make config-OMSimulator OMSYSIDENT=OFF

omsimulator's People

Contributors

adeas31 avatar adrpo avatar arun3688 avatar atrosinenko avatar bernhard-thiele avatar farkasrebus avatar frape315 avatar hkiel avatar hyumo avatar lenarb avatar lochel avatar openmodelica-hudson avatar robbr48 avatar sjoelund avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.