Skip to content

How to get started

JochiSt edited this page Jan 13, 2017 · 2 revisions

Before using the framework

This framework depends on two external libraries, which need to be installed before the framework can be compiled and used.

  1. libsqlite3-dev
  2. libcurl4-openssl-dev

Starting using the framework

Calculating reliability

Typically the schematics, which might be considered consists of many items. In order to keep the overview, the components are grouped within schematic. Means a schematic consists of components, e.g. ICs, resistors etc. On the other hand a schematic can also treated as a component. This allows cascading schematics.

A very basic example of a schematic is:

schematic* Tmonitoring = new schematic("Temp monitoring");
Tmonitoring -> addComponent(new IC_TI("U1", "TMP100"));
Tmonitoring -> addComponent(new capacitor_WUERTH("C1", "WCAP-CSGP", 100*capacitor::nF, 3.3, 16));
Tmonitoring -> addComponent(new IC_TI("U1300", "TMP100"));
Tmonitoring -> addComponent(new capacitor_WUERTH("C1300", "WCAP-CSGP", 100*capacitor::nF, 3.3, 16));

This is a schematic names 'Tmonitoring', which consists of two ICs (Texas Instruments TMP100) and two 100nF capacitors from WÜRTH.

To calculate the reliability of this schematic simply call

float FIT = Tmonitoring -> getFIT();

This will return the FIT value of the example above. If you are interested in the idividual contributions of each component use Tmonitoring -> setVerboseOutput(true). Now a nice list is printed on the screen, which explains exactly the FIT value of each component.