NN ( with AC and generator)