A computer implemented method for detecting anomalies in an electrical network, the method comprising the steps of: (i) retrieving consumption measurements produced by meters presumed to be connected to a same transformer of the electrical network based on a preestablished topology of the electrical network, the consumption measurements being distributed through time; (ii) generating an ohmic matrix model of the electrical network, the ohmic matrix model having currents carried by the meters as input, relative voltage drops of the meters referenced to a voltage of a reference node located on the electrical network as output, and resistive quantities initially determined by currents and voltages based on consumption measurements as matrix terms, the relative voltage being a voltage difference between a voltage determined for one of the meters and an average of voltages determined for a set of meters of the electrical network; (iii) performing at least one of the following operations: comparing the resistive quantities of the ohmic matrix model with one another according to preestablished matrix comparison patterns and with respect to preestablished quantity thresholds indicative of anomalies; determining an instantaneous relative voltage drop of a meter based on the consumption measurements of the meter and determining deviations with respect to the instantaneous relative voltage drop estimated with the ohmic matrix model for the meter, the deviations exceeding a preset threshold being indicative of anomalies; and generating an inverse matrix model of the ohmic matrix model, the inverse matrix model having deviations of instantaneous relative voltage drops of the meters as input and unmetered currents as a function of the deviations as output, the unmetered currents exceeding a preset threshold being indicative of anomalies; (iv) depending on whether a preestablished modeling condition of the ohmic matrix model is satisfied or not, returning to step (ii) while modifying the input and the resistive quantities as a function of the anomalies detected at step (iii); and (v) providing a diagnosis of the electrical network characterizing the anomalies detected at step (iii). (i) retrieving consumption measurements produced by meters presumed to be connected to a same transformer of the electrical network based on a preestablished topology of the electrical network, the consumption measurements being distributed through time; (ii) generating an ohmic matrix model of the electrical network, the ohmic matrix model having currents carried by the meters as input, relative voltage drops of the meters referenced to a voltage of a reference node located on the electrical network as output, and resistive quantities initially determined by currents and voltages based on consumption measurements as matrix terms, the relative voltage being a voltage difference between a voltage determined for one of the meters and an average of voltages determined for a set of meters of the electrical network; (iii) performing at least one of the following operations: comparing the resistive quantities of the ohmic matrix model with one another according to preestablished matrix comparison patterns and with respect to preestablished quantity thresholds indicative of anomalies; determining an instantaneous relative voltage drop of a meter based on the consumption measurements of the meter and determining deviations with respect to the instantaneous relative voltage drop estimated with the ohmic matrix model for the meter, the deviations exceeding a preset threshold being indicative of anomalies; and generating an inverse matrix model of the ohmic matrix model, the inverse matrix model having deviations of instantaneous relative voltage drops of the meters as input and unmetered currents as a function of the deviations as output, the unmetered currents exceeding a preset threshold being indicative of anomalies; comparing the resistive quantities of the ohmic matrix model with one another according to preestablished matrix comparison patterns and with respect to preestablished quantity thresholds indicative of anomalies; determining an instantaneous relative voltage drop of a meter based on the consumption measurements of the meter and determining deviations with respect to the instantaneous relative voltage drop estimated with the ohmic matrix model for the meter, the deviations exceeding a preset threshold being indicative of anomalies; and generating an inverse matrix model of the ohmic matrix model, the inverse matrix model having deviations of instantaneous relative voltage drops of the meters as input and unmetered currents as a function of the deviations as output, the unmetered currents exceeding a preset threshold being indicative of anomalies; (iv) depending on whether a preestablished modeling condition of the ohmic matrix model is satisfied or not, returning to step (ii) while modifying the input and the resistive quantities as a function of the anomalies detected at step (iii); and (v) providing a diagnosis of the electrical network characterizing the anomalies detected at step (iii).