-
Notifications
You must be signed in to change notification settings - Fork 19
Name2number conversion related APIs
Changgang Li edited this page Feb 8, 2021
·
1 revision
Format: bus_name2number(name, vbase=0.0)
Description: Converter bus name to bus number.
Args:
(1) name: bus name.
Rets:
(1) Bus number. 0 if bus does not exist.
Tips:
If two or more buses have the same bus name, only the first bus is returned.
Example: N/A
Format: bus_number2name(bus)
Description: Converter bus number to bus name.
Args:
(1) bus: bus number.
Rets:
(1) String of bus name. Empty string if bus does not exist.
Example: N/A
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.