Sirivennela commited on
Commit
9248d1d
·
verified ·
1 Parent(s): 4f1c8c2

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -4,7 +4,7 @@ def process_data(poles_data):
4
  processed_data = []
5
  for pole in poles_data:
6
  # Example: Add a field for the total energy generated based on Solar and Wind outputs
7
- total_energy = pole['Solar_Output__c'] + pole['Wind_Output__c']
8
  pole['Total_Energy'] = total_energy
9
  processed_data.append(pole)
10
 
 
4
  processed_data = []
5
  for pole in poles_data:
6
  # Example: Add a field for the total energy generated based on Solar and Wind outputs
7
+ total_energy = pole['Solar_Generation__c'] + pole['Wind_Generation__c']
8
  pole['Total_Energy'] = total_energy
9
  processed_data.append(pole)
10