mzy2240 / ESA

Easy SimAuto (ESA): An easy-to-use Power System Analysis Automation Environment atop PowerWorld Simulator Automation Server (SimAuto)
https://mzy2240.github.io/ESA/
Apache License 2.0
42 stars 12 forks source link

Initialization for SolvePowerFlow() #113

Closed SaeedNsh closed 1 year ago

SaeedNsh commented 1 year ago

Dear Author,

Is there any option for changing the initialization of the solver's method in terms of the maximum number of iterations or other parameters? I need to decrease the maximum number of iterations or adjust the threshold.

Sincerely

mzy2240 commented 1 year ago

You can change the parameters with exactly the same procedure as changing LoadMW. The object name is "Sim_Solution_Options" and the field name is "MaxItr". Set pw_order = True if you received an Object not found warning.