for(#iterations)
solve non linear solution
get new flux klinkages
solve LD and Lq
solve new Id and Iq
if (abs(Id_new - Id_old) < 0.01)
break
else
put in the new Id_new and Iq_new

That's not pseudo code. For the record, neither is this

Do my homework for me
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.