pandapipes 0.11.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (412) hide show
  1. pandapipes-0.11.0/.github/workflows/release.yml +103 -0
  2. pandapipes-0.11.0/.github/workflows/run_tests_develop.yml +185 -0
  3. pandapipes-0.11.0/.github/workflows/run_tests_master.yml +150 -0
  4. pandapipes-0.11.0/AUTHORS +28 -0
  5. pandapipes-0.11.0/CHANGELOG.rst +265 -0
  6. pandapipes-0.11.0/LICENSE +25 -0
  7. pandapipes-0.11.0/MANIFEST.in +3 -0
  8. pandapipes-0.11.0/PKG-INFO +167 -0
  9. pandapipes-0.11.0/README.rst +78 -0
  10. pandapipes-0.11.0/pyproject.toml +68 -0
  11. pandapipes-0.11.0/setup.cfg +8 -0
  12. pandapipes-0.11.0/setup.py +9 -0
  13. pandapipes-0.11.0/src/pandapipes/__init__.py +23 -0
  14. pandapipes-0.11.0/src/pandapipes/component_models/__init__.py +20 -0
  15. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/__init__.py +13 -0
  16. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/base_component.py +177 -0
  17. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/branch_models.py +97 -0
  18. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/branch_w_internals_models.py +240 -0
  19. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/branch_wo_internals_models.py +98 -0
  20. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/branch_wzerolength_models.py +75 -0
  21. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/circulation_pump.py +159 -0
  22. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/const_flow_models.py +106 -0
  23. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/node_element_models.py +55 -0
  24. pandapipes-0.11.0/src/pandapipes/component_models/abstract_models/node_models.py +70 -0
  25. pandapipes-0.11.0/src/pandapipes/component_models/circulation_pump_mass_component.py +64 -0
  26. pandapipes-0.11.0/src/pandapipes/component_models/circulation_pump_pressure_component.py +63 -0
  27. pandapipes-0.11.0/src/pandapipes/component_models/component_toolbox.py +227 -0
  28. pandapipes-0.11.0/src/pandapipes/component_models/compressor_component.py +94 -0
  29. pandapipes-0.11.0/src/pandapipes/component_models/ext_grid_component.py +140 -0
  30. pandapipes-0.11.0/src/pandapipes/component_models/flow_control_component.py +131 -0
  31. pandapipes-0.11.0/src/pandapipes/component_models/heat_consumer_component.py +276 -0
  32. pandapipes-0.11.0/src/pandapipes/component_models/heat_exchanger_component.py +114 -0
  33. pandapipes-0.11.0/src/pandapipes/component_models/junction_component.py +161 -0
  34. pandapipes-0.11.0/src/pandapipes/component_models/mass_storage_component.py +54 -0
  35. pandapipes-0.11.0/src/pandapipes/component_models/pipe_component.py +350 -0
  36. pandapipes-0.11.0/src/pandapipes/component_models/pressure_control_component.py +147 -0
  37. pandapipes-0.11.0/src/pandapipes/component_models/pump_component.py +221 -0
  38. pandapipes-0.11.0/src/pandapipes/component_models/sink_component.py +27 -0
  39. pandapipes-0.11.0/src/pandapipes/component_models/source_component.py +27 -0
  40. pandapipes-0.11.0/src/pandapipes/component_models/valve_component.py +101 -0
  41. pandapipes-0.11.0/src/pandapipes/constants.py +18 -0
  42. pandapipes-0.11.0/src/pandapipes/control/__init__.py +5 -0
  43. pandapipes-0.11.0/src/pandapipes/control/run_control.py +49 -0
  44. pandapipes-0.11.0/src/pandapipes/converter/stanet/__init__.py +6 -0
  45. pandapipes-0.11.0/src/pandapipes/converter/stanet/data_cleaning.py +129 -0
  46. pandapipes-0.11.0/src/pandapipes/converter/stanet/preparing_steps.py +462 -0
  47. pandapipes-0.11.0/src/pandapipes/converter/stanet/stanet2pandapipes.py +207 -0
  48. pandapipes-0.11.0/src/pandapipes/converter/stanet/table_creation.py +1263 -0
  49. pandapipes-0.11.0/src/pandapipes/converter/stanet/valve_pipe_component/__init__.py +7 -0
  50. pandapipes-0.11.0/src/pandapipes/converter/stanet/valve_pipe_component/create_valve_pipe.py +176 -0
  51. pandapipes-0.11.0/src/pandapipes/converter/stanet/valve_pipe_component/valve_pipe_component.py +123 -0
  52. pandapipes-0.11.0/src/pandapipes/converter/stanet/valve_pipe_component/valve_pipe_plotting.py +107 -0
  53. pandapipes-0.11.0/src/pandapipes/create.py +1999 -0
  54. pandapipes-0.11.0/src/pandapipes/idx_branch.py +52 -0
  55. pandapipes-0.11.0/src/pandapipes/idx_node.py +32 -0
  56. pandapipes-0.11.0/src/pandapipes/io/__init__.py +6 -0
  57. pandapipes-0.11.0/src/pandapipes/io/convert_format.py +75 -0
  58. pandapipes-0.11.0/src/pandapipes/io/file_io.py +162 -0
  59. pandapipes-0.11.0/src/pandapipes/io/io_utils.py +133 -0
  60. pandapipes-0.11.0/src/pandapipes/multinet/__init__.py +9 -0
  61. pandapipes-0.11.0/src/pandapipes/multinet/control/__init__.py +5 -0
  62. pandapipes-0.11.0/src/pandapipes/multinet/control/controller/__init__.py +5 -0
  63. pandapipes-0.11.0/src/pandapipes/multinet/control/controller/multinet_control.py +552 -0
  64. pandapipes-0.11.0/src/pandapipes/multinet/control/run_control_multinet.py +298 -0
  65. pandapipes-0.11.0/src/pandapipes/multinet/create_multinet.py +74 -0
  66. pandapipes-0.11.0/src/pandapipes/multinet/multinet.py +99 -0
  67. pandapipes-0.11.0/src/pandapipes/multinet/timeseries/__init__.py +5 -0
  68. pandapipes-0.11.0/src/pandapipes/multinet/timeseries/run_time_series_multinet.py +134 -0
  69. pandapipes-0.11.0/src/pandapipes/networks/__init__.py +7 -0
  70. pandapipes-0.11.0/src/pandapipes/networks/network_files/gas_net_schutterwald_1bar.json +1701 -0
  71. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/delta.json +1697 -0
  72. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/delta_2sinks.json +1697 -0
  73. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/heights.json +1697 -0
  74. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/one_pipe.json +1697 -0
  75. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/one_source.json +1716 -0
  76. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/section_variation.json +1716 -0
  77. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/t_cross.json +1697 -0
  78. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/two_pipes.json +1697 -0
  79. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/combined_networks/mixed_net.json +1714 -0
  80. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/combined_networks/versatility.json +1844 -0
  81. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/delta.json +1714 -0
  82. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/heights.json +1695 -0
  83. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/pumps.json +1724 -0
  84. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/two_valves.json +1716 -0
  85. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_1.json +1695 -0
  86. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_2.json +1695 -0
  87. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_3.json +1695 -0
  88. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/cross_3ext.json +1714 -0
  89. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/strand_net.json +1695 -0
  90. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/two_pipes.json +1695 -0
  91. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/two_pumps.json +1743 -0
  92. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/t_cross/t_cross.json +1695 -0
  93. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/t_cross/valves.json +1716 -0
  94. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/two_pressure_junctions/two_pipes.json +1695 -0
  95. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/combined_networks/mixed_net.json +1714 -0
  96. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/combined_networks/versatility.json +1844 -0
  97. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/delta.json +1714 -0
  98. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/heights.json +1695 -0
  99. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/one_valve_stanet.json +1716 -0
  100. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/pumps.json +1724 -0
  101. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/two_valves.json +1716 -0
  102. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_1.json +1695 -0
  103. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_2.json +1695 -0
  104. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_3.json +1695 -0
  105. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/cross_3ext.json +1714 -0
  106. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net.json +1695 -0
  107. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net_stanet_variation1.json +1695 -0
  108. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net_stanet_variation2.json +1695 -0
  109. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/two_pipes.json +1695 -0
  110. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/two_pumps.json +1743 -0
  111. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/t_cross/t_cross.json +1695 -0
  112. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/t_cross/valves.json +1716 -0
  113. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/two_pressure_junctions/one_pipe_stanet.json +1676 -0
  114. pandapipes-0.11.0/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/two_pressure_junctions/two_pipes.json +1695 -0
  115. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural1--0-no_sw.json +1694 -0
  116. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural1--0-sw.json +1714 -0
  117. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural2--0-no_sw.json +1694 -0
  118. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural2--0-sw.json +1714 -0
  119. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural3--0-no_sw.json +1694 -0
  120. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural3--0-sw.json +1714 -0
  121. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb4--0-no_sw.json +1694 -0
  122. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb4--0-sw.json +1714 -0
  123. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb5--0-no_sw.json +1694 -0
  124. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb5--0-sw.json +1714 -0
  125. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-urban6--0-no_sw.json +1694 -0
  126. pandapipes-0.11.0/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-urban6--0-sw.json +1714 -0
  127. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/parallel_N.json +1706 -0
  128. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/parallel_PC.json +1706 -0
  129. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/versatility_PC.json +1772 -0
  130. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/delta_PC.json +1726 -0
  131. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/pumps_N.json +1728 -0
  132. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/square_N.json +1706 -0
  133. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/square_PC.json +1706 -0
  134. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/two_valves_N.json +1730 -0
  135. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/two_valves_PC.json +1730 -0
  136. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_1_N.json +1706 -0
  137. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_1_PC.json +1706 -0
  138. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_2_N.json +1706 -0
  139. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_2_PC.json +1706 -0
  140. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/pump_N.json +1728 -0
  141. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/two_pipes_N.json +1706 -0
  142. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/two_pipes_PC.json +1706 -0
  143. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross1_N.json +1706 -0
  144. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross1_PC.json +1706 -0
  145. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross2_N.json +1726 -0
  146. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross2_PC.json +1726 -0
  147. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/two_pressure_junctions/H_net_N.json +1706 -0
  148. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/two_pressure_junctions/H_net_PC.json +1706 -0
  149. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/district_N.json +1705 -0
  150. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/district_PC.json +1705 -0
  151. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/versatility_N.json +1771 -0
  152. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/versatility_PC.json +1771 -0
  153. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/delta_N.json +1725 -0
  154. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/pumps_N.json +1727 -0
  155. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/two_valves_N.json +1729 -0
  156. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/two_valves_PC.json +1729 -0
  157. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_1_N.json +1705 -0
  158. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_1_PC.json +1705 -0
  159. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_2_N.json +1705 -0
  160. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_2_PC.json +1705 -0
  161. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_3_N.json +1705 -0
  162. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_3_PC.json +1705 -0
  163. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/cross_PC.json +1725 -0
  164. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/pump_N.json +1727 -0
  165. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/strand_net_N.json +1705 -0
  166. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/strand_net_PC.json +1705 -0
  167. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/two_pipes_N.json +1705 -0
  168. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/two_pipes_PC.json +1705 -0
  169. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/t_cross/t_cross_N.json +1705 -0
  170. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/t_cross/t_cross_PC.json +1705 -0
  171. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/two_pressure_junctions/two_pipes_N.json +1705 -0
  172. pandapipes-0.11.0/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/two_pressure_junctions/two_pipes_PC.json +1705 -0
  173. pandapipes-0.11.0/src/pandapipes/networks/nw_aux.py +43 -0
  174. pandapipes-0.11.0/src/pandapipes/networks/simple_gas_networks.py +271 -0
  175. pandapipes-0.11.0/src/pandapipes/networks/simple_heat_transfer_networks.py +119 -0
  176. pandapipes-0.11.0/src/pandapipes/networks/simple_water_networks.py +430 -0
  177. pandapipes-0.11.0/src/pandapipes/pandapipes_net.py +92 -0
  178. pandapipes-0.11.0/src/pandapipes/pf/__init__.py +8 -0
  179. pandapipes-0.11.0/src/pandapipes/pf/build_system_matrix.py +269 -0
  180. pandapipes-0.11.0/src/pandapipes/pf/derivative_calculation.py +257 -0
  181. pandapipes-0.11.0/src/pandapipes/pf/derivative_toolbox.py +177 -0
  182. pandapipes-0.11.0/src/pandapipes/pf/derivative_toolbox_numba.py +192 -0
  183. pandapipes-0.11.0/src/pandapipes/pf/internals_toolbox.py +203 -0
  184. pandapipes-0.11.0/src/pandapipes/pf/pipeflow_setup.py +789 -0
  185. pandapipes-0.11.0/src/pandapipes/pf/result_extraction.py +324 -0
  186. pandapipes-0.11.0/src/pandapipes/pipeflow.py +364 -0
  187. pandapipes-0.11.0/src/pandapipes/plotting/__init__.py +39 -0
  188. pandapipes-0.11.0/src/pandapipes/plotting/collections.py +718 -0
  189. pandapipes-0.11.0/src/pandapipes/plotting/generic_geodata.py +110 -0
  190. pandapipes-0.11.0/src/pandapipes/plotting/geo.py +64 -0
  191. pandapipes-0.11.0/src/pandapipes/plotting/patch_makers.py +332 -0
  192. pandapipes-0.11.0/src/pandapipes/plotting/pipeflow_results.py +128 -0
  193. pandapipes-0.11.0/src/pandapipes/plotting/plotting_toolbox.py +104 -0
  194. pandapipes-0.11.0/src/pandapipes/plotting/simple_plot.py +369 -0
  195. pandapipes-0.11.0/src/pandapipes/properties/__init__.py +5 -0
  196. pandapipes-0.11.0/src/pandapipes/properties/air/compressibility.txt +1 -0
  197. pandapipes-0.11.0/src/pandapipes/properties/air/density.txt +25 -0
  198. pandapipes-0.11.0/src/pandapipes/properties/air/der_compressibility.txt +1 -0
  199. pandapipes-0.11.0/src/pandapipes/properties/air/heat_capacity.txt +25 -0
  200. pandapipes-0.11.0/src/pandapipes/properties/air/molar_mass.txt +1 -0
  201. pandapipes-0.11.0/src/pandapipes/properties/air/viscosity.txt +25 -0
  202. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/compressibility.txt +3 -0
  203. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/density.txt +58 -0
  204. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/der_compressibility.txt +3 -0
  205. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/gas_composition.txt +10 -0
  206. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/heat_capacity.txt +58 -0
  207. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/higher_heating_value.txt +3 -0
  208. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/molar_mass.txt +2 -0
  209. pandapipes-0.11.0/src/pandapipes/properties/biomethane_pure/viscosity.txt +58 -0
  210. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/compressibility.txt +3 -0
  211. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/density.txt +58 -0
  212. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/der_compressibility.txt +3 -0
  213. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/gas_composition.txt +13 -0
  214. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/heat_capacity.txt +58 -0
  215. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/higher_heating_value.txt +3 -0
  216. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/molar_mass.txt +2 -0
  217. pandapipes-0.11.0/src/pandapipes/properties/biomethane_treated/viscosity.txt +58 -0
  218. pandapipes-0.11.0/src/pandapipes/properties/carbondioxide/density.txt +8 -0
  219. pandapipes-0.11.0/src/pandapipes/properties/carbondioxide/heat_capacity.txt +8 -0
  220. pandapipes-0.11.0/src/pandapipes/properties/carbondioxide/molar_mass.txt +1 -0
  221. pandapipes-0.11.0/src/pandapipes/properties/carbondioxide/viscosity.txt +8 -0
  222. pandapipes-0.11.0/src/pandapipes/properties/ethane/density.txt +8 -0
  223. pandapipes-0.11.0/src/pandapipes/properties/ethane/heat_capacity.txt +8 -0
  224. pandapipes-0.11.0/src/pandapipes/properties/ethane/molar_mass.txt +1 -0
  225. pandapipes-0.11.0/src/pandapipes/properties/ethane/viscosity.txt +8 -0
  226. pandapipes-0.11.0/src/pandapipes/properties/fluids.py +752 -0
  227. pandapipes-0.11.0/src/pandapipes/properties/hgas/compressibility.txt +2 -0
  228. pandapipes-0.11.0/src/pandapipes/properties/hgas/density.txt +9 -0
  229. pandapipes-0.11.0/src/pandapipes/properties/hgas/der_compressibility.txt +2 -0
  230. pandapipes-0.11.0/src/pandapipes/properties/hgas/heat_capacity.txt +9 -0
  231. pandapipes-0.11.0/src/pandapipes/properties/hgas/higher_heating_value.txt +2 -0
  232. pandapipes-0.11.0/src/pandapipes/properties/hgas/lower_heating_value.txt +2 -0
  233. pandapipes-0.11.0/src/pandapipes/properties/hgas/molar_mass.txt +2 -0
  234. pandapipes-0.11.0/src/pandapipes/properties/hgas/viscosity.txt +9 -0
  235. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/compressibility.txt +9 -0
  236. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/density.txt +60 -0
  237. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/der_compressibility.txt +11 -0
  238. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/heat_capacity.txt +60 -0
  239. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/higher_heating_value.txt +2 -0
  240. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/lower_heating_value.txt +2 -0
  241. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/molar_mass.txt +2 -0
  242. pandapipes-0.11.0/src/pandapipes/properties/hydrogen/viscosity.txt +60 -0
  243. pandapipes-0.11.0/src/pandapipes/properties/lgas/compressibility.txt +2 -0
  244. pandapipes-0.11.0/src/pandapipes/properties/lgas/density.txt +9 -0
  245. pandapipes-0.11.0/src/pandapipes/properties/lgas/der_compressibility.txt +2 -0
  246. pandapipes-0.11.0/src/pandapipes/properties/lgas/heat_capacity.txt +9 -0
  247. pandapipes-0.11.0/src/pandapipes/properties/lgas/higher_heating_value.txt +2 -0
  248. pandapipes-0.11.0/src/pandapipes/properties/lgas/lower_heating_value.txt +2 -0
  249. pandapipes-0.11.0/src/pandapipes/properties/lgas/molar_mass.txt +2 -0
  250. pandapipes-0.11.0/src/pandapipes/properties/lgas/viscosity.txt +9 -0
  251. pandapipes-0.11.0/src/pandapipes/properties/methane/compressibility.txt +2 -0
  252. pandapipes-0.11.0/src/pandapipes/properties/methane/density.txt +9 -0
  253. pandapipes-0.11.0/src/pandapipes/properties/methane/der_compressibility.txt +2 -0
  254. pandapipes-0.11.0/src/pandapipes/properties/methane/heat_capacity.txt +9 -0
  255. pandapipes-0.11.0/src/pandapipes/properties/methane/higher_heating_value.txt +2 -0
  256. pandapipes-0.11.0/src/pandapipes/properties/methane/lower_heating_value.txt +2 -0
  257. pandapipes-0.11.0/src/pandapipes/properties/methane/molar_mass.txt +2 -0
  258. pandapipes-0.11.0/src/pandapipes/properties/methane/viscosity.txt +9 -0
  259. pandapipes-0.11.0/src/pandapipes/properties/nitrogen/density.txt +60 -0
  260. pandapipes-0.11.0/src/pandapipes/properties/nitrogen/heat_capacity.txt +60 -0
  261. pandapipes-0.11.0/src/pandapipes/properties/nitrogen/molar_mass.txt +2 -0
  262. pandapipes-0.11.0/src/pandapipes/properties/nitrogen/viscosity.txt +60 -0
  263. pandapipes-0.11.0/src/pandapipes/properties/oxygen/density.txt +60 -0
  264. pandapipes-0.11.0/src/pandapipes/properties/oxygen/heat_capacity.txt +60 -0
  265. pandapipes-0.11.0/src/pandapipes/properties/oxygen/molar_mass.txt +2 -0
  266. pandapipes-0.11.0/src/pandapipes/properties/oxygen/viscosity.txt +60 -0
  267. pandapipes-0.11.0/src/pandapipes/properties/properties_toolbox.py +185 -0
  268. pandapipes-0.11.0/src/pandapipes/properties/water/compressibility.txt +1 -0
  269. pandapipes-0.11.0/src/pandapipes/properties/water/density.txt +20 -0
  270. pandapipes-0.11.0/src/pandapipes/properties/water/der_compressibility.txt +1 -0
  271. pandapipes-0.11.0/src/pandapipes/properties/water/heat_capacity.txt +11 -0
  272. pandapipes-0.11.0/src/pandapipes/properties/water/molar_mass.txt +1 -0
  273. pandapipes-0.11.0/src/pandapipes/properties/water/viscosity.txt +21 -0
  274. pandapipes-0.11.0/src/pandapipes/std_types/__init__.py +6 -0
  275. pandapipes-0.11.0/src/pandapipes/std_types/library/Pipe.csv +239 -0
  276. pandapipes-0.11.0/src/pandapipes/std_types/library/Pump/P1.csv +4 -0
  277. pandapipes-0.11.0/src/pandapipes/std_types/library/Pump/P2.csv +6 -0
  278. pandapipes-0.11.0/src/pandapipes/std_types/library/Pump/P3.csv +4 -0
  279. pandapipes-0.11.0/src/pandapipes/std_types/std_type_class.py +294 -0
  280. pandapipes-0.11.0/src/pandapipes/std_types/std_types.py +247 -0
  281. pandapipes-0.11.0/src/pandapipes/test/__init__.py +13 -0
  282. pandapipes-0.11.0/src/pandapipes/test/api/__init__.py +3 -0
  283. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.1.0.json +386 -0
  284. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.1.1.json +386 -0
  285. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.1.2.json +385 -0
  286. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.10.0_gas.json +458 -0
  287. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.10.0_water.json +520 -0
  288. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.11.0_gas.json +460 -0
  289. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.11.0_water.json +544 -0
  290. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.2.0.json +385 -0
  291. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.4.0.json +386 -0
  292. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.5.0.json +386 -0
  293. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.6.0.json +395 -0
  294. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.7.0.json +395 -0
  295. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.0_gas.json +412 -0
  296. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.0_water.json +466 -0
  297. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.1_gas.json +412 -0
  298. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.1_water.json +466 -0
  299. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.2_gas.json +412 -0
  300. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.2_water.json +466 -0
  301. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.3_gas.json +412 -0
  302. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.3_water.json +466 -0
  303. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.4_gas.json +412 -0
  304. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.4_water.json +466 -0
  305. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.5_gas.json +412 -0
  306. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.8.5_water.json +466 -0
  307. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.9.0_gas.json +458 -0
  308. pandapipes-0.11.0/src/pandapipes/test/api/old_versions/example_0.9.0_water.json +520 -0
  309. pandapipes-0.11.0/src/pandapipes/test/api/release_cycle/release_control_test_network.py +378 -0
  310. pandapipes-0.11.0/src/pandapipes/test/api/release_cycle/release_control_test_sink_profiles.csv +5 -0
  311. pandapipes-0.11.0/src/pandapipes/test/api/release_cycle/release_control_test_source_profiles.csv +5 -0
  312. pandapipes-0.11.0/src/pandapipes/test/api/test_aux_function.py +24 -0
  313. pandapipes-0.11.0/src/pandapipes/test/api/test_components/__init__.py +3 -0
  314. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_circ_pump_mass.py +61 -0
  315. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_circ_pump_pressure.py +62 -0
  316. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_compressor.py +68 -0
  317. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_ext_grid.py +424 -0
  318. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_flow_control.py +94 -0
  319. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_heat_consumer.py +213 -0
  320. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_heat_exchanger.py +46 -0
  321. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_mass_storage.py +31 -0
  322. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_pipe.py +113 -0
  323. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_pressure_control.py +70 -0
  324. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_pump.py +245 -0
  325. pandapipes-0.11.0/src/pandapipes/test/api/test_components/test_valve.py +70 -0
  326. pandapipes-0.11.0/src/pandapipes/test/api/test_convert_format.py +76 -0
  327. pandapipes-0.11.0/src/pandapipes/test/api/test_create.py +791 -0
  328. pandapipes-0.11.0/src/pandapipes/test/api/test_network_tables.py +88 -0
  329. pandapipes-0.11.0/src/pandapipes/test/api/test_special_networks.py +127 -0
  330. pandapipes-0.11.0/src/pandapipes/test/api/test_std_types.py +321 -0
  331. pandapipes-0.11.0/src/pandapipes/test/api/test_time_series.py +21 -0
  332. pandapipes-0.11.0/src/pandapipes/test/converter/__init__.py +0 -0
  333. pandapipes-0.11.0/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini.csv +4540 -0
  334. pandapipes-0.11.0/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_2valvepipe.csv +3349 -0
  335. pandapipes-0.11.0/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_valve_2sliders_closed.csv +3495 -0
  336. pandapipes-0.11.0/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_valve_2sliders_open.csv +3495 -0
  337. pandapipes-0.11.0/src/pandapipes/test/converter/test_stanet_converter.py +101 -0
  338. pandapipes-0.11.0/src/pandapipes/test/data/Temperature_2zu_2ab_an.csv +6 -0
  339. pandapipes-0.11.0/src/pandapipes/test/data/Temperature_masche_1load_an.csv +5 -0
  340. pandapipes-0.11.0/src/pandapipes/test/data/Temperature_masche_1load_direction_an.csv +4 -0
  341. pandapipes-0.11.0/src/pandapipes/test/data/Temperature_one_pipe_an.csv +8 -0
  342. pandapipes-0.11.0/src/pandapipes/test/data/Temperature_tee_2ab_1zu_an.csv +5 -0
  343. pandapipes-0.11.0/src/pandapipes/test/data/Temperature_tee_2zu_1ab_an.csv +5 -0
  344. pandapipes-0.11.0/src/pandapipes/test/data/ext_grid_p.csv +2 -0
  345. pandapipes-0.11.0/src/pandapipes/test/data/gas_sections_an.csv +14 -0
  346. pandapipes-0.11.0/src/pandapipes/test/data/heat_exchanger_test.csv +3 -0
  347. pandapipes-0.11.0/src/pandapipes/test/data/hydraulics.csv +4 -0
  348. pandapipes-0.11.0/src/pandapipes/test/data/pressure_control_test_analytical.csv +3 -0
  349. pandapipes-0.11.0/src/pandapipes/test/data/test_circ_pump_mass.csv +5 -0
  350. pandapipes-0.11.0/src/pandapipes/test/data/test_circ_pump_pressure.csv +5 -0
  351. pandapipes-0.11.0/src/pandapipes/test/data/test_pressure_control.csv +5 -0
  352. pandapipes-0.11.0/src/pandapipes/test/data/test_pump.csv +5 -0
  353. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_results/res_ext_grid/mdot_kg_per_s.csv +26 -0
  354. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_results/res_junction/p_bar.csv +26 -0
  355. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_results/res_pipe/lambda.csv +26 -0
  356. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_results/res_pipe/reynolds.csv +26 -0
  357. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_results/res_pipe/v_mean_m_per_s.csv +26 -0
  358. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_results/res_sink/mdot_kg_per_s.csv +26 -0
  359. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_results/res_source/mdot_kg_per_s.csv +26 -0
  360. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_sink_profiles.csv +26 -0
  361. pandapipes-0.11.0/src/pandapipes/test/data/test_time_series_source_profiles.csv +26 -0
  362. pandapipes-0.11.0/src/pandapipes/test/data/test_valve.csv +9 -0
  363. pandapipes-0.11.0/src/pandapipes/test/io/__init__.py +3 -0
  364. pandapipes-0.11.0/src/pandapipes/test/io/test_file_io.py +179 -0
  365. pandapipes-0.11.0/src/pandapipes/test/multinet/__init__.py +3 -0
  366. pandapipes-0.11.0/src/pandapipes/test/multinet/test_control_multinet.py +424 -0
  367. pandapipes-0.11.0/src/pandapipes/test/multinet/test_time_series_multinet.py +136 -0
  368. pandapipes-0.11.0/src/pandapipes/test/networks/__init__.py +3 -0
  369. pandapipes-0.11.0/src/pandapipes/test/networks/test_networks.py +33 -0
  370. pandapipes-0.11.0/src/pandapipes/test/openmodelica_comparison/__init__.py +3 -0
  371. pandapipes-0.11.0/src/pandapipes/test/openmodelica_comparison/pipeflow_openmodelica_comparison.py +264 -0
  372. pandapipes-0.11.0/src/pandapipes/test/openmodelica_comparison/test_heat_transfer_openmodelica.py +137 -0
  373. pandapipes-0.11.0/src/pandapipes/test/openmodelica_comparison/test_water_openmodelica.py +396 -0
  374. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/__init__.py +4 -0
  375. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/test_inservice.py +679 -0
  376. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/test_non_convergence.py +36 -0
  377. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/test_options.py +113 -0
  378. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/test_pipeflow_analytic_comparison.py +589 -0
  379. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/test_pipeflow_modes.py +120 -0
  380. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/test_time_series.py +180 -0
  381. pandapipes-0.11.0/src/pandapipes/test/pipeflow_internals/test_update_matrix.py +40 -0
  382. pandapipes-0.11.0/src/pandapipes/test/plotting/__init__.py +3 -0
  383. pandapipes-0.11.0/src/pandapipes/test/plotting/test_collections.py +188 -0
  384. pandapipes-0.11.0/src/pandapipes/test/plotting/test_generic_coordinates.py +36 -0
  385. pandapipes-0.11.0/src/pandapipes/test/plotting/test_pipeflow_results.py +44 -0
  386. pandapipes-0.11.0/src/pandapipes/test/plotting/test_simple_collections.py +138 -0
  387. pandapipes-0.11.0/src/pandapipes/test/properties/__init__.py +3 -0
  388. pandapipes-0.11.0/src/pandapipes/test/properties/test_fluid_specials.py +67 -0
  389. pandapipes-0.11.0/src/pandapipes/test/properties/test_properties_toolbox.py +315 -0
  390. pandapipes-0.11.0/src/pandapipes/test/pytest.ini +5 -0
  391. pandapipes-0.11.0/src/pandapipes/test/run_tests.py +122 -0
  392. pandapipes-0.11.0/src/pandapipes/test/stanet_comparison/__init__.py +3 -0
  393. pandapipes-0.11.0/src/pandapipes/test/stanet_comparison/pipeflow_stanet_comparison.py +180 -0
  394. pandapipes-0.11.0/src/pandapipes/test/stanet_comparison/test_gas_stanet.py +436 -0
  395. pandapipes-0.11.0/src/pandapipes/test/stanet_comparison/test_water_stanet.py +447 -0
  396. pandapipes-0.11.0/src/pandapipes/test/test_imports.py +29 -0
  397. pandapipes-0.11.0/src/pandapipes/test/test_toolbox.py +316 -0
  398. pandapipes-0.11.0/src/pandapipes/test/topology/__init__.py +3 -0
  399. pandapipes-0.11.0/src/pandapipes/test/topology/test_graph_searches.py +54 -0
  400. pandapipes-0.11.0/src/pandapipes/test/topology/test_nxgraph.py +27 -0
  401. pandapipes-0.11.0/src/pandapipes/timeseries/__init__.py +6 -0
  402. pandapipes-0.11.0/src/pandapipes/timeseries/run_time_series.py +128 -0
  403. pandapipes-0.11.0/src/pandapipes/toolbox.py +619 -0
  404. pandapipes-0.11.0/src/pandapipes/topology/__init__.py +8 -0
  405. pandapipes-0.11.0/src/pandapipes/topology/create_graph.py +185 -0
  406. pandapipes-0.11.0/src/pandapipes/topology/graph_searches.py +188 -0
  407. pandapipes-0.11.0/src/pandapipes/topology/topology_toolbox.py +42 -0
  408. pandapipes-0.11.0/src/pandapipes.egg-info/PKG-INFO +167 -0
  409. pandapipes-0.11.0/src/pandapipes.egg-info/SOURCES.txt +411 -0
  410. pandapipes-0.11.0/src/pandapipes.egg-info/dependency_links.txt +1 -0
  411. pandapipes-0.11.0/src/pandapipes.egg-info/requires.txt +40 -0
  412. pandapipes-0.11.0/src/pandapipes.egg-info/top_level.txt +1 -0
@@ -0,0 +1,103 @@
1
+ # This workflow will create a Python package and upload it to testPyPi or PyPi
2
+ # Then, it installs pandapipes from there and all dependencies and runs tests with different Python versions
3
+
4
+ name: release
5
+
6
+ # Controls when the action will run.
7
+ on:
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch:
10
+ inputs:
11
+ upload_server:
12
+ description: 'upload server'
13
+ required: true
14
+ default: 'testpypi'
15
+ type: choice
16
+ options:
17
+ - 'testpypi'
18
+ - 'pypi'
19
+
20
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
21
+ jobs:
22
+ upload:
23
+ # The type of runner that the job will run on
24
+ runs-on: ubuntu-latest
25
+
26
+ # Steps represent a sequence of tasks that will be executed as part of the job
27
+ steps:
28
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29
+ - uses: actions/checkout@v3
30
+
31
+ # Sets up python3
32
+ - uses: actions/setup-python@v4
33
+ with:
34
+ python-version: '3.10'
35
+ # Installs and upgrades pip, installs twine and other packages for the release-process
36
+ - name: Install dependencies
37
+ run: |
38
+ # Upgrade pip
39
+ python3 -m pip install --upgrade pip
40
+ # Install twine
41
+ python3 -m pip install build setuptools wheel twine
42
+
43
+ # Upload to TestPyPI
44
+ - name: Build and Upload to TestPyPI
45
+ if: ${{ inputs.upload_server == 'testpypi'}}
46
+ run: |
47
+ python3 -m build
48
+ python3 -m twine check dist/* --strict
49
+ python3 -m twine upload dist/*
50
+ env:
51
+ TWINE_USERNAME: __token__
52
+ TWINE_PASSWORD: ${{ secrets.TESTPYPI }}
53
+ TWINE_REPOSITORY: testpypi
54
+
55
+ # Upload to PyPI
56
+ - name: Build and Upload to PyPI
57
+ if: ${{ inputs.upload_server == 'pypi' }}
58
+ run: |
59
+ python3 -m build
60
+ python3 -m twine check dist/* --strict
61
+ python3 -m twine upload dist/*
62
+ env:
63
+ TWINE_USERNAME: __token__
64
+ TWINE_PASSWORD: ${{ secrets.PYPI }}
65
+ TWINE_REPOSITORY: pypi
66
+
67
+ - name: Sleep for 300s to make release available
68
+ uses: juliangruber/sleep-action@v1
69
+ with:
70
+ time: 300s
71
+
72
+ build:
73
+ runs-on: ${{ matrix.os }}
74
+ needs: upload
75
+ strategy:
76
+ matrix:
77
+ python-version: ['3.9', '3.10', '3.11', '3.12']
78
+ os: [ ubuntu-latest, windows-latest ]
79
+ steps:
80
+ - name: Set up Python ${{ matrix.python-version }}
81
+ uses: actions/setup-python@v4
82
+ with:
83
+ python-version: ${{ matrix.python-version }}
84
+ - name: Install dependencies
85
+ run: |
86
+ python -m pip install --upgrade pip
87
+ python -m pip install pytest igraph pytest-split
88
+ if [${{ matrix.python-version != '3.11' }}]; then python -m pip install numba; fi
89
+ shell: bash
90
+ - name: Install pandapipes from TestPyPI
91
+ if: ${{ inputs.upload_server == 'testpypi'}}
92
+ run: |
93
+ python -m pip install --no-cache-dir -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pandapipes
94
+ - name: Install pandapipes from PyPI
95
+ if: ${{ inputs.upload_server == 'pypi'}}
96
+ run: |
97
+ python -m pip install pandapipes
98
+ - name: List all installed packages
99
+ run: |
100
+ python -m pip list
101
+ - name: Test with pytest
102
+ run: |
103
+ pytest --pyargs pandapipes.test
@@ -0,0 +1,185 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # A coverage report will be created for the Python 3.9 version
3
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
4
+
5
+ # pandapipes-develop branch is designed to work with pandapower-master branch, but checks the ability to
6
+ # work with pandapower-develop branch (relying tests, usually not required for merges) in order to avoid
7
+ # problems in future releases
8
+
9
+ name: ppipes_dev
10
+
11
+ on:
12
+ push:
13
+ branches-ignore: [ master ]
14
+ pull_request:
15
+ branches-ignore: [ master ]
16
+
17
+ jobs:
18
+ build:
19
+ runs-on: ${{ matrix.os }}
20
+ strategy:
21
+ matrix:
22
+ python-version: ['3.9', '3.10', '3.11', '3.12']
23
+ os: [ ubuntu-latest, windows-latest ]
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - name: Set up Python ${{ matrix.python-version }}
27
+ uses: actions/setup-python@v5
28
+ with:
29
+ python-version: ${{ matrix.python-version }}
30
+ - name: Install dependencies
31
+ run: |
32
+ python -m pip install --upgrade pip
33
+ python -m pip install .["all"]
34
+ shell: bash
35
+ - name: List all installed packages
36
+ run: |
37
+ python -m pip list
38
+ - name: Test with pytest
39
+ if: ${{ matrix.python-version != '3.11' }}
40
+ run: |
41
+ python -m pytest
42
+ - name: Test without numba
43
+ if: ${{ matrix.python-version == '3.11' }}
44
+ run: |
45
+ python -m pip uninstall numba -y
46
+ python -m pytest -n=auto
47
+ - name: Test with pytest and Codecov
48
+ if: ${{ matrix.python-version == '3.11' }}
49
+ run: |
50
+ python -m pip install pytest-cov
51
+ python -m pytest --cov=./ --cov-report=xml
52
+ - name: Upload coverage to Codecov
53
+ if: ${{ matrix.python-version == '3.11' }}
54
+ uses: codecov/codecov-action@v1
55
+ with:
56
+ verbose: true
57
+
58
+ relying:
59
+ runs-on: ${{ matrix.os }}
60
+ strategy:
61
+ matrix:
62
+ python-version: ['3.9', '3.10', '3.11', '3.12']
63
+ os: [ ubuntu-latest, windows-latest ]
64
+ steps:
65
+ - uses: actions/checkout@v4
66
+ - name: Set up Python ${{ matrix.python-version }}
67
+ uses: actions/setup-python@v5
68
+ with:
69
+ python-version: ${{ matrix.python-version }}
70
+ - name: Install dependencies
71
+ run: |
72
+ python -m pip install --upgrade pip
73
+ python -m pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower
74
+ python -m pip install .["all"]
75
+ shell: bash
76
+ - name: List all installed packages
77
+ run: |
78
+ python -m pip list
79
+ - name: Test with pytest
80
+ if: ${{ matrix.python-version != '3.11' }}
81
+ run: |
82
+ python -m pytest
83
+ - name: Test with pytest and Codecov
84
+ if: ${{ matrix.python-version == '3.11' }}
85
+ run: |
86
+ python -m pip install pytest-cov
87
+ python -m pytest -n=auto --cov=./ --cov-report=xml
88
+ - name: Upload coverage to Codecov
89
+ if: ${{ matrix.python-version == '3.11' }}
90
+ uses: codecov/codecov-action@v4
91
+ with:
92
+ verbose: true
93
+ token: ${{ secrets.CODECOV_TOKEN }}
94
+ dry_run: ${{ github.ref != 'refs/heads/develop' }}
95
+ exclude: |
96
+ '**/test/**'
97
+ '**/__init__.py'
98
+ 'doc/**'
99
+ 'tutorials/**'
100
+ 'pandapipes/networks/network_files/**'
101
+ '**.yml'
102
+ '**.rst'
103
+ - name: Test without numba
104
+ if: ${{ matrix.python-version == '3.11' }}
105
+ run: |
106
+ python -m pip uninstall numba -y
107
+ python -m pytest -n=auto
108
+
109
+ linting:
110
+ runs-on: ${{ matrix.os }}
111
+ strategy:
112
+ matrix:
113
+ python-version: ['3.11']
114
+ os: [ ubuntu-latest, windows-latest ]
115
+ steps:
116
+ - uses: actions/checkout@v4
117
+ - name: Set up Python ${{ matrix.python-version }}
118
+ uses: actions/setup-python@v5
119
+ with:
120
+ python-version: ${{ matrix.python-version }}
121
+ - name: Install dependencies
122
+ run: |
123
+ python -m pip install --upgrade pip
124
+ python -m pip install flake8
125
+ python -m pip install .["all"]
126
+ shell: bash
127
+ - name: List all installed packages
128
+ run: |
129
+ python -m pip list
130
+ - name: Lint with flake8 (syntax errors and undefinded names)
131
+ run: |
132
+ # stop the build if there are Python syntax errors or undefined names
133
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
134
+ - name: Lint with flake8 (all errors/warnings)
135
+ run: |
136
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
137
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
138
+
139
+ tutorial_tests:
140
+ runs-on: ${{ matrix.os }}
141
+ strategy:
142
+ matrix:
143
+ python-version: ['3.9', '3.10', '3.11', '3.12']
144
+ os: [ ubuntu-latest, windows-latest ]
145
+ steps:
146
+ - uses: actions/checkout@v4
147
+ - name: Set up Python ${{ matrix.python-version }}
148
+ uses: actions/setup-python@v5
149
+ with:
150
+ python-version: ${{ matrix.python-version }}
151
+ - name: Install dependencies
152
+ run: |
153
+ python -m pip install --upgrade pip
154
+ python -m pip install .["all"]
155
+ shell: bash
156
+ - name: List all installed packages
157
+ run: |
158
+ python -m pip list
159
+ - name: Test with pytest
160
+ run: |
161
+ python -m pytest --nbmake -n=auto "./tutorials"
162
+ - name: Test without numba
163
+ if: ${{ matrix.python-version == '3.11' }}
164
+ run: |
165
+ python -m pip uninstall numba -y
166
+ python -m pytest --nbmake -n=auto "./tutorials"
167
+
168
+ docs_check:
169
+ runs-on: ubuntu-latest
170
+ strategy:
171
+ matrix:
172
+ python-version: [ '3.11' ]
173
+ steps:
174
+ - uses: actions/checkout@v4
175
+ - name: Set up Python ${{ matrix.python-version }}
176
+ uses: actions/setup-python@v5
177
+ with:
178
+ python-version: ${{ matrix.python-version }}
179
+ - name: Check docs for Python ${{ matrix.python-version }}
180
+ uses: e2nIEE/sphinx-action@master
181
+ with:
182
+ pre-build-command: "python -m pip install --upgrade pip;
183
+ python -m pip install .[docs]"
184
+ build-command: "sphinx-build -b html source _build -W"
185
+ docs-folder: "doc/"
@@ -0,0 +1,150 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ # pandapipes-master branch is designed to work with pandapower-master branch
5
+
6
+ name: ppipes_master
7
+
8
+ on:
9
+ push:
10
+ branches: [ master ]
11
+ pull_request:
12
+ branches: [ master ]
13
+
14
+ jobs:
15
+ build:
16
+ runs-on: ${{ matrix.os }}
17
+ strategy:
18
+ matrix:
19
+ python-version: ['3.9', '3.10', '3.11', '3.12']
20
+ os: [ ubuntu-latest, windows-latest ]
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@v5
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+ - name: Install dependencies
28
+ run: |
29
+ python -m pip install --upgrade pip
30
+ python -m pip install .["all"]
31
+ shell: bash
32
+ - name: List all installed packages
33
+ run: |
34
+ python -m pip list
35
+ - name: Test with pytest
36
+ if: ${{ matrix.python-version != '3.11' }}
37
+ run: |
38
+ python -m pytest
39
+ - name: Test with pytest, Codecov and Coverage
40
+ if: ${{ matrix.python-version == '3.11' }}
41
+ run: |
42
+ python -m pip install pytest-cov
43
+ python -m pytest --nbmake -n=auto --cov=./ --cov-report=xml
44
+ cp ./coverage.xml ./codecov_coverage.xml
45
+ - name: Upload coverage to Codacy
46
+ if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'}}
47
+ env:
48
+ CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
49
+ run: |
50
+ bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml
51
+ - name: Upload coverage to Codecov
52
+ if: ${{ matrix.python-version == '3.11' }}
53
+ uses: codecov/codecov-action@v4
54
+ with:
55
+ token: ${{ secrets.CODECOV_TOKEN }}
56
+ file: ./codecov_coverage.xml
57
+ verbose: true
58
+ exclude: |
59
+ '**/test/**'
60
+ '**/__init__.py'
61
+ 'doc/**'
62
+ 'tutorials/**'
63
+ 'pandapipes/networks/network_files/**'
64
+ '**.yml'
65
+ '**.rst'
66
+ - name: Test without numba
67
+ if: ${{ matrix.python-version == '3.11' }}
68
+ run: |
69
+ python -m pip uninstall numba -y
70
+ python -m pytest -n=auto
71
+
72
+
73
+ relying:
74
+ runs-on: ${{ matrix.os }}
75
+ strategy:
76
+ matrix:
77
+ python-version: ['3.9', '3.10', '3.11', '3.12']
78
+ os: [ ubuntu-latest, windows-latest ]
79
+ steps:
80
+ - uses: actions/checkout@v4
81
+ - name: Set up Python ${{ matrix.python-version }}
82
+ uses: actions/setup-python@v5
83
+ with:
84
+ python-version: ${{ matrix.python-version }}
85
+ - name: Install dependencies
86
+ run: |
87
+ python -m pip install --upgrade pip
88
+ python -m pip install .["all"]
89
+ shell: bash
90
+ - name: List all installed packages
91
+ run: |
92
+ python -m pip list
93
+ - name: Test with pytest
94
+ # if: ${{ matrix.python-version != '3.11' }}
95
+ run: |
96
+ python -m pytest -n=auto
97
+ - name: Test without numba
98
+ if: ${{ matrix.python-version == '3.11' }}
99
+ run: |
100
+ python -m pip uninstall numba -y
101
+ python -m pytest -n=auto
102
+
103
+ tutorial_tests:
104
+ runs-on: ${{ matrix.os }}
105
+ strategy:
106
+ matrix:
107
+ python-version: ['3.9', '3.10', '3.11', '3.12']
108
+ os: [ ubuntu-latest, windows-latest ]
109
+ steps:
110
+ - uses: actions/checkout@v4
111
+ - name: Set up Python ${{ matrix.python-version }}
112
+ uses: actions/setup-python@v5
113
+ with:
114
+ python-version: ${{ matrix.python-version }}
115
+ - name: Install dependencies
116
+ run: |
117
+ python -m pip install --upgrade pip
118
+ python -m pip install .["all"]
119
+ shell: bash
120
+ - name: List all installed packages
121
+ run: |
122
+ python -m pip list
123
+ - name: Test with pytest
124
+ run: |
125
+ python -m pytest --nbmake -n=auto "./tutorials"
126
+ - name: Test without numba
127
+ if: ${{ matrix.python-version == '3.11' }}
128
+ run: |
129
+ python -m pip uninstall numba -y
130
+ python -m pytest --nbmake -n=auto "./tutorials"
131
+
132
+
133
+ docs_check:
134
+ runs-on: ubuntu-latest
135
+ strategy:
136
+ matrix:
137
+ python-version: [ '3.11' ]
138
+ steps:
139
+ - uses: actions/checkout@v4
140
+ - name: Set up Python ${{ matrix.python-version }}
141
+ uses: actions/setup-python@v5
142
+ with:
143
+ python-version: ${{ matrix.python-version }}
144
+ - name: Check docs for Python ${{ matrix.python-version }}
145
+ uses: e2nIEE/sphinx-action@master
146
+ with:
147
+ pre-build-command: "python -m pip install --upgrade pip;
148
+ python -m pip install .[docs]"
149
+ build-command: "sphinx-build -b html source _build -W"
150
+ docs-folder: "doc/"
@@ -0,0 +1,28 @@
1
+ Copyright (c) 2020-2024 by Fraunhofer Institute for Energy Economics
2
+ and Energy System Technology (IEE), Kassel, and University of Kassel. All rights reserved.
3
+
4
+ Lead Developers:
5
+ - Daniel Lohmeier
6
+ - Simon Ruben Drauz-Mauel
7
+ - Jolando Marius Kisse
8
+
9
+ Main Contributors:
10
+ - Tabea Trummel
11
+ - Michel Diesing
12
+ - Vanessa Kiesewetter
13
+
14
+ Further Contributions by:
15
+ - Christian Spalthoff
16
+ - Daniel Then
17
+ - Marius Schenk
18
+ - Natalia Sanina
19
+ - Erik Prade
20
+
21
+ Coordination:
22
+ - Tanja Manuela Kneiske
23
+ - Lars Lauven
24
+ - Jan Ulffers
25
+ - Martin Braun
26
+
27
+ Alumni:
28
+ - Dennis Cronbach (until July 2022)