A method of using a software program to simulate the response of the PCB to various mechanical or thermal conditions. A mathematical model of an assembly is constructed, exposed to mechanical or thermal stimulation, and analyzed for its response to those inputs.