wecopttool.core.time
- time(f1, nfreq, nsubsteps=1)[source]
Assemble the time vector with
nsubstepssubdivisions.Returns the 1D time vector, in seconds, starting at time
0, and not containing the end timetf=1/f1. The time vector has length(2*nfreq)*nsubsteps. The timestep length isdt = dt_default * 1/nsubsteps, wheredt_default=tf/(2*nfreq).