It works for me as long as the parameter values are only for the voltage steps. If I use the parameter values in the time steps then it gives me an error saying "time value must not be an expression". See the example below. Is there any way around this?
**** INCLUDING SCHEMATIC1.net ****
* source PWL_Project
V_V1 N00104 0
+PWL 0 0 {T2} {V2}
---------$
ERROR(ORPSIM-16352): Time value must not be an expression
R_R1 0 N00104 1k TC=0,0
.PARAM v2=2 t2=4m
yes. This is possible. Refer the example given below - I believe you are looking for something like this?
*Analysis directives:
.TRAN 0 20m 0
.OPTIONS ADVCONV
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC "..\SCHEMATIC1.net"
**** INCLUDING SCHEMATIC1.net ****
* source PWLSOURCE
V_V1 N00045 0 PWL
+ 1m {T1} 2m {X1}
R_R1 0 N00045 1k TC=0,0
.PARAM t1=2m x1=2
**** RESUMING TRAN.cir ****
.END
It works for me as long as the parameter values are only for the voltage steps. If I use the parameter values in the time steps then it gives me an error saying "time value must not be an expression". See the example below. Is there any way around this?
*Analysis directives:
.TRAN 0 10m 0 0.1m
.OPTIONS ADVCONV
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC "..\SCHEMATIC1.net"
**** INCLUDING SCHEMATIC1.net ****
* source PWL_Project
V_V1 N00104 0
+PWL 0 0 {T2} {V2}
---------$
ERROR(ORPSIM-16352): Time value must not be an expression
R_R1 0 N00104 1k TC=0,0
.PARAM v2=2 t2=4m
**** RESUMING Transient.cir ****
.END