[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
/ JuliaFMI Public archive

Simulator for FMUs in Julia (WIP)

License

Notifications You must be signed in to change notification settings

AnHeuermann/JuliaFMI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package is deprecated and will not longer be maintained.

FMI.jl is a superior FMU simulator with active development and maintenance.

JuliaFMI

ci-workflow codecov

Julia simulator for Functional Mockup Interface (FMI)

Getting started

Installing JuliaFMI

julia> import Pkg
julia> Pkg.clone("https://github.com/AnHeuermann/JuliaFMI.git")

You can force rebuilding with

(v1.2) pkg> build JuliaFMI

Run the tests

(v1.2) pkg> test JuliaFMI

Note: Cloning all tests from [modelica/fmi-cross-check][https://github.com/modelica/fmi-cross-check] needs a lot of time.

FMI

Functional Mock-up Interface (FMI) is a tool independent standard to support both model exchange and co-simulation of dynamic models using a combination of xml-files and compiled C-code.

Functional Mockup Unit's, FMU's for short, can be ex- and imported by various tools. This package should be the first FMUSimulator in Julia an be an easy tool to simulate and validate FMU's for ModelExchange 2.0.

For more informations see the documentation.

Features

At the moment the following features are implemented:

  • Import of FMU's
  • Simulation of first ModelExchange 2.0 FMUs without event handling

Planed features

  • Basic check of correctness of imported FMU's
  • Simulation with changeable explicit and implicit ODE and DAE integrators
  • Export of simulation results as CVS and MAT files

Documentation

Missing as well :-)
There are some Julia doc strings for most functions though...

Known issues

  • fmi2FreeInstance is not working for provided FMUs in test directory.