Development and use of a new object oriented simulator for analysing industrial plant power and control system