W13.FINAL_BUILD · executable evidence report

Final SPICE simulation: what ran, what passed, and what remains unproved.

The approved final schematic/netlist pair remains the connectivity authority. A separate enhanced deck makes that system runnable by supplying explicit models, loads, stimuli, analysis commands, calibration, numerical assertions, and a reproducible receipt.

8 / 8 functional gates passedIdeal-tier function demonstrated · historical-device and hardware performance not claimed

Executive result

Yes, SPICE ran the final functional system.

Pinned ngspice 47 executed one combined transient campaign containing OSC1, the REG1 physical-regulator topology, the SUM1 load-current encoder, and the INT2 calibrated leaky-integrator twin. The simulator converged, emitted the requested waveforms, and the independent runner passed every declared numerical gate.

9.605 → 9.511 V
REG1 output, unloaded to loaded
94.110 mV
measured regulator load-step droop
0.501 ms
measured 63.2% regulator time constant
0.542 mV
REG1 versus INT2 RMS tracking error
3.245 mV
maximum transient tracking error
118 / 118
repository tests passing after integration

Authority boundary

Two related netlists, two different jobs.

Approved canonical projection

The exact SPICE projection matched to the approved concluding SVG. It preserves the canonical component/pin/net graph and symbolic unresolved fields. It is the topology and connectivity authority, but is not directly executable as a quantitative campaign.

generated/week13/w13-final_build-ideal.cir

SHA-256 B7D8FB273BDD9BC0E600FF013D4368A63E9ED1A9E7F87D9FB44A05BB45472268

Enhanced run-ready deck

A separate deck based on the accepted final topology. It replaces symbolic/non-executable interfaces with documented ideal-tier models and values, and adds stimulus, transient analysis, measurements, output vectors, calibration, and pass/fail grading.

simulations/week13/w13-final_build-functional.cir

SHA-256 ED4616FD6E3B40E800F776E32C97EFD0B971DA53C4FCFA3080292E125F73E754

Exact conclusion: the enhanced final-system deck was executed. The untouched canonical projection was not executed because it intentionally contains symbolic values and structural model placeholders.

Simulator provenance

ngspice 47, pinned and hashed.

Simulatorngspice-47, circuit-level simulation program
BuildCompiled with the KLU Direct Linear Solver; creation date reported by the executable: 11 August 2026
Executable usedC:\Users\simon\scoop\apps\ngspice\47\bin\ngspice_con.exe
Executable SHA-25622D5CAE2BD32B2E39157A8D27BF457122F68285B72A9EBEFDF41551B628233AB
Invocation modeNoninteractive batch mode, option -b
Dependency recordPinned dependency lock
C:\Users\simon\scoop\apps\ngspice\47\bin\ngspice_con.exe -b simulations\week13\w13-final_build-functional.cir

The requested nine-item completion

What was added to make the final topology demonstrable.

#EnhancementImplementation
1Runnable device interfacesProject-owned dominant-pole op-amp subcircuit, voltage-controlled switch, and generic NPN/zener/diode model cards.
2Explicit plant loading1 kΩ permanent load, 1 kΩ switched load, 47 µF output capacitance, 0.30 Ω ESR, and 100 Ω isolation.
3Regulator transientOSC1 square output controls the switched REG1 load in a 350 ms transient campaign.
4Droop and time-constant extractionWindowed unloaded/loaded averages and the first 63.212% crossing are calculated from saved waveform samples.
5Twin-component derivationThe runner derives R_TWIN_LEAK and R_TWIN_DRIVE, then checks configured values within 2%.
6Combined final runOSC1, REG1, SUM1, and INT2 coexist in one deck and one transient solution.
7Recorded outputsSquare, triangle, regulator output, and twin output vectors are written for independent post-processing.
8Numerical assertionsEight gates cover oscillator ranges, regulation, polarity, steady/transient tracking, time constant, and resistor calibration.
9Plot and receiptA deterministic SVG waveform plot and JSON receipt record measurements, hashes, simulator identity, and pass/fail state.

Model tier

How the op-amps and plant were represented.

Behavioral op-amp

OPAMP_LP contains a voltage-controlled differential-gain source, one RC dominant pole, and a smooth tanh output limiter near ±14.5 V. It does not reproduce an LM301A or the Q1–Q13 discrete amplifier.

EERR NRAW 0 INP INM {A0}
RDOM NRAW NPOLE 1k
CDOM NPOLE 0 {1/(2*pi*FP*1k)}
BOUT OUT 0 V={14.5*tanh(V(NPOLE)/14.5)}

REG1 error amplifier: A0=30, FP=10 kHz. SUM1 and INT2: A0=100,000, FP=10 kHz.

Other ideal-tier models

  • Generic NPN pass transistor: finite β, Early voltage, junction capacitances, and transit time.
  • Generic 10 V zener reference and generic diode cards.
  • Voltage-controlled load switch with 0.1 Ω on-resistance and 1 TΩ off-resistance.
  • OSC1 represented by behavioral square and triangle sources, not its complete Schmitt/integrator circuit.
  • ±15 V computing rails and an 18 V unregulated regulator input are explicit.

The current-to-voltage scale is stated unambiguously as S_VI = 100 V/A: one simulated volt represents 10 mA. This resolves the earlier dimensional ambiguity in the label I_SCALE.

Campaign method

Stimulus, numerical method, calibration, and grading.

Stimulus

OSC1 square: 0–5 V, 50 ms high, 100 ms period, beginning at 50 ms. OSC1 triangle: approximately ±5 V at 10 Hz.

Transient solution

tran 50u 350m with Gear integration, reltol=1e-5, abstol=1e-10, and vntol=1e-7.

Calibration

REG1 droop and 63.2% time are measured first. A 1 µF INT2 capacitor then gives derived leaky-twin resistors of 501.209 Ω and 5.326 kΩ.

The configured values—496.549 Ω and 5.276258 kΩ—came from the earlier calibration sample embedded in the deck. The rerun-derived values differ by less than 1%, inside the declared 2% gate.

Measured evidence

All declared functional gates passed.

GateAcceptance ruleObserved resultStatus
Oscillator squareLow ≤ 0.01 V; high 4.99–5.01 V0.000 V to 5.000 VPASS
Oscillator triangleMinimum ≤ −4.9 V; maximum ≥ +4.9 V−4.9998 V to +4.9974 VPASS
Regulated outputLoaded output 9–11 V; droop 50–200 mV9.6046 V unloaded; 9.5105 V loaded; 94.110 mV droopPASS
Droop polarityPhysical droop and twin response both positiveBoth positivePASS
Steady twin trackingMagnitude error ≤ 0.5 mV2.153 µVPASS
Transient twin trackingRMS ≤ 3 mV; peak ≤ 6 mV0.542 mV RMS; 3.245 mV peakPASS
Time-constant trackingDifference ≤ 0.1 msBoth sampled at approximately 0.5012 msPASS
Calibration resistorsConfigured versus derived error ≤ 2%Both within 1%PASS
OSC1 square and triangle waveforms above the nearly overlapping REG1 droop and INT2 analog-twin response
Top: OSC1 behavioral outputs. Bottom: REG1 load-step droop and INT2 analog twin. Click for the original SVG.

Interpretation discipline

What was demonstrated—and what was not.

Demonstrated

  • The enhanced final-system deck parses, converges, and completes under ngspice 47.
  • OSC1 supplies correctly ranged square and triangle functions.
  • The ideal-tier regulator produces the expected polarity and a finite, measurable load droop.
  • The simulation-derived twin values reproduce REG1’s first-order droop response.
  • OSC1, REG1, SUM1, and INT2 function together in one transient campaign.
  • The result is reproducible from a pinned executable, deck, runner, and hash-bearing receipt.

Not demonstrated

  • Transistor-level operation of the Q1–Q13 AMP1 or an LM301A macromodel.
  • Historical-device accuracy, exact package pin behavior, matching, leakage, or temperature dependence.
  • Input offset/bias, CMRR, PSRR, noise, common-mode range, slew rate, output-current limiting, or saturation recovery.
  • Real compensation stability margins, loop gain, phase margin, or capacitive-load boundary.
  • Monte Carlo tolerance, startup extremes, supply variation, fault behavior, or thermal performance.
  • Agreement with a constructed chassis. Hardware measurements remain the required final calibration and validation step.

Defensible claim: the final machine’s intended mathematical signal flow and regulator-twin function work in the declared ideal-tier model. This is not yet a prediction of physical hardware performance.

Reproducibility

Run the same simulation and inspect every artifact.

python simulations/week13/run_final_demo.py

The Python runner locates the pinned ngspice executable from the dependency lock, executes the deck, rejects simulator errors, parses the saved waveforms, calculates measurements, grades all gates, and regenerates the receipt and SVG plot.

Recorded artifact hashes
Functional deckED4616FD6E3B40E800F776E32C97EFD0B971DA53C4FCFA3080292E125F73E754
Waveform CSV generated during recorded run6BD74CF79955E08DA0741DDCBA22F04E2917DD506CA1EB980AE12E3851D285B2
ngspice log generated during recorded run37CF266CECEF49A5053F1B81C1806536A31793D6B52D78AACC69325F5C840D43
Results plot5F42D42570838CB41FAAAD93359E45B3EF57799AD75F20F069F023AC9F6CC92A
Runner source9EB4623A0EC60569485B0D571FFC824E87967B6A01E53D8E4A0F70F354A276A2