* Z:\home\khalils\Downloads\files\data\raw_asc\2437f5626c8d_TransitorioFinal.asc
* Generated by LTspice 26.0.1 for Windows.
* PARAMETROS
* Transitorio
* Monte Carlo
* .step param run 1 10 1
* .param Res1MC = mc(Res1, tolR)
* .param Res2MC = mc(Res2, tolR)
* .param Res3MC = mc(Res3, tolR)
* .param CapMC = mc(Cap, tolC)
* Resistencias
* Capacitor
* CONFIGURACION
* CARGA config = 1
* DESCARGA config = -1
R3 0 N005 {Res3}
V1 N001 0 10
V2 Vin 0 PULSE({-config} {config} 1u 1n 1n {Ton} {T})
R1 N002 N001 {Res1}
S1 N003 N002 Vin 0 SWITCH
L N003 N005 1m
R2 0 N004 {Res2}
C N003 N004 {Cap}
.param Ton = {D*T}
.param D = 1
.param T = {120u + ((1 - config)*540u)}
.model SWITCH SW (Ron = 1n)
.tran 0 {T} 0 {T/10000}
.param tolR 0.05
.param tolC 0.1
.param Res1=50
.param Res2=7
.param Res3=6
.param Cap = 100n
.param config=1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1076 680
WIRE -128 -144 -176 -144
WIRE -176 -112 -176 -144
WIRE -128 -112 -128 -144
WIRE -416 -64 -576 -64
WIRE -240 -64 -336 -64
WIRE -16 -64 -160 -64
WIRE 288 -64 -16 -64
WIRE 288 80 288 -64
WIRE -16 96 -16 -64
WIRE -1072 160 -1072 112
WIRE -576 176 -576 -64
WIRE -1072 288 -1072 240
WIRE -16 304 -16 160
WIRE 288 320 288 160
WIRE -576 480 -576 256
WIRE -16 480 -16 384
WIRE 288 480 288 400
RECTANGLE Normal 944 608 432 -176
RECTANGLE Normal -704 0 -1040 -272
SYMBOL sw -144 -64 R90
SYMATTR InstName S1
SYMATTR Value SWITCH
SYMBOL res -320 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {Res1}
SYMBOL res 0 400 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value {Res2}
SYMBOL res 304 416 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value {Res3}
SYMBOL ind 272 64 R0
SYMATTR InstName L
SYMATTR Value 1m
SYMBOL voltage -1072 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -48 196 Left 2
SYMATTR Value PULSE({-config} {config} 1u 1n 1n {Ton} {T})
SYMATTR InstName V2
SYMBOL cap -32 96 R0
SYMATTR InstName C
SYMATTR Value {Cap}
SYMBOL voltage -576 160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 10
FLAG -576 480 0
FLAG -16 480 0
FLAG 288 480 0
FLAG -1072 288 0
FLAG -1072 112 Vin
FLAG -224 -112 Vin
FLAG -128 -112 0
TEXT 608 -128 Left 2 ;PARAMETROS
TEXT 472 -72 Left 2 !.param Ton = {D*T}
TEXT 472 -40 Left 2 !.param D = 1
TEXT 472 -8 Left 2 !.param T = {120u + ((1 - config)*540u)}
TEXT -304 -216 Left 2 !.model SWITCH SW (Ron = 1n)
TEXT 472 496 Left 2 !.tran 0 {T} 0 {T/10000}
TEXT 472 464 Left 2 ;Transitorio
TEXT 472 536 Left 2 ;Monte Carlo
TEXT 472 568 Left 2 ;.step param run 1 10 1
TEXT 472 24 Left 2 !.param tolR 0.05
TEXT 472 56 Left 2 !.param tolC 0.1
TEXT 464 120 Left 2 !.param Res1=50
TEXT 464 160 Left 2 !.param Res2=7
TEXT 464 184 Left 2 !.param Res3=6
TEXT 464 216 Left 2 ;.param Res1MC = mc(Res1, tolR)
TEXT 464 248 Left 2 ;.param Res2MC = mc(Res2, tolR)
TEXT 464 280 Left 2 ;.param Res3MC = mc(Res3, tolR)
TEXT 464 352 Left 2 !.param Cap = 100n
TEXT 464 384 Left 2 ;.param CapMC = mc(Cap, tolC)
TEXT 464 88 Left 2 ;Resistencias
TEXT 472 320 Left 2 ;Capacitor
TEXT -984 -240 Left 2 ;CONFIGURACION
TEXT -992 -192 Left 2 !.param config=1
TEXT -984 -136 Left 2 ;CARGA config = 1
TEXT -1000 -96 Left 2 ;DESCARGA config = -1