An electrical power supply system connected to an electrical grid, includes at least one source of electrical power, an inverter which receives power from the electrical source and delivers power to a local load, and a connection to the electrical grid. A first embodiment detects on-hand inventory problems. The elementary active component is located in the elementary well or in and on the elementary well.