Metadata-Version: 2.4
Name: dft2hd2reliabilityr
Version: 0.2.1
Summary: Dynamic Fault Tree -> Hasse diagram -> Reliability: minimal cut sets, minimal links and system reliability polynomials
Author-email: "Dr. Fotsa-Mbogne David Jaures" <jauresfotsa@gmail.com>
Maintainer-email: "Dr. Fotsa-Mbogne David Jaures" <jauresfotsa@gmail.com>
License: MIT License
        
        Copyright (c) 2022 ARDIS4SD
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/ARDIS4SD/DFT2HD2ReliabilityR
Project-URL: Repository, https://github.com/ARDIS4SD/DFT2HD2ReliabilityR
Keywords: fault tree,dynamic fault tree,reliability,safety,Hasse diagram,minimal cut sets,minimal links,dependability
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: sympy>=1.9
Provides-Extra: viz
Requires-Dist: matplotlib>=3.5; extra == "viz"
Requires-Dist: networkx>=2.6; extra == "viz"
Provides-Extra: test
Requires-Dist: pytest>=7.0; extra == "test"
Dynamic: license-file

.. image:: https://github.com/ARDIS4SD/DFT2HD2ReliabilityR/blob/main/DFT2HD2ReliabilityR.svg


A quoi sert ce projet ?
========================
Le projet a pour de mettre à disposition des maintenanciers ayant 
des connaissances de base de programmation python, des fonctions 
permettant de construire des structures d'évaluation de la fiabilité 
(arbre de défaillance, diagramme de Hasse). En particulier, il vise à 
faire le calcul rapide par la méthode de satisfiabilité (coupe, lien, 
polynôme de fiabilité).

The project aims to provide maintainers with basic knowledge of python 
programming, functions to build reliability assessment structures (fault 
tree, Hasse diagram). In particular, it aims to do fast computation by the 
satisfiability method (cut, link, reliability polynomial).


Pourquoi ce projet est-il utile ?
=================================

L'évaluation de la fiabilité est un enjeux majeur de la maintenance qui elle même
est indispensable pour la productivité des entreprises. Le fait est que la maintenance 
moderne est assistée par ordinateur. Malheureusement, les logiciels de gestion de la 
maintenance sont assez onéreux. Il serait idéal de developper un projet open source 
permettant de pallier le problème de coût, et de developper un communauté collaborative 
qui fera rapidement avancer de façon ludique, les outils logiciels de pointe en matière
de maintenance.

Reliability assessment is a major maintenance issue which itself is essential for business 
productivity. The fact is that maintenance modern is computer-assisted. Unfortunately, maintenance 
management sofwares are quite expensive. It would be ideal to develop an open source project to 
overcome the cost problem, and to develop a collaborative community which will quickly advance in 
a playful way, the cutting-edge software tools for maintenance.

Comment démarrer ?
====================

Installation (dépendance dure : sympy)::

    pip install dft2hd2reliabilityr            # PyPI : version 0.2.0 publiée
    pip install "dft2hd2reliabilityr[viz]"     # + matplotlib/networkx (ViewGraph)
    # ou depuis ce dépôt :
    pip install .                              # dépendance sympy uniquement
    pip install -e ".[test]"                   # mode développement + pytest

Utilisation minimale — fiabilité d'un système OR 2 composants::

    from dft2hd2reliabilityr import FaultTree, DownHasseDiagram, One
    import sympy

    tree = FaultTree(3)
    tree.NewRelation(3, [1, 1, 0], [0, 0, 1])          # OR(c0, c1)
    h = DownHasseDiagram(tree, [0, 1], [sympy.Symbol("R1"), sympy.Symbol("R2")],
                         [[1], [1]], [One, One], [0], 1)
    print(h.GetPolyFiab())                             # -> poly de fiabilité

Où puis-je obtenir plus d'aide, si j'en ai besoin?
====================================================

En cas de besoin d'aide, bien vouloir contacter l'auteur Dr. Fotsa-Mbogne David Jaures à l'une 
des adresses jauresfotsa@gmail.com, david_jamesf@yahoo.fr et mjd.fotsa@univ-ndere.cm . Dr. Fotsa-Mbogne
est également disponible sur la page https://sites.google.com/site/mjdavidfotsa/home

If you need help, please contact the author Dr. Fotsa-Mbogne David Jaures at one addresses 
jauresfotsa@gmail.com, david_jamesf@yahoo.fr and mjd.fotsa@univ-ndere.cm. Dr. Fotsa-Mbogne is also 
available at https://sites.google.com/site/mjdavidfotsa/home

