wip battery swap control
This commit is contained in:
		
							parent
							
								
									04cf0cdf29
								
							
						
					
					
						commit
						ee8d0125bc
					
				| @ -91,3 +91,9 @@ def update_cycle_SoC(bess_data, bess_soc_for_cycle, timestamps): | ||||
|             ], | ||||
|             axis=0, | ||||
|         ) | ||||
| 
 | ||||
| def arrange_swap(bess_data, c): | ||||
|     for unit in bess_data["units"]: | ||||
|         if unit["SoC"] < c["bess"]["buffer"]:    | ||||
|             # find for unassigned BESS unit with SOC at 100% | ||||
|                  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user