Is it an equivalent of this function in rustpower ? https://pandapower.readthedocs.io/en/v2.14.9/timeseries/run_function.html