A simulation code of an innovative electro-injector for Diesel engines is presented with the preliminary analysis carried out using the code. The simulation code is based on the concentrated volume method. The energy and continuity conservation equations and dynamic equations are used for the movable parts of the system under friction. The one dimensional code simulated the propagation in the feeding pump and the control of the electro-injector. The program uses the method of characteristics to solve conservation equations, simulating the propagation in the pipe between the two chambers. To go deeply into the study of the electro-injector, main routine tests were carried out checking the exact value of diesel fuel parameters and the fuel energy losses with stationary and instationary flows. A comparison with different experimental results obtained by different types of electroinjectors, running at real conditions, has been made with good agreement. Finally, a theoretical sensitivity analysis was carried out using the Design Of Experiment method to optimize the electroinjector performances.