Skip to content

Commit

Permalink
Add Tylor's suggested change
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph McKinsey committed Jun 24, 2024
1 parent 90f2e52 commit cd13b44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LocalFeeder/FeederSimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ def __init__(self, config: FeederConfig):

self.tap_setting = config.tap_setting

self._simulation_time_step = "15m"
if config.existing_feeder_file is None:
if config.existing_feeder_file is None or not os.path.exists(
config.existing_feeder_file
):
if self._use_smartds:
self._feeder_file = os.path.join("opendss", "Master.dss")
self.download_data("oedi-data-lake", update_loadshape_location=True)
Expand Down

0 comments on commit cd13b44

Please sign in to comment.