in a 3 phase application, SVPWM output is gates S1S3S5 .. but If I made modeling to my system in dq frame, HOW I can convert S1S3S5 to dq frame to suit my modeling system?
the SVPWM is a modulation technique based on a space vector representation of the inverter voltage in a stationary frame (alpha-beta). The input vector of stator voltages given in alpha-beta frame is transleted into 3 pairs of gate signals, each one for inverter leg. I suppose that your intention is to convert the given inverter voltages into voltage components given in the rotating reference frame dq. To realize this task first of all you should calculate the given phase voltages (duty x Vdc/2), then for the calculated phase voltages use the Clark transphorm and in the next step use the Park transphorm.
You can do this by converting the gating signals (varying between 1 and 0) into pole voltages by simply multiplying the gating signals with 0.5*Vdc. Later, these pole voltage can be converted to line (for example: Vab = Vao-Vbo) and then to phase voltages (for example: Van = (Vab-Vca)/3, 'n' is the load neutral). Here, phase voltages of load must always be generated from line voltages because in 3-phase converters, it is the line voltage which forms phase voltage across load (neutral of load isolated).