def METHOD_NAME(num: int, required_currents) -> Chargepoint:
    ev = Ev(0)
    cp = Chargepoint(num, None)
    ev.data.control_parameter.required_currents = required_currents
    cp.data.set.charging_ev_data = ev
    return cp