/EngineME

Primary LanguageModelica

Minimum Dependencies
  • Python 2.7.8
  • matplolib
  • scipy
  • numpy
  • h5py
  • modelicares (0.10)
    Developing the code
  • Download the whole project into a desired folder
  • Open Eclipse and make sure the PyDev Plug-in is installed (one way to check it is if you can switch to the Python Perspective from Window> Perspective> Other Perspective> Other> PyDev)
  • On the project explorer, right click and select Import> Existing project into workspace
  • Structure of the Eclipse project
    1) ROOT_FOLDER/
    2) ROOT_FOLDER/config/
    3) ROOT_FOLDER/models/
    4) ROOT_FOLDER/src/config/
    5) ROOT_FOLDER/src/engines/
    6) ROOT_FOLDER/src/scripts/
    7) ROOT_FOLDER/src/utilsmee/

    Folder 2) stores .properties files with information about: a) the models to simulate, b) basic configuration for compilers

    Folder 3) contains the models to be simulated

    Folder 6) contains the three main scripts of the project, among other script for utilities: simulationDY.py for simulations using Dymola compiler simulationJM.py for simulations using JModelica compiler (does not work - in development) simulationOMC.py for simulations using OpenModelica compiler

    Each script need two input files, where the XX indicates which compilers is being used. Indicate the input parameters in this order: simResourcesXX.properties simConfigurationXX.properties