RobotStudio event

Set Up Simulation and Instructionparameters from C# Add-In

Hi there, I would like to use the Simulator from an add-in. When simulating the movement of a robot along a trajectory I would like to get the total required motor power for further calculations in the add-in. Beside the motorpower I would like to get the total time consumed for the robot movement along the given trajectory. I tried to get the information from the documentation but did not find anything helpful. Can anyone suggest where I need to look in the documentation or tell my what classes and methods from the api necessarily be used for the task? All kinds of help appreciated! Best regards Armin