e2nIEE / simbench

Electrical Power System Benchmark Dataset directly usable with pandapower (use the project website for other tools)

Home Page:https://simbench.de/en/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repeating problems within various operations

skortmann opened this issue · comments

C:\APPS\Anaconda3\envs\pandapower_env\lib\site-packages\simbench\converter\csv_pp_converter.py:390: FutureWarning: Index.or operating as a set operation is deprecated, in the future this will be a logical operation matching Series.or. Use index.union(other) instead
idx_bus = data["Measurement"].index.difference(idx_line | idx_trafo).astype(int)
C:\APPS\Anaconda3\envs\pandapower_env\lib\site-packages\simbench\converter\csv_pp_converter.py:468: FutureWarning: Index.or operating as a set operation is deprecated, in the future this will be a logical operation matching Series.or. Use index.union(other) instead
missing = csv_data["Line"].index.difference(idx_lines | idx_dclines)
C:\APPS\Anaconda3\envs\pandapower_env\lib\site-packages\simbench\converter\csv_pp_converter.py:472: FutureWarning: Index.and operating as a set operation is deprecated, in the future this will be a logical operation matching Series.and. Use index.intersection(other) instead
if len(idx_lines & idx_dclines):
C:\APPS\Anaconda3\envs\pandapower_env\lib\site-packages\simbench\converter\csv_pp_converter.py:829: FutureWarning: Index.or operating as a set operation is deprecated, in the future this will be a logical operation matching Series.or. Use index.union(other) instead
columns=input_data[corr_str].columns | Type_col_except_std_type)

The FutureWarning you mentioned are not yet a problem to this repository. However, with the commit 646cc06 this issue should be solved (develop branch). It would be helpful If you checkout the development branch of simbench and check that with your installation.