Skip to content

Commit 670bf7e

Browse files
committed
better net naming
1 parent 871c13f commit 670bf7e

File tree

3 files changed

+11794
-590
lines changed

3 files changed

+11794
-590
lines changed

edg/parts/BuckBoostConverter_Custom.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def contents(self):
7676
self.Block(ForcedVoltageCurrentDraw(self.power_path.switch_in.current_draw)),
7777
self.buck_sw.pwr
7878
)
79+
self.l1 = self.connect(self.power_path.switch_in) # give the node a name
7980
(self.sw_in_force, ), _ = self.chain( # current draw used to size FETs, size for peak current
8081
self.buck_sw.out,
8182
self.Block(ForcedVoltageCurrentDraw(self.power_path.actual_inductor_current_peak)),
@@ -97,6 +98,7 @@ def contents(self):
9798
).intersect(Range.from_lower(0)))),
9899
self.pwr_out
99100
)
101+
self.l2 = self.connect(self.power_path.switch_out) # give the node a name
100102
(self.sw_out_force, ), _ = self.chain( # current draw used to size FETs, size for peak current
101103
self.power_path.switch_out,
102104
self.Block(VoltageSourceConnector(Range.exact(0),

0 commit comments

Comments
 (0)