Text this: Modeling pulse power generator of Electrical Discharge Machining