A Method for the Simulation of the AC/DC Industrial Electrical Systems