NOVELTY - The automotive electronic control unit (ECU) controls the electrical power generation in an automotive electrical system (ES), by exploiting electrical power supplied by a renewable electrical power source (SP) and an electronically-controllable alternator (SA). The alternator is consequently controlled to operate the electrical system in an operation point in which an overall electrical power is supplied by the power source and the alternator. The overall electrical power is depended on the associated fuel consumption of an internal combustion engine, over time.    USE - Automotive electronic control unit for automotive electrical system used in motor vehicle (All claimed).    ADVANTAGE - The generation of electrical power on board the motor vehicle can be optimized, so that the fuel consumption can be minimized. The availability of the electrical power required by the electrical loads can be guaranteed, so as to be powered according to the needs and not penalized to favor the reduction in fuel consumption. The cranking capability can be guaranteed, such that the availability of electrical power for restarting the internal combustion engine ICE after each switch-off can be obtained. The life cycle of the components of the electrical system can be increased, such that the life of the components of the electrical system is not penalized to favor the reduction in fuel consumption. The solar panels can be integrated in motor vehicles and the operation can be managed without the need for any high-efficiency DC/DC electrical power converter, but using just the components already present on board the motor vehicles.    DETAILED DESCRIPTION - INDEPENDENT CLAIMS are included for the following:    (1) an automotive electrical system; and    (2) a software loadable in automotive electronic control unit of automotive electrical system.    DESCRIPTION OF DRAWING(S) - The drawing shows the block diagram of the automotive electrical system.    Electronic control unit (ECU)    Electrical system (ES)    Intelligent battery sensor (IBS)    Electronically-controllable alternator (SA)    Electrical power source (SP)