I’m doing some research on optimization and I want to output the time each value comes in at so I can see how long the algorithm has run for and at what time values are outputted at.
I’m currently using Karamba to output deflection and the data recorder to get all of the values into a list. I’ve tried to get the time from using time component with a timer however I can never get them to align.
I thought having each time the list length increases to output the time and data record that, but my python isn’t that good.
Id prefer having two separate lists, one for time and the other deflection, as long as the values align.