-
Notifications
You must be signed in to change notification settings - Fork 19
How to set up allowed maximum bus number
To improve bus retrieving performance, the allowed maximum bus number must be set before loading buses. Any buses with bus number greater the allowed maximum bus number CANNOT be imported, and any devices connecting to thoses buses CANNOT be imported.
The default allowed maximum bus number is 1000.
You can get the allowed maximum bus number with codes like:
num_max = simulator.get_allowed_maximum_bus_number()
print(num_max)
If the default allowed maximum bus number is less than the bus number in your case, you can change the allowed maximum bus number with code like:
num_max = 10000
simulator.set_allowed_maximum_bus_number(num_max)
Cite STEPS via: Changgang Li, Yue Wu, Hengxu Zhang, Hua Ye, Yutian Liu and Yilu Liu, "STEPS: A Portable Numerical Simulation Toolkit for Electrical Power System Dynamic Studies," in IEEE Transactions on Power Systems, doi: 10.1109/TPWRS.2020.3045102.