Skip to content

Commit

Permalink
close switch disconnectors in the end of dingo, #224
Browse files Browse the repository at this point in the history
  • Loading branch information
nesnoj committed Aug 29, 2017
1 parent 6a79d84 commit 41a0956
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ding0/core/__init__.py
Expand Up @@ -167,6 +167,10 @@ def run_ding0(self, conn, mv_grid_districts_no=None, debug=False):
STEP 12: Reinforce MV grid
MV grid is eventually reinforced persuant to results from step 11.
STEP 13: Close all switch disconnectors in MV grid
The rings are finally closed to hold a complete graph (if the SDs are open,
the edges adjacent to a SD will not be exported!)
"""
if debug:
start = time.time()
Expand Down Expand Up @@ -208,6 +212,9 @@ def run_ding0(self, conn, mv_grid_districts_no=None, debug=False):
# STEP 12: Reinforce MV grid
self.reinforce_grid()

# STEP 13: Close all switch disconnectors in MV grid
self.control_circuit_breakers(mode='close')

if debug:
logger.info('Elapsed time for {0} MV Grid Districts (seconds): {1}'.format(
str(len(mv_grid_districts_no)), time.time() - start))
Expand Down

0 comments on commit 41a0956

Please sign in to comment.