Skip to content

Commit

Permalink
Minor aesthetic edits
Browse files Browse the repository at this point in the history
  • Loading branch information
astronobri committed Apr 22, 2024
1 parent 23c7ad1 commit 87965fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions omf/models/derUtilityCost.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ def work(modelDir, inputDict):
with open(pJoin(__neoMetaModel__._omfDir,"static","testFiles","residential_REopt_results.json")) as f:
results = json.load(f)
print('Successfully read in REopt test file. \n')
# Assuming results is a list of dictionaries

out['PV'] = results['outputs']['PV']

Expand Down Expand Up @@ -251,7 +250,6 @@ def work(modelDir, inputDict):

vbat = 'Disabled' ## Temporary flag to disable vbat code
if vbat == 'Enabled':
print('hello &*************** \n')
vbatResults = vb.work(modelDir,inputDict)
with open(pJoin(modelDir, 'vbatResults.json'), 'w') as jsonFile:
json.dump(vbatResults, jsonFile)
Expand Down

0 comments on commit 87965fc

Please sign in to comment.