I need to port a model to PSPICE, specifically these three commands for B sources
* if/then/else voltage source
B1 pwm 0 V=if((V(VIN,CMN_IN)+1-V(carrier_ramp))>0 , 1, 0)
*voltage source: multiply a node voltage by a parameter
B2 VOUT_P CMN_POUT V={V_OUT*V(pwm_p3)}
*voltage source: delay node voltage by a specified amount of time
B1 N002 0 V=delay(V(out),TPULSE)
* if/then/else voltage source
B1 pwm 0 V=if((V(VIN,CMN_IN)+1-V(carrier_ramp))>0 , 1, 0)
*voltage source: multiply a node voltage by a parameter
B2 VOUT_P CMN_POUT V={V_OUT*V(pwm_p3)}
*voltage source: delay node voltage by a specified amount of time
B1 N002 0 V=delay(V(out),TPULSE)