Giter Club home page Giter Club logo

dalculator's Introduction

Library Banner


About

This tool was created by a team of ONERA researchers (Rémi Delmas, Pierre Bieber, Christel Seguin) in the context of the MISSA European community project (http://www.missa-fp7.eu), which spanned from mid-2009 to mid-2011. The tool has been extended in the DGAC project PHYDIAS (https://w3.onera.fr/PHYDIAS/en). You can however send feedback, comments, suggestions or bug reports the authors by email: [email protected], [email protected], [email protected], and by placing the [dalculator] tag in the title of the email

Purpose of the tool

The purpose of the DALculator is to derive function independence requirements, DAL levels for functions, and failure probability budget by analyzing sets of minimal cut sets describing failure conditions.

Compiling the DALculator

Java 8

You need a working installation of the Java Runtime Environment version 8 (either OpenJDK or Oracle will do). Installation procedures may vary depending on your system (Windows, OSX, Linux), please follow the official guidelines for your system.

SBT

The compilation of the DALCulator can be easily performed with SBT. Installation procedures may vary depending on your system (Windows, OSX, Linux), please follow the official guidelines for your system.

Generate the standalone JAR

To generate the standalone JAR, run:

 sbt assembly

Note that the entrypoint is specified in the build.sbt file. You can select the main class (here GUI or CLI) by commenting/uncommenting the following lines:

//Uncomment to define GUI as entrypoint
assembly / mainClass := Some("dalculator.gui.DalculatorGraphicalInterface")

//Uncomment to define CLI as entrypoint
assembly / mainClass := Some("dalculator.cli.CLI")

Running the DALculator

Run using the standalone JAR

To use the standalone JAR with the GUI run:

 java -jar [PATH_TO_JAR]

Note that by default the standalone JAR path is target/scala-2.13/dalculator-assembly-X.Y.jar (where X.Y is the version number).

Installing the WBO Pseudo-Boolean solver (optional)

The tool wbo1.4b-fixed can be obtained by contacting its author, Vasco Manquinho from INESC-ID in Portugal. The binary of the solver must be placed in the src/resources folder.

Installing the lp_solve MILP solver (optional)

The budget allocation analysis relies on the MILP solver. On a debian-based system, lp_solve is available in the standard package repositories can be installed using the apt-get package installation utility.
Just make sure that the package is installed on the system and that the lp_solve command is available in the user's $PATH.

Theory behind the tool

The formal theory on which the DALculator is based is described in references:

dalculator's People

Contributors

kevin-delmas avatar

Watchers

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