Patent ID: 7643978

Claim:
A method using a computer-implemented simulator for simulating an electric circuit comprising elementary components having each of their terminals connected to a circuit node, some nodes receiving external stimuli consisting of a series of voltage values applied at successive simulation times, comprising: determining by the computer-implemented simulator at a given time the voltages at the circuit nodes by performing one or more calculation iterations by the computer-implemented simulator, each iteration comprising defining a probable voltage for each node, calculating currents entering or coming out of each of the components by using for each component a model based on the voltages at the component's terminals, then verifying a mesh equation for each node, wherein the iteration series continues until the mesh equation is verified by the computer-implemented simulator, and the model in the step of calculating the currents for a first simulation time following an initial simulation time, is one of a simplified, a compound, or a full model for each component, the full model enabling determining the value of the current according to the voltages at the component's terminals, the simplified model corresponding to a tangential linearization of the full model around the value of the current corresponding to the voltages at the component's terminals determined for the initial time, and the compound model being a fitting of the simplified and full models by ensuring continuity of the currents, wherein if the interval between the voltages at the component's terminals determined by the computer-implemented simulator for the initial simulation time and those probable for the first simulation time is smaller than a first threshold defined for this component, the simplified model is used by the computer-implemented simulator; if the interval between the voltages at the component's terminals determined by the computer-implemented simulator for the initial simulation time and those probable for the first simulation time is greater than a second threshold defined for this component, the second threshold being greater than the first threshold, the full model is used by the computer-implemented simulator; and if the interval between the voltages at the component's terminals determined by the computer-implemented simulator for the initial simulation time and those probable for the first simulation time is between the first and second thresholds for this component, the compound model is used by the computer-implemented simulator.