File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,8 @@ def _check_phase_switch_conditions(self,
277277 all_surplus = data .data .counter_all_data .get_evu_counter ().get_usable_surplus (feed_in_yield )
278278 required_surplus = control_parameter .min_current * max_phases_ev * 230 - get_power
279279 unbalanced_load_limit_reached = limit .limiting_value == LimitingValue .UNBALANCED_LOAD
280- current_limit_reached = limit .limiting_value == LimitingValue .CURRENT
280+ current_limit_reached = (limit .limiting_value == LimitingValue .CURRENT or
281+ limit .limiting_value == LimitingValue .CURRENT .value )
281282 condition_1_to_3 = ((((get_medium_charging_current (get_currents ) > max_current_range or current_limit_reached ) and
282283 all_surplus > required_surplus ) or unbalanced_load_limit_reached ) and
283284 phases_in_use == 1 )
You can’t perform that action at this time.
0 commit comments