001_asrc_g-element : Voltage-Controlled Current Source (G Element)
Requires: SmartSpice & Smartview
Minimum Versions: SmartSpice 3.16.12.R
The input deck shows how to use a G-device and a convex 3D-surface to generate current through the G-device.
The input deck shows how to use a complex 3D-surface with scattered set of points to determine current on the G-device.
Input Files
g_asrc_xyz_table_convex.in
* G-device: convex surface slice at y=0.5 Gdd1 2 1 TABLE 'v(3)' '0.5' = (0, 0, 1) (0, 1, 1) (1, 0, 1) (1, 1, 1) (0.5, 0.5, 1.5) r1 1 0 0.5K r2 3 2 0.5k vac 3 0 pwl 0 0 10n 1 .tran 1n 10n .probe v(1) v(2) v(3) .probe i(r1) i(r2) i(vac) .probe i(gdd1) .plot i(r1) .plot i(gdd1) .option nomod .end
g_asrc_xyz_table_rnd.in
* G-device: scattered 3D surface determines a current on the device Gdd1 2 1 TABLE 'v(3)' 'v(3) ' = + (0, 0, 0) + (0, 1, 0) + (1, 0, 0) + (1, 1, 0) + (0.260109, 0.219489, 0.124912) + (0.602771, 0.203772, 0.473006) + (0.00885037, 0.675832, 0.218009) + (0.389294, 0.776574, 0.263649) + (0.0761742, 0.910489, 0.405942) + (0.85345, 0.116123, 0.396146) + (0.991668, 0.348308, 0.49971) r1 1 0 0.5K r2 3 2 0.5k vac 3 0 pwl 0 0 10n 1 .tran 1n 10n .probe v(1) v(2) v(3) .probe i(r1) i(r2) i(vac) .probe i(gdd1) .plot i(r1) .plot i(gdd1) .option nomod .end
Graphics