THE reference for power system transients
http://www.emtp-software.com/system/files/exchange/manzur_bd/Javascripting_in_EMTP_1.pdf
Thanks a lot Manzur !
Cheers,
Emmanuel.