Modelling of rail gun and study of its pulsed power supply system using computer simulation techniques