Code Monkey home page Code Monkey logo

fmi-cross-check's Introduction

FMI Cross-Check

This repository contains the exported FMUs and results for imported FMUs of the tools that take part in the FMI Cross-Check. If your tool is listed on fmi-standard.org/tools/ you can add your FMUs and results by following the steps below. For details see the official FMI Cross-Check rules.

Fork and clone the repository

Fork and clone the fmi-cross-check repository. Create and checkout a new branch add-Tool_ID-Tool_Version where Tool_ID is a tool ID from tools.csv and Version the tool's version for which you commit FMUs / results.

Add FMUs

For every exported FMU add the following files:

fmus
  + FMI_Version
    + FMI_Type
      + Platform
        + Tool_ID
          + Tool_Version
            + Model_Name
              - Model_Name_in.csv  (optional)
              - Model_Name_ref.csv
              - Model_Name_ref.opt
              - Model_Name.fmu
              - README.[md|txt]
File / Directory Description
FMI_Version 1.0, 2.0
FMI_Type cs (Co-Simulation), me (Model Exchange)
Platform c-code, darwin32, linux32, linux64, win32, win64
Tool_ID Must match the tool ID in tools.csv
Tool_Version The tool version
Model_Name Name of the FMU (w/o file extension)
Model_Name_in.csv Input file (optional)
Model_Name_ref.csv Reference results
Model_Name_ref.opt Simulation settings to reproduce reference results
Model_Name.fmu The exported FMU
README.txt A text (.txt) or Markdown (.md) file that describes the FMU (optional)

Add results

For every imported FMU add the following files:

results
  + FMI_Version
    + FMI_Type
      + Platform
        + Importing_Tool_ID
          + Importing_Tool_Version
            + Exporing_Tool_ID
              + Exporting_Tool_Version
                + Model_Name
                  - Model_Name_out.csv
                  - passed / failed / rejected (optional)
                  - README.[md|txt]
File / Directory Description
FMI_Version 1.0, 2.0
FMI_Type cs (Co-Simulation), me (Model Exchange)
Platform c-code, darwin32, linux32, linux64, win32, win64
Importing_Tool_ID The importing tool's ID (as in tools.csv)
Importing_Tool_Version The importing tool's version
Exporing_Tool_ID The exporting tool's ID (as in tools.csv)
Exporting_Tool_Version The exporting tool's version
Model_Name Name of the imported FMU (w/o file extension)
README.txt A text (.txt) or Markdown (.md) file that describes how to import the FMU

Validate the files

Before pushing your changes to GitHub please validate the repository and fix any reported problems. To run the validation locally, install FMPy 0.2.11, change into the cloned fmi-cross-check repository and run

python -m fmpy.cross_check.validate_vendor_repo

The script will report all problems that have been found:

#################################
0 problems found in /path/to/fmi-cross-check
Validated 1233 FMUs and 10008 results
#################################

Note: You may need to run the script once with the optional argument --clean-up

python -m fmpy.cross_check.validate_vendor_repo --clean-up

in order to force it to go through all directories again. Otherwise it may claim all files to be correct, even though some errors persist.

Make a pull request

Commit and push the changes to your fork and create a pull request.

fmi-cross-check's People

Contributors

adriengougeon avatar andreas-junghanns avatar anheuermann avatar antonio-portaluri avatar bastianbin avatar bcamus avatar beutlich avatar dieggar avatar f-verani avatar ghorwin avatar hela-guesmi avatar izacharias avatar jthoene avatar karlwernersson avatar klausschuch avatar labauke avatar maplesoft-fmigroup avatar markaren avatar matthieujude1 avatar mbrumbulli avatar nfelderer avatar stefanoltean avatar t-schenk avatar t-sommer avatar

Watchers

 avatar  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.