Open KS-HTK opened 5 days ago
maybe we should introduce a switch copy_unused_dataframes, which would simply copy such dataframes into all subnets, without touching them.
There already is the flag keep_everything_else
. @KS-HTK, you can improve the docstring to avoid that the next user is missing the existing functionality.
PS: please close the issue if it can be closed.
Bug report checklis
[X] Searched the issues page for similar reports
[X] Read the relevant sections of the documentation
[X] Browse the tutorials and tests for usefull code snippets and examples of use
[X] Reproduced the issue after updating with
pip install --upgrade pandapower
(orgit pull
)[X] Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath
Reproducible Example
Issue Description and Traceback
Any unknown DataFrame is droped by select_subnet. This is not a good behavior as one would expect that any unknown DataFrame is just copied to the resulting subnet.
Of course this could lead to invalid data being in the subnet but it is better to have data that is no longer valid (for example if it references a bus that is not part of the subnet) than loosing information all together. The Documentation should mention this behavior regardless of the chosen option.
Expected Behavior
I would expect the
example
DataFrame to be present in the selected subnet.Installed Versions
Label