Skip to content

Commit

Permalink
Update resilientCommunity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidArmahJr committed Jun 20, 2024
1 parent ff3e01b commit 6b1c369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omf/models/resilientCommunity.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def getDownLineLoadsEquipment1(pathToOmd, equipmentList):
kvar = float(ob['kvar'])
kv = float(ob['kv'])

loadsDict[key]["base crit score"]= ((math.sqrt((kw * kw) + (kvar * kvar) ))/ (5)) * 4
loadsDict[key]["base crit score"]= round(((math.sqrt((kw * kw) + (kvar * kvar) ))/ (5)) * 4,2)

long = float(ob['longitude'])
lat = float(ob['latitude'])
Expand Down

0 comments on commit 6b1c369

Please sign in to comment.