Text this: Simulation and Modelling of Switching High-Voltage Power Supply