Avoid exceeding target power from energy distributor

As a eco mode, when the power to car is following the solar PV gen or the excess power to grid, there is a mode for avoid to exceedes the maximum power allowed by the local energy distributor ? ;( in my case is 4.5 kW .)
I tink this function can be very useful
There is not an application then do this via mqtt o RAPI command ?

Thanks,
Fabrizio