How to import a voltage or current waveform?

MANATEE can carry electrical machine noise and vibration calculations based on user-defined voltage or current waveforms. This is especially useful when enforcing non sinusoidal currents coming from experiments or third party electromagnetic software. To import a time waveform of phase current (resp. phase to neutral voltage), one should respectively set the following MANATEE input variables are

Input.Simu.type_extsupply = 2; %current

or

Input.Simu.type_extsupply = 3;%voltage

The path of the time waveform data should be specified for instance as

Input.Simu.pathname_supply = 'C:/User/Data/voltage.txt';

The .txt ASCII file should be a [nt, qs+1] table with nt lines for each time step, a first column with time vector in seconds and the last columns for the qs phase values. The data files must be placed in a folder which is in your Matlab path (e.g. in your MachineData/MyMachines folder).

Previous