Skip to content

Commit f033dab

Browse files
committed
the proximity pilot cct.
1 parent 76d5c35 commit f033dab

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

src/main.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,26 @@ fn cp_net() -> Net<Volt> {
8484
}
8585
}
8686

87+
fn pp_net() -> Net<Volt> {
88+
Net {
89+
90+
title: "PP Circuit",
91+
92+
cct: |v: Volt| {
93+
let r1 = Ohm(300.0*k);
94+
let r2 = Ohm(200.0*k);
95+
96+
v + r2 | r1
97+
},
98+
99+
drive: {
100+
[Volt(0.0), Volt(2.0), Volt(5.0)]
101+
},
102+
103+
cap: Farad(100.0*n),
104+
}
105+
}
106+
87107
fn open_evse_cp_net() -> Net<Volt> {
88108
Net {
89109

@@ -125,5 +145,6 @@ fn main() {
125145
ct_net().describe();
126146
line_net().describe();
127147
cp_net().describe();
148+
pp_net().describe();
128149
open_evse_cp_net().describe();
129150
}

0 commit comments

Comments
 (0)