---
# System prepended metadata

title: EC pj.04

---

<style>
* {
font-size: 12px;
}
</style>

EC pj.04
===

L06:P25
---

```
* p25

v1 a 0 dc 15
r1 b a 100
v2 c 0 dc 20
r2 b c 200
vir3 d 0 dc 0
r3 b d 50

.control
op
print v(b,a) v(a) i(v1)
print v(b,c) v(c) i(v2)
print v(b,d) i(vir3)
.endc
```

```
v(b,a) = -7.85714e+00    ; v(r1)
v(a) = 1.500000e+01      ; v(v1)
i(v1) = -7.85714e-02     ; i(r1)=i(v1)
v(b,c) = -1.28571e+01    ; v(r2)
v(c) = 2.000000e+01      ; v(v2)
i(v2) = -6.42857e-02     ; i(r2)=i(v2)
v(b,d) = 7.142857e+00    ; v(r3)
i(vir3) = 1.428571e-01   ; i(r3)
```

![](https://i.imgur.com/L8Skqom.png)

L06:P29
---

```
* p29

v1 a 0 dc 5
i1 c b dc 2
vi1 0 c dc 0
r1 b a 10
r2 b d 5
vir2 d 0 dc 0

.dc v1 5 5 5 i1 2 2 2
.print dc v(a) i(v1)
.print dc v(b) i(vi1)
.print dc v(b,a) i(v1)
.print dc v(b,d) i(vir2)
.end
```

```
                                     * p25
                                     DC transfer characteristic  Sun Apr 18 16:08:50  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(a)            v1#branch       
--------------------------------------------------------------------------------
0	5.000000e+00	5.000000e+00	3.333333e-01	

                                     * p25
                                     DC transfer characteristic  Sun Apr 18 16:08:50  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(b)            vi1#branch      
--------------------------------------------------------------------------------
0	5.000000e+00	8.333333e+00	2.000000e+00	

                                     * p25
                                     DC transfer characteristic  Sun Apr 18 16:08:50  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(b)-v(a)       v1#branch       
--------------------------------------------------------------------------------
0	5.000000e+00	3.333333e+00	3.333333e-01	

                                     * p25
                                     DC transfer characteristic  Sun Apr 18 16:08:50  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(b)-v(d)       vir2#branch     
--------------------------------------------------------------------------------
0	5.000000e+00	8.333333e+00	1.666667e+00	

```

![](https://i.imgur.com/sKlKRpG.png)

L06:P32
---

```
*

v1 a 0 dc 50

r1 a b1 10
vir1 b1 b dc 0

r2 b2 0 15
vir2 b b2 dc 0

r3 b3 c 20
vir3 b b3 dc 0

r4 c4 0 25
vir4 c c4 dc 0

r5 c d 30
v2 d 0 dc 100

.dc v1 50 50 50 v2 100 100 100
.print dc v(a) v(a,b1) v(b2) v(b3,c) v(c4,0) v(c,d) v(d)
.print dc i(v1) i(vir1) i(vir2) i(vir3) i(vir4) i(v2)
.end 
```

```
                                       *
                                       DC transfer characteristic  Sun Apr 18 16:24:16  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(a)            v(a)-v(b1)      v(b2)           
--------------------------------------------------------------------------------
0	5.000000e+01	5.000000e+01	1.766055e+01	3.233945e+01	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:24:16  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(b3)-v(c)      v(c4)           v(c)-v(d)       
--------------------------------------------------------------------------------
0	5.000000e+01	-7.79817e+00	4.013761e+01	-5.98624e+01	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:24:16  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(d)            
--------------------------------------------------------------------------------
0	5.000000e+01	1.000000e+02	

                                       *
                                       DC transfer characteristic  Sun Apr 18 16:24:16  2021
--------------------------------------------------------------------------------
Index   v-sweep         v1#branch       vir1#branch     vir2#branch     
--------------------------------------------------------------------------------
0	5.000000e+01	-1.76606e+00	1.766055e+00	2.155963e+00	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:24:16  2021
--------------------------------------------------------------------------------
Index   v-sweep         vir3#branch     vir4#branch     v2#branch       
--------------------------------------------------------------------------------
0	5.000000e+01	-3.89908e-01	1.605505e+00	-1.99541e+00	
```

![](https://i.imgur.com/meF1LWB.png)

L06:P36
---

```
*

v1 a 0 dc 50

r1 a b1 70
vir1 b1 b dc 0

r2 b c2 100
vir2 c2 c dc 0

r3 b d3 20
vir3 d3 d dc 0

r4 c e4 80
vir4 e4 e dc 0

r5 d e5 10
vir5 e5 e dc 0

r6 d f6 30
vir6 f6 f dc 0

r7 e g7 60
vir7 g7 g dc 0

r8 f8 0 40
vir8 f f8 dc 0

r9 g f9 90
vir9 f9 f dc 0

.dc v1 50 50 50
.print dc v(a) v(a,b) v(b,c) v(b,d) v(c,e) v(d,e) v(d,f) v(e,g) v(f,g) v(f,0)
.print dc i(v1) i(vir1) i(vir2) i(vir3) i(vir4) i(vir5) i(vir6) i(vir7) i(vir8) i(vir9)
.end 
```

```
                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(a)            v(a)-v(b)       v(b)-v(c)       
--------------------------------------------------------------------------------
0	5.000000e+01	5.000000e+01	2.286981e+01	3.365621e+00	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(b)-v(d)       v(c)-v(e)       v(d)-v(e)       
--------------------------------------------------------------------------------
0	5.000000e+01	5.861107e+00	2.692497e+00	1.970120e-01	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(d)-v(f)       v(e)-v(g)       v(f)-v(g)       
--------------------------------------------------------------------------------
0	5.000000e+01	8.200624e+00	3.201445e+00	-4.80217e+00	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         v(f)            
--------------------------------------------------------------------------------
0	5.000000e+01	1.306846e+01	

                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         v1#branch       vir1#branch     vir2#branch     
--------------------------------------------------------------------------------
0	5.000000e+01	-3.26712e-01	3.267115e-01	3.365621e-02	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         vir3#branch     vir4#branch     vir5#branch     
--------------------------------------------------------------------------------
0	5.000000e+01	2.930553e-01	3.365621e-02	1.970120e-02	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         vir6#branch     vir7#branch     vir8#branch     
--------------------------------------------------------------------------------
0	5.000000e+01	2.733541e-01	5.335741e-02	3.267115e-01	


                                       *
                                       DC transfer characteristic  Sun Apr 18 16:54:17  2021
--------------------------------------------------------------------------------
Index   v-sweep         vir9#branch     
--------------------------------------------------------------------------------
0	5.000000e+01	5.335741e-02	
```

![](https://i.imgur.com/TfQki8l.png)
