-
Notifications
You must be signed in to change notification settings - Fork 0
How to get started
This framework depends on two external libraries, which need to be installed before the framework can be compiled and used.
- libsqlite3-dev
- libcurl4-openssl-dev
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.