Repeat the synthetic examples
Repeat an RC circuit with the local solver and three computations on synthetic Datasets.
Open the ready-made circuit
Download circuito_rc_guida.gxtxt-session.zip. It is a complete synthetic Session with the Circuito RC di prova Workspace and the schematic document. In GX-TXT choose Sessions → Tools → Import Session…, open the ZIP file, assign a unique destination name and press Import. In Sessions set the selector to Workspaces, select Circuito RC di prova and press Open.
The imported copy opens Circuit Workbench. With the rendering problem the Schematic tab stays grey, but you can go to Source / netlist and use Refresh source / netlist. In the tested archive the revision and fingerprint of the schematic were kept. From this point continue with Simulation and Jobs. The package contains the starting circuit. Simulations and publications are run in the imported Session.

Check the RC circuit and the analyses
The circuit of the exercise uses an independent source V1 at 1 V DC and 1 V AC amplitude, R2 of 1000 Ohm and C3 of 1e−6 F. Connect V1.p to R2.p, R2.n to C3.p, and V1.n and C3.n to the Ground reference. The names are those produced in the order of insertion during the test. Check that the netlist shows a source between input and 0, a resistance between input and output and a capacitor between output and 0.
- Open Source / netlist, run Refresh source / netlist and check values and nodes. The effective remapping of the output node in the test is
net_3. - Open Simulation. Select
local. Foroprun Prepare, Submit, Refresh status and Publish Dataset from COMPLETED. Repeat withtranusing 1e−5 s and 0.005 s. In this schematic the source is DC, so you expect a constant voltage after the initial operating point. - Repeat with
ac, griddec, 30, 1 Hz and 100000 Hz. From the frequency output and the complex channels you can compute magnitude or phase. Fordcselect V1 and use 0–5 V in steps of 0.1 V. In the ideal circuit at the DC operating point the capacitor carries no direct current and output and input coincide. - For the sweep go back to
tranand in Sweep select R2 and C3 through their IDs. Use 500–2000 Ohm with 2 points and 1e−6–2e−6 F with 2 points. In the test all four cases completed. Select a completed case, read the log and publish. For P011-bis save the starting point before the sweep and read about the Save As limit.
To get the charge from zero, when visual editing is available set V1 to pulse with initial 0, value 1, delay 0, rise 1e−9 s, width 0.01 s and period 0.02 s. The time constant of the circuit with the original values is 1 ms. The test with V1 in pulse produced a PULSE netlist and a COMPLETED Job. The CSV of the next exercise is built analytically on this ideal response and adds a known perturbation.



Import the example files
| File and ID to assign | Columns and units | Use |
|---|---|---|
| rc_riferimento.csv (ZIP) | time_s in s, measured_v in V | RC response at 13 instants with a perturbation of 0.001·sin(i) V. |
| rc_teorico.csv (ZIP) | time_s in s, reference_v in V | Ideal RC reference on the 13 abscissas. Use it for the graphical overlay. |
| ac_riferimento.csv (ZIP) | frequency_hz in Hz, real and imag in 1 | Ideal RC transfer function 1/(1+j·2πfRC). The quantity is a dimensionless ratio. |
| interpolazione_query.csv (ZIP) | time_s in s | Twelve new instants from 0.5 ms to 11.5 ms, interleaved between the RC rows. |
In GX-TXT open Acquisition → Generic CSV dataset import. Press Add file, choose the file and assign as ID the name without .csv. Use the table.generic contract. In Variables leave the columns enabled and set the units in the order shown in the table. The roles used in the test are time, voltage, frequency, real and imaginary according to the column. Go back to Acquisition and confirm the import. Check the actual IDs in the Dataset browser.
Repeat the RC reference and compare the measurements
- In Numeric → RC choose
rc_riferimento, press Discover rows / variables, set the first row to 0 and the count to 13. Usev0001for Publish X and t variable,v0002for Observed Y. Leave 1000 Ohm, 1e−6 F and 1 V with the initial formula. - Use Evaluate reference, then Compare observed. The report returns an RMSE of 0.000695553 V and an absolute maximum of about 0.001 V. With Statistics and
array_reduce.rms, the RMS of the reference is about 0.91956 V. - Press Publish reference Dataset. In Jobs → Published waveform Dataset choose the measured Dataset and use Waveforms → Discover variables, X
v0001, Yv0002and Bind waveform. The last point is close to 1 V. To overlay the reference, selectrc_teoricoin Jobs, imported with the sametimerole. Use Discover to select its X and Y, then View → Traces → Refresh list, Panel IDmainand Add trace. The published Numeric Dataset can also be opened on its own in Waveforms to inspect it separately.
Repeat the AC projection
In Numeric → AC choose ac_riferimento, use Discover AC variables and assign v0001, v0002 and v0003 to Frequency X, Real Variable and Imaginary Variable. Evaluate the 11 rows starting from 0. Repeat Evaluate projection with magnitude, phase_rad and phase_deg. To reproduce the report in the figure, use phase_deg, then Statistics and Publish projection. The extremes in degrees are about −89.09 and −3.60. For the phase curve the logarithmic scale can be useful on X only, because Y has negative values.

Repeat the interpolation
In Numeric → Interpolate choose rc_riferimento as Source Dataset and interpolazione_query as Query Dataset. Press Discover both grids. Set Source X and Source Y to v0001 and v0002, Query X to v0001. In both groups use first row 0 and select all 13 source rows and 12 grid rows. Press Evaluate interpolation with linear, then repeat with pchip and leave Extrapolation on error. Use Statistics to check 12 observations. Publish interpolation creates a 12-row Dataset in seconds and volts, usable in Waveforms.