bugfix voltage at time t calc