pandapipes
pandapipes copied to clipboard
Component-wise derivative calculation
With all the changes made on the dev_numba branch, we currently lost the possibility for a specific component to define its very own derivative calculation. If we would like to be able to restore the previous behavior in some cases, I would like to suggest the following:
- add an option to the pipeflow to use component-wise derivative calculation
- go through all components and use the implemented derivative calculation class method
- if not implemented, use fallback: the global function is applied to the respective component pit (only for branches)