circuit-json 0.0.433 → 0.0.435
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.
- package/README.md +26 -0
- package/dist/index.d.mts +564 -183
- package/dist/index.mjs +42 -216
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1110,6 +1110,11 @@ interface SourceSimpleVoltageSource extends SourceComponentBase {
|
|
|
1110
1110
|
wave_shape?: "sinewave" | "square" | "triangle" | "sawtooth"
|
|
1111
1111
|
phase?: number
|
|
1112
1112
|
duty_cycle?: number
|
|
1113
|
+
pulse_delay?: number // ms
|
|
1114
|
+
rise_time?: number // ms
|
|
1115
|
+
fall_time?: number // ms
|
|
1116
|
+
pulse_width?: number // ms
|
|
1117
|
+
period?: number // ms
|
|
1113
1118
|
}
|
|
1114
1119
|
```
|
|
1115
1120
|
|
|
@@ -3293,6 +3298,14 @@ interface SimulationExperiment {
|
|
|
3293
3298
|
time_per_step?: number // ms
|
|
3294
3299
|
start_time_ms?: number // ms
|
|
3295
3300
|
end_time_ms?: number // ms
|
|
3301
|
+
spice_options?: SpiceSimulationOptions
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
interface SpiceSimulationOptions {
|
|
3305
|
+
method?: "trap" | "gear"
|
|
3306
|
+
reltol?: number | string
|
|
3307
|
+
abstol?: number | string
|
|
3308
|
+
vntol?: number | string
|
|
3296
3309
|
}
|
|
3297
3310
|
```
|
|
3298
3311
|
|
|
@@ -3412,6 +3425,14 @@ interface SimulationVoltageProbe {
|
|
|
3412
3425
|
reference_input_source_net_id?: string
|
|
3413
3426
|
subcircuit_id?: string
|
|
3414
3427
|
color?: string
|
|
3428
|
+
display_options?: SimulationVoltageProbeDisplayOptions
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3431
|
+
interface SimulationVoltageProbeDisplayOptions {
|
|
3432
|
+
label?: string
|
|
3433
|
+
center?: number
|
|
3434
|
+
offset_divs?: number
|
|
3435
|
+
units_per_div?: number
|
|
3415
3436
|
}
|
|
3416
3437
|
```
|
|
3417
3438
|
|
|
@@ -3452,6 +3473,11 @@ interface SimulationAcVoltageSource {
|
|
|
3452
3473
|
wave_shape?: WaveShape
|
|
3453
3474
|
phase?: number
|
|
3454
3475
|
duty_cycle?: number
|
|
3476
|
+
pulse_delay?: number // ms
|
|
3477
|
+
rise_time?: number // ms
|
|
3478
|
+
fall_time?: number // ms
|
|
3479
|
+
pulse_width?: number // ms
|
|
3480
|
+
period?: number // ms
|
|
3455
3481
|
}
|
|
3456
3482
|
```
|
|
3457
3483
|
|