circuit-json-to-spice 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,999 @@
1
+ [
2
+ {
3
+ "type": "source_project_metadata",
4
+ "source_project_metadata_id": "source_project_metadata_0",
5
+ "software_used_string": "@tscircuit/core@0.0.891"
6
+ },
7
+ {
8
+ "type": "source_group",
9
+ "source_group_id": "source_group_0",
10
+ "is_subcircuit": true,
11
+ "was_automatically_named": true,
12
+ "subcircuit_id": "subcircuit_source_group_0"
13
+ },
14
+ {
15
+ "type": "source_port",
16
+ "source_port_id": "source_port_0",
17
+ "name": "pin1",
18
+ "pin_number": 1,
19
+ "port_hints": ["pin1", "terminal1", "1"],
20
+ "source_component_id": "source_component_0",
21
+ "subcircuit_id": "subcircuit_source_group_0",
22
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net0"
23
+ },
24
+ {
25
+ "type": "source_port",
26
+ "source_port_id": "source_port_1",
27
+ "name": "pin2",
28
+ "pin_number": 2,
29
+ "port_hints": ["pin2", "terminal2", "2"],
30
+ "source_component_id": "source_component_0",
31
+ "subcircuit_id": "subcircuit_source_group_0",
32
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net4"
33
+ },
34
+ {
35
+ "type": "source_component",
36
+ "source_component_id": "source_component_0",
37
+ "ftype": "simple_voltage_source",
38
+ "name": "V1",
39
+ "voltage": 5,
40
+ "are_pins_interchangeable": true,
41
+ "source_group_id": "source_group_0"
42
+ },
43
+ {
44
+ "type": "source_port",
45
+ "source_port_id": "source_port_2",
46
+ "name": "pin1",
47
+ "pin_number": 1,
48
+ "port_hints": ["pin1", "anode", "pos", "left", "1"],
49
+ "source_component_id": "source_component_1",
50
+ "subcircuit_id": "subcircuit_source_group_0",
51
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net0"
52
+ },
53
+ {
54
+ "type": "source_port",
55
+ "source_port_id": "source_port_3",
56
+ "name": "pin2",
57
+ "pin_number": 2,
58
+ "port_hints": ["pin2", "cathode", "neg", "right", "2"],
59
+ "source_component_id": "source_component_1",
60
+ "subcircuit_id": "subcircuit_source_group_0",
61
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net1"
62
+ },
63
+ {
64
+ "type": "source_component",
65
+ "source_component_id": "source_component_1",
66
+ "ftype": "simple_resistor",
67
+ "name": "R_base",
68
+ "resistance": 10000,
69
+ "display_resistance": "10kΩ",
70
+ "are_pins_interchangeable": true,
71
+ "source_group_id": "source_group_0"
72
+ },
73
+ {
74
+ "type": "source_port",
75
+ "source_port_id": "source_port_4",
76
+ "name": "pin1",
77
+ "pin_number": 1,
78
+ "port_hints": ["pin1", "1"],
79
+ "source_component_id": "source_component_2",
80
+ "subcircuit_id": "subcircuit_source_group_0",
81
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net1"
82
+ },
83
+ {
84
+ "type": "source_port",
85
+ "source_port_id": "source_port_5",
86
+ "name": "pin2",
87
+ "pin_number": 2,
88
+ "port_hints": ["pin2", "2"],
89
+ "source_component_id": "source_component_2",
90
+ "subcircuit_id": "subcircuit_source_group_0",
91
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net2"
92
+ },
93
+ {
94
+ "type": "source_component",
95
+ "source_component_id": "source_component_2",
96
+ "ftype": "simple_switch",
97
+ "name": "SW1",
98
+ "are_pins_interchangeable": true,
99
+ "source_group_id": "source_group_0"
100
+ },
101
+ {
102
+ "type": "source_port",
103
+ "source_port_id": "source_port_6",
104
+ "name": "pin1",
105
+ "pin_number": 1,
106
+ "port_hints": ["pin1", "collector", "c", "1"],
107
+ "source_component_id": "source_component_3",
108
+ "subcircuit_id": "subcircuit_source_group_0",
109
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net3"
110
+ },
111
+ {
112
+ "type": "source_port",
113
+ "source_port_id": "source_port_7",
114
+ "name": "pin2",
115
+ "pin_number": 2,
116
+ "port_hints": ["pin2", "emitter", "e", "2"],
117
+ "source_component_id": "source_component_3",
118
+ "subcircuit_id": "subcircuit_source_group_0",
119
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net4"
120
+ },
121
+ {
122
+ "type": "source_port",
123
+ "source_port_id": "source_port_8",
124
+ "name": "pin3",
125
+ "pin_number": 3,
126
+ "port_hints": ["pin3", "base", "b", "3"],
127
+ "source_component_id": "source_component_3",
128
+ "subcircuit_id": "subcircuit_source_group_0",
129
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net2"
130
+ },
131
+ {
132
+ "type": "source_component",
133
+ "source_component_id": "source_component_3",
134
+ "ftype": "simple_transistor",
135
+ "name": "Q1",
136
+ "transistor_type": "npn",
137
+ "source_group_id": "source_group_0"
138
+ },
139
+ {
140
+ "type": "source_port",
141
+ "source_port_id": "source_port_9",
142
+ "name": "pin1",
143
+ "pin_number": 1,
144
+ "port_hints": ["pin1", "anode", "pos", "left", "1"],
145
+ "source_component_id": "source_component_4",
146
+ "subcircuit_id": "subcircuit_source_group_0",
147
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net0"
148
+ },
149
+ {
150
+ "type": "source_port",
151
+ "source_port_id": "source_port_10",
152
+ "name": "pin2",
153
+ "pin_number": 2,
154
+ "port_hints": ["pin2", "cathode", "neg", "right", "2"],
155
+ "source_component_id": "source_component_4",
156
+ "subcircuit_id": "subcircuit_source_group_0",
157
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net3"
158
+ },
159
+ {
160
+ "type": "source_component",
161
+ "source_component_id": "source_component_4",
162
+ "ftype": "simple_resistor",
163
+ "name": "R_collector",
164
+ "resistance": 300,
165
+ "display_resistance": "300Ω",
166
+ "are_pins_interchangeable": true,
167
+ "source_group_id": "source_group_0"
168
+ },
169
+ {
170
+ "type": "source_board",
171
+ "source_board_id": "source_board_0",
172
+ "source_group_id": "source_group_0"
173
+ },
174
+ {
175
+ "type": "source_trace",
176
+ "source_trace_id": "source_trace_0",
177
+ "connected_source_port_ids": ["source_port_0", "source_port_2"],
178
+ "connected_source_net_ids": [],
179
+ "subcircuit_id": "subcircuit_source_group_0",
180
+ "display_name": ".V1 > .pin1 to .R_base > .pin1",
181
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net0"
182
+ },
183
+ {
184
+ "type": "source_trace",
185
+ "source_trace_id": "source_trace_1",
186
+ "connected_source_port_ids": ["source_port_3", "source_port_4"],
187
+ "connected_source_net_ids": [],
188
+ "subcircuit_id": "subcircuit_source_group_0",
189
+ "display_name": ".R_base > .pin2 to .SW1 > .pin1",
190
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net1"
191
+ },
192
+ {
193
+ "type": "source_trace",
194
+ "source_trace_id": "source_trace_2",
195
+ "connected_source_port_ids": ["source_port_5", "source_port_8"],
196
+ "connected_source_net_ids": [],
197
+ "subcircuit_id": "subcircuit_source_group_0",
198
+ "display_name": ".SW1 > .pin2 to .Q1 > .base",
199
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net2"
200
+ },
201
+ {
202
+ "type": "source_trace",
203
+ "source_trace_id": "source_trace_3",
204
+ "connected_source_port_ids": ["source_port_0", "source_port_9"],
205
+ "connected_source_net_ids": [],
206
+ "subcircuit_id": "subcircuit_source_group_0",
207
+ "display_name": ".V1 > .pin1 to .R_collector > .pin1",
208
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net0"
209
+ },
210
+ {
211
+ "type": "source_trace",
212
+ "source_trace_id": "source_trace_4",
213
+ "connected_source_port_ids": ["source_port_10", "source_port_6"],
214
+ "connected_source_net_ids": [],
215
+ "subcircuit_id": "subcircuit_source_group_0",
216
+ "display_name": ".R_collector > .pin2 to .Q1 > .collector",
217
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net3"
218
+ },
219
+ {
220
+ "type": "source_trace",
221
+ "source_trace_id": "source_trace_5",
222
+ "connected_source_port_ids": ["source_port_7", "source_port_1"],
223
+ "connected_source_net_ids": [],
224
+ "subcircuit_id": "subcircuit_source_group_0",
225
+ "display_name": ".Q1 > .emitter to .V1 > .pin2",
226
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net4"
227
+ },
228
+ {
229
+ "type": "simulation_voltage_source",
230
+ "simulation_voltage_source_id": "simulation_voltage_source_0",
231
+ "is_dc_source": false,
232
+ "terminal1_source_port_id": "source_port_0",
233
+ "terminal2_source_port_id": "source_port_1",
234
+ "voltage": 5
235
+ },
236
+ {
237
+ "type": "simulation_switch",
238
+ "simulation_switch_id": "simulation_switch_0",
239
+ "source_component_id": "source_component_2",
240
+ "switching_frequency": 1000
241
+ },
242
+ {
243
+ "type": "simulation_voltage_probe",
244
+ "simulation_voltage_probe_id": "simulation_voltage_probe_0",
245
+ "name": "VP_BASE",
246
+ "signal_input_source_port_id": "source_port_3",
247
+ "subcircuit_id": "subcircuit_source_group_0",
248
+ "color": "rgb(132, 0, 0)"
249
+ },
250
+ {
251
+ "type": "simulation_voltage_probe",
252
+ "simulation_voltage_probe_id": "simulation_voltage_probe_1",
253
+ "name": "VP_COLLECTOR",
254
+ "signal_input_source_port_id": "source_port_10",
255
+ "subcircuit_id": "subcircuit_source_group_0",
256
+ "color": "rgb(194, 194, 0)"
257
+ },
258
+ {
259
+ "type": "simulation_experiment",
260
+ "simulation_experiment_id": "simulation_experiment_0",
261
+ "name": "spice_transient_analysis",
262
+ "experiment_type": "spice_transient_analysis",
263
+ "end_time_ms": 4,
264
+ "time_per_step": 0.05
265
+ },
266
+ {
267
+ "type": "schematic_component",
268
+ "schematic_component_id": "schematic_component_0",
269
+ "center": {
270
+ "x": 0,
271
+ "y": 0
272
+ },
273
+ "size": {
274
+ "width": 1.08,
275
+ "height": 0.818910699999999
276
+ },
277
+ "source_component_id": "source_component_0",
278
+ "is_box_with_pins": true,
279
+ "symbol_name": "ac_voltmeter_right",
280
+ "schematic_group_id": "schematic_group_0"
281
+ },
282
+ {
283
+ "type": "schematic_component",
284
+ "schematic_component_id": "schematic_component_1",
285
+ "center": {
286
+ "x": 0,
287
+ "y": 2
288
+ },
289
+ "size": {
290
+ "width": 1.1,
291
+ "height": 0.388910699999999
292
+ },
293
+ "source_component_id": "source_component_1",
294
+ "is_box_with_pins": true,
295
+ "symbol_name": "boxresistor_right",
296
+ "symbol_display_value": "10kΩ",
297
+ "schematic_group_id": "schematic_group_0"
298
+ },
299
+ {
300
+ "type": "schematic_component",
301
+ "schematic_component_id": "schematic_component_2",
302
+ "center": {
303
+ "x": 1.5,
304
+ "y": 2
305
+ },
306
+ "size": {
307
+ "width": 0.76,
308
+ "height": 0.5
309
+ },
310
+ "source_component_id": "source_component_2",
311
+ "is_box_with_pins": true,
312
+ "symbol_name": "spst_switch_right",
313
+ "schematic_group_id": "schematic_group_0"
314
+ },
315
+ {
316
+ "type": "schematic_component",
317
+ "schematic_component_id": "schematic_component_3",
318
+ "center": {
319
+ "x": 2,
320
+ "y": 0.3
321
+ },
322
+ "size": {
323
+ "width": 1.1,
324
+ "height": 0.8300000000000001
325
+ },
326
+ "source_component_id": "source_component_3",
327
+ "is_box_with_pins": true,
328
+ "symbol_name": "npn_bipolar_transistor_left",
329
+ "schematic_group_id": "schematic_group_0"
330
+ },
331
+ {
332
+ "type": "schematic_component",
333
+ "schematic_component_id": "schematic_component_4",
334
+ "center": {
335
+ "x": 0,
336
+ "y": -2
337
+ },
338
+ "size": {
339
+ "width": 1.1,
340
+ "height": 0.388910699999999
341
+ },
342
+ "source_component_id": "source_component_4",
343
+ "is_box_with_pins": true,
344
+ "symbol_name": "boxresistor_right",
345
+ "symbol_display_value": "300Ω",
346
+ "schematic_group_id": "schematic_group_0"
347
+ },
348
+ {
349
+ "type": "schematic_group",
350
+ "schematic_group_id": "schematic_group_0",
351
+ "is_subcircuit": true,
352
+ "subcircuit_id": "subcircuit_source_group_0",
353
+ "name": "unnamed_board1",
354
+ "center": {
355
+ "x": 0,
356
+ "y": 0
357
+ },
358
+ "width": 0,
359
+ "height": 0,
360
+ "schematic_component_ids": [],
361
+ "source_group_id": "source_group_0"
362
+ },
363
+ {
364
+ "type": "schematic_port",
365
+ "schematic_port_id": "schematic_port_0",
366
+ "schematic_component_id": "schematic_component_0",
367
+ "center": {
368
+ "x": -0.54,
369
+ "y": -0.0050000000000000044
370
+ },
371
+ "source_port_id": "source_port_0",
372
+ "facing_direction": "left",
373
+ "distance_from_component_edge": 0.4,
374
+ "pin_number": 1,
375
+ "display_pin_label": "terminal1",
376
+ "is_connected": true
377
+ },
378
+ {
379
+ "type": "schematic_port",
380
+ "schematic_port_id": "schematic_port_1",
381
+ "schematic_component_id": "schematic_component_0",
382
+ "center": {
383
+ "x": 0.54,
384
+ "y": 0.0049999999999999975
385
+ },
386
+ "source_port_id": "source_port_1",
387
+ "facing_direction": "right",
388
+ "distance_from_component_edge": 0.4,
389
+ "pin_number": 2,
390
+ "display_pin_label": "terminal2",
391
+ "is_connected": true
392
+ },
393
+ {
394
+ "type": "schematic_port",
395
+ "schematic_port_id": "schematic_port_2",
396
+ "schematic_component_id": "schematic_component_1",
397
+ "center": {
398
+ "x": -0.55,
399
+ "y": 2
400
+ },
401
+ "source_port_id": "source_port_2",
402
+ "facing_direction": "left",
403
+ "distance_from_component_edge": 0.4,
404
+ "pin_number": 1,
405
+ "display_pin_label": "anode",
406
+ "is_connected": true
407
+ },
408
+ {
409
+ "type": "schematic_port",
410
+ "schematic_port_id": "schematic_port_3",
411
+ "schematic_component_id": "schematic_component_1",
412
+ "center": {
413
+ "x": 0.55,
414
+ "y": 2
415
+ },
416
+ "source_port_id": "source_port_3",
417
+ "facing_direction": "right",
418
+ "distance_from_component_edge": 0.4,
419
+ "pin_number": 2,
420
+ "display_pin_label": "cathode",
421
+ "is_connected": true
422
+ },
423
+ {
424
+ "type": "schematic_port",
425
+ "schematic_port_id": "schematic_port_4",
426
+ "schematic_component_id": "schematic_component_2",
427
+ "center": {
428
+ "x": 1.12,
429
+ "y": 2
430
+ },
431
+ "source_port_id": "source_port_4",
432
+ "facing_direction": "left",
433
+ "distance_from_component_edge": 0.4,
434
+ "pin_number": 1,
435
+ "is_connected": true
436
+ },
437
+ {
438
+ "type": "schematic_port",
439
+ "schematic_port_id": "schematic_port_5",
440
+ "schematic_component_id": "schematic_component_2",
441
+ "center": {
442
+ "x": 1.88,
443
+ "y": 2
444
+ },
445
+ "source_port_id": "source_port_5",
446
+ "facing_direction": "right",
447
+ "distance_from_component_edge": 0.4,
448
+ "pin_number": 2,
449
+ "is_connected": true
450
+ },
451
+ {
452
+ "type": "schematic_port",
453
+ "schematic_port_id": "schematic_port_6",
454
+ "schematic_component_id": "schematic_component_3",
455
+ "center": {
456
+ "x": 2.55,
457
+ "y": 0.010000000000000064
458
+ },
459
+ "source_port_id": "source_port_6",
460
+ "facing_direction": "right",
461
+ "distance_from_component_edge": 0.4,
462
+ "pin_number": 1,
463
+ "display_pin_label": "collector",
464
+ "is_connected": true
465
+ },
466
+ {
467
+ "type": "schematic_port",
468
+ "schematic_port_id": "schematic_port_7",
469
+ "schematic_component_id": "schematic_component_3",
470
+ "center": {
471
+ "x": 1.45,
472
+ "y": 0.009999999999999953
473
+ },
474
+ "source_port_id": "source_port_7",
475
+ "facing_direction": "left",
476
+ "distance_from_component_edge": 0.4,
477
+ "pin_number": 2,
478
+ "display_pin_label": "emitter",
479
+ "is_connected": true
480
+ },
481
+ {
482
+ "type": "schematic_port",
483
+ "schematic_port_id": "schematic_port_8",
484
+ "schematic_component_id": "schematic_component_3",
485
+ "center": {
486
+ "x": 2,
487
+ "y": 0.7
488
+ },
489
+ "source_port_id": "source_port_8",
490
+ "facing_direction": "up",
491
+ "distance_from_component_edge": 0.4,
492
+ "pin_number": 3,
493
+ "display_pin_label": "base",
494
+ "is_connected": true
495
+ },
496
+ {
497
+ "type": "schematic_port",
498
+ "schematic_port_id": "schematic_port_9",
499
+ "schematic_component_id": "schematic_component_4",
500
+ "center": {
501
+ "x": -0.55,
502
+ "y": -1.9999999999999998
503
+ },
504
+ "source_port_id": "source_port_9",
505
+ "facing_direction": "left",
506
+ "distance_from_component_edge": 0.4,
507
+ "pin_number": 1,
508
+ "display_pin_label": "anode",
509
+ "is_connected": true
510
+ },
511
+ {
512
+ "type": "schematic_port",
513
+ "schematic_port_id": "schematic_port_10",
514
+ "schematic_component_id": "schematic_component_4",
515
+ "center": {
516
+ "x": 0.55,
517
+ "y": -1.9999999999999998
518
+ },
519
+ "source_port_id": "source_port_10",
520
+ "facing_direction": "right",
521
+ "distance_from_component_edge": 0.4,
522
+ "pin_number": 2,
523
+ "display_pin_label": "cathode",
524
+ "is_connected": true
525
+ },
526
+ {
527
+ "type": "schematic_trace",
528
+ "schematic_trace_id": "schematic_trace_0",
529
+ "source_trace_id": "solver_V1.1-R_base.1",
530
+ "edges": [
531
+ {
532
+ "from": {
533
+ "x": -0.54,
534
+ "y": -0.0050000000000000044
535
+ },
536
+ "to": {
537
+ "x": -0.75,
538
+ "y": -0.0050000000000000044
539
+ }
540
+ },
541
+ {
542
+ "from": {
543
+ "x": -0.75,
544
+ "y": -0.0050000000000000044
545
+ },
546
+ "to": {
547
+ "x": -0.75,
548
+ "y": 2
549
+ }
550
+ },
551
+ {
552
+ "from": {
553
+ "x": -0.75,
554
+ "y": 2
555
+ },
556
+ "to": {
557
+ "x": -0.55,
558
+ "y": 2
559
+ }
560
+ }
561
+ ],
562
+ "junctions": [
563
+ {
564
+ "x": -0.75,
565
+ "y": -0.0050000000000000044
566
+ }
567
+ ],
568
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net0"
569
+ },
570
+ {
571
+ "type": "schematic_trace",
572
+ "schematic_trace_id": "schematic_trace_1",
573
+ "source_trace_id": "solver_R_collector.1-V1.1",
574
+ "edges": [
575
+ {
576
+ "from": {
577
+ "x": -0.55,
578
+ "y": -1.9999999999999998
579
+ },
580
+ "to": {
581
+ "x": -0.75,
582
+ "y": -1.9999999999999998
583
+ }
584
+ },
585
+ {
586
+ "from": {
587
+ "x": -0.75,
588
+ "y": -1.9999999999999998
589
+ },
590
+ "to": {
591
+ "x": -0.75,
592
+ "y": -0.0050000000000000044
593
+ }
594
+ },
595
+ {
596
+ "from": {
597
+ "x": -0.75,
598
+ "y": -0.0050000000000000044
599
+ },
600
+ "to": {
601
+ "x": -0.54,
602
+ "y": -0.0050000000000000044
603
+ }
604
+ }
605
+ ],
606
+ "junctions": [
607
+ {
608
+ "x": -0.75,
609
+ "y": -0.0050000000000000044
610
+ }
611
+ ],
612
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net0"
613
+ },
614
+ {
615
+ "type": "schematic_trace",
616
+ "schematic_trace_id": "schematic_trace_2",
617
+ "source_trace_id": "solver_R_base.2-SW1.1",
618
+ "edges": [
619
+ {
620
+ "from": {
621
+ "x": 0.55,
622
+ "y": 2
623
+ },
624
+ "to": {
625
+ "x": 1.12,
626
+ "y": 2
627
+ }
628
+ }
629
+ ],
630
+ "junctions": [],
631
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net1"
632
+ },
633
+ {
634
+ "type": "schematic_trace",
635
+ "schematic_trace_id": "schematic_trace_3",
636
+ "source_trace_id": "solver_SW1.2-Q1.3",
637
+ "edges": [
638
+ {
639
+ "from": {
640
+ "x": 1.88,
641
+ "y": 2
642
+ },
643
+ "to": {
644
+ "x": 2,
645
+ "y": 2
646
+ }
647
+ },
648
+ {
649
+ "from": {
650
+ "x": 2,
651
+ "y": 2
652
+ },
653
+ "to": {
654
+ "x": 2,
655
+ "y": 0.7150000000000001
656
+ }
657
+ }
658
+ ],
659
+ "junctions": [],
660
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net2"
661
+ },
662
+ {
663
+ "type": "schematic_trace",
664
+ "schematic_trace_id": "schematic_trace_4",
665
+ "source_trace_id": "solver_R_collector.2-Q1.1",
666
+ "edges": [
667
+ {
668
+ "from": {
669
+ "x": 0.55,
670
+ "y": -1.9999999999999998
671
+ },
672
+ "to": {
673
+ "x": 2.75,
674
+ "y": -1.9999999999999998
675
+ }
676
+ },
677
+ {
678
+ "from": {
679
+ "x": 2.75,
680
+ "y": -1.9999999999999998
681
+ },
682
+ "to": {
683
+ "x": 2.75,
684
+ "y": 0.010000000000000064
685
+ }
686
+ },
687
+ {
688
+ "from": {
689
+ "x": 2.75,
690
+ "y": 0.010000000000000064
691
+ },
692
+ "to": {
693
+ "x": 2.55,
694
+ "y": 0.010000000000000064
695
+ }
696
+ }
697
+ ],
698
+ "junctions": [],
699
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net3"
700
+ },
701
+ {
702
+ "type": "schematic_trace",
703
+ "schematic_trace_id": "schematic_trace_5",
704
+ "source_trace_id": "solver_Q1.2-V1.2",
705
+ "edges": [
706
+ {
707
+ "from": {
708
+ "x": 1.45,
709
+ "y": 0.009999999999999953
710
+ },
711
+ "to": {
712
+ "x": 0.54,
713
+ "y": 0.009999999999999953
714
+ }
715
+ },
716
+ {
717
+ "from": {
718
+ "x": 0.54,
719
+ "y": 0.009999999999999953
720
+ },
721
+ "to": {
722
+ "x": 0.54,
723
+ "y": 0.0049999999999999975
724
+ }
725
+ }
726
+ ],
727
+ "junctions": [],
728
+ "subcircuit_connectivity_map_key": "unnamedsubcircuit32_connectivity_net4"
729
+ },
730
+ {
731
+ "type": "schematic_voltage_probe",
732
+ "schematic_voltage_probe_id": "schematic_voltage_probe_0",
733
+ "name": "VP_BASE",
734
+ "position": {
735
+ "x": 0.55,
736
+ "y": 2
737
+ },
738
+ "schematic_trace_id": "schematic_trace_2",
739
+ "subcircuit_id": "subcircuit_source_group_0",
740
+ "color": "rgb(132, 0, 0)"
741
+ },
742
+ {
743
+ "type": "schematic_voltage_probe",
744
+ "schematic_voltage_probe_id": "schematic_voltage_probe_1",
745
+ "name": "VP_COLLECTOR",
746
+ "position": {
747
+ "x": 0.55,
748
+ "y": -1.9999999999999998
749
+ },
750
+ "schematic_trace_id": "schematic_trace_4",
751
+ "subcircuit_id": "subcircuit_source_group_0",
752
+ "color": "rgb(194, 194, 0)"
753
+ },
754
+ {
755
+ "type": "pcb_component",
756
+ "pcb_component_id": "pcb_component_0",
757
+ "center": {
758
+ "x": 0,
759
+ "y": 0
760
+ },
761
+ "width": 0,
762
+ "height": 0,
763
+ "layer": "top",
764
+ "rotation": 0,
765
+ "source_component_id": "source_component_1",
766
+ "subcircuit_id": "subcircuit_source_group_0",
767
+ "do_not_place": false,
768
+ "obstructs_within_bounds": true
769
+ },
770
+ {
771
+ "type": "pcb_missing_footprint_error",
772
+ "pcb_missing_footprint_error_id": "pcb_missing_footprint_error_0",
773
+ "message": "No footprint found for component: <resistor#3 name=\".R_base\" />",
774
+ "source_component_id": "source_component_1",
775
+ "error_type": "pcb_missing_footprint_error"
776
+ },
777
+ {
778
+ "type": "pcb_component",
779
+ "pcb_component_id": "pcb_component_1",
780
+ "center": {
781
+ "x": 0,
782
+ "y": 0
783
+ },
784
+ "width": 0,
785
+ "height": 0,
786
+ "layer": "top",
787
+ "rotation": 0,
788
+ "source_component_id": "source_component_2",
789
+ "subcircuit_id": "subcircuit_source_group_0",
790
+ "do_not_place": false,
791
+ "obstructs_within_bounds": true
792
+ },
793
+ {
794
+ "type": "pcb_missing_footprint_error",
795
+ "pcb_missing_footprint_error_id": "pcb_missing_footprint_error_1",
796
+ "message": "No footprint found for component: <switch#6 name=\".SW1\" />",
797
+ "source_component_id": "source_component_2",
798
+ "error_type": "pcb_missing_footprint_error"
799
+ },
800
+ {
801
+ "type": "pcb_component",
802
+ "pcb_component_id": "pcb_component_2",
803
+ "center": {
804
+ "x": 0,
805
+ "y": 0
806
+ },
807
+ "width": 4.2,
808
+ "height": 2.6639999999999997,
809
+ "layer": "top",
810
+ "rotation": 0,
811
+ "source_component_id": "source_component_3",
812
+ "subcircuit_id": "subcircuit_source_group_0",
813
+ "do_not_place": false,
814
+ "obstructs_within_bounds": true
815
+ },
816
+ {
817
+ "type": "pcb_component",
818
+ "pcb_component_id": "pcb_component_3",
819
+ "center": {
820
+ "x": 0,
821
+ "y": 0
822
+ },
823
+ "width": 0,
824
+ "height": 0,
825
+ "layer": "top",
826
+ "rotation": 0,
827
+ "source_component_id": "source_component_4",
828
+ "subcircuit_id": "subcircuit_source_group_0",
829
+ "do_not_place": false,
830
+ "obstructs_within_bounds": true
831
+ },
832
+ {
833
+ "type": "pcb_missing_footprint_error",
834
+ "pcb_missing_footprint_error_id": "pcb_missing_footprint_error_2",
835
+ "message": "No footprint found for component: <resistor#20 name=\".R_collector\" />",
836
+ "source_component_id": "source_component_4",
837
+ "error_type": "pcb_missing_footprint_error"
838
+ },
839
+ {
840
+ "type": "pcb_board",
841
+ "pcb_board_id": "pcb_board_0",
842
+ "center": {
843
+ "x": 0,
844
+ "y": 0
845
+ },
846
+ "thickness": 1.4,
847
+ "num_layers": 2,
848
+ "width": 8.2,
849
+ "height": 6.664,
850
+ "material": "fr4"
851
+ },
852
+ {
853
+ "type": "pcb_smtpad",
854
+ "pcb_smtpad_id": "pcb_smtpad_0",
855
+ "pcb_component_id": "pcb_component_2",
856
+ "pcb_port_id": "pcb_port_0",
857
+ "layer": "top",
858
+ "shape": "rect",
859
+ "width": 0.8,
860
+ "height": 0.764,
861
+ "port_hints": ["1"],
862
+ "is_covered_with_solder_mask": false,
863
+ "x": -1.7,
864
+ "y": 0,
865
+ "subcircuit_id": "subcircuit_source_group_0"
866
+ },
867
+ {
868
+ "type": "pcb_solder_paste",
869
+ "pcb_solder_paste_id": "pcb_solder_paste_0",
870
+ "layer": "top",
871
+ "shape": "rect",
872
+ "width": 0.5599999999999999,
873
+ "height": 0.5347999999999999,
874
+ "x": -1.7,
875
+ "y": 0,
876
+ "pcb_component_id": "pcb_component_2",
877
+ "pcb_smtpad_id": "pcb_smtpad_0",
878
+ "subcircuit_id": "subcircuit_source_group_0"
879
+ },
880
+ {
881
+ "type": "pcb_smtpad",
882
+ "pcb_smtpad_id": "pcb_smtpad_1",
883
+ "pcb_component_id": "pcb_component_2",
884
+ "pcb_port_id": "pcb_port_1",
885
+ "layer": "top",
886
+ "shape": "rect",
887
+ "width": 0.8,
888
+ "height": 0.764,
889
+ "port_hints": ["2"],
890
+ "is_covered_with_solder_mask": false,
891
+ "x": 1.7,
892
+ "y": -0.95,
893
+ "subcircuit_id": "subcircuit_source_group_0"
894
+ },
895
+ {
896
+ "type": "pcb_solder_paste",
897
+ "pcb_solder_paste_id": "pcb_solder_paste_1",
898
+ "layer": "top",
899
+ "shape": "rect",
900
+ "width": 0.5599999999999999,
901
+ "height": 0.5347999999999999,
902
+ "x": 1.7,
903
+ "y": -0.95,
904
+ "pcb_component_id": "pcb_component_2",
905
+ "pcb_smtpad_id": "pcb_smtpad_1",
906
+ "subcircuit_id": "subcircuit_source_group_0"
907
+ },
908
+ {
909
+ "type": "pcb_smtpad",
910
+ "pcb_smtpad_id": "pcb_smtpad_2",
911
+ "pcb_component_id": "pcb_component_2",
912
+ "pcb_port_id": "pcb_port_2",
913
+ "layer": "top",
914
+ "shape": "rect",
915
+ "width": 0.8,
916
+ "height": 0.764,
917
+ "port_hints": ["3"],
918
+ "is_covered_with_solder_mask": false,
919
+ "x": 1.7,
920
+ "y": 0.95,
921
+ "subcircuit_id": "subcircuit_source_group_0"
922
+ },
923
+ {
924
+ "type": "pcb_solder_paste",
925
+ "pcb_solder_paste_id": "pcb_solder_paste_2",
926
+ "layer": "top",
927
+ "shape": "rect",
928
+ "width": 0.5599999999999999,
929
+ "height": 0.5347999999999999,
930
+ "x": 1.7,
931
+ "y": 0.95,
932
+ "pcb_component_id": "pcb_component_2",
933
+ "pcb_smtpad_id": "pcb_smtpad_2",
934
+ "subcircuit_id": "subcircuit_source_group_0"
935
+ },
936
+ {
937
+ "type": "pcb_silkscreen_text",
938
+ "pcb_silkscreen_text_id": "pcb_silkscreen_text_0",
939
+ "anchor_alignment": "center",
940
+ "anchor_position": {
941
+ "x": 0,
942
+ "y": 2
943
+ },
944
+ "font": "tscircuit2024",
945
+ "font_size": 0.5,
946
+ "layer": "top",
947
+ "text": "Q1",
948
+ "ccw_rotation": 0,
949
+ "pcb_component_id": "pcb_component_2",
950
+ "subcircuit_id": "subcircuit_source_group_0"
951
+ },
952
+ {
953
+ "type": "pcb_port",
954
+ "pcb_port_id": "pcb_port_0",
955
+ "pcb_component_id": "pcb_component_2",
956
+ "layers": ["top"],
957
+ "subcircuit_id": "subcircuit_source_group_0",
958
+ "x": -1.7,
959
+ "y": 0,
960
+ "source_port_id": "source_port_6"
961
+ },
962
+ {
963
+ "type": "pcb_port",
964
+ "pcb_port_id": "pcb_port_1",
965
+ "pcb_component_id": "pcb_component_2",
966
+ "layers": ["top"],
967
+ "subcircuit_id": "subcircuit_source_group_0",
968
+ "x": 1.7,
969
+ "y": -0.95,
970
+ "source_port_id": "source_port_7"
971
+ },
972
+ {
973
+ "type": "pcb_port",
974
+ "pcb_port_id": "pcb_port_2",
975
+ "pcb_component_id": "pcb_component_2",
976
+ "layers": ["top"],
977
+ "subcircuit_id": "subcircuit_source_group_0",
978
+ "x": 1.7,
979
+ "y": 0.95,
980
+ "source_port_id": "source_port_8"
981
+ },
982
+ {
983
+ "type": "cad_component",
984
+ "cad_component_id": "cad_component_0",
985
+ "position": {
986
+ "x": 0,
987
+ "y": 0,
988
+ "z": 0.7
989
+ },
990
+ "rotation": {
991
+ "x": 0,
992
+ "y": 0,
993
+ "z": 0
994
+ },
995
+ "pcb_component_id": "pcb_component_2",
996
+ "source_component_id": "source_component_3",
997
+ "footprinter_string": "sot23"
998
+ }
999
+ ]