Text this: Power converters and AC electrical drives with linear neural networks