pandapipes 0.12.0.dev1__tar.gz → 0.12.0.dev2__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.
- pandapipes-0.12.0.dev2/.github/workflows/relying_test_on_dev_merge.yml +34 -0
- pandapipes-0.12.0.dev2/.github/workflows/run_tests_develop.yml +121 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/.github/workflows/run_tests_master.yml +26 -50
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/CHANGELOG.rst +4 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/PKG-INFO +18 -16
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/README.rst +5 -5
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/pyproject.toml +7 -10
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/__init__.py +13 -1
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/branch_models.py +13 -6
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/branch_w_internals_models.py +32 -16
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/branch_wo_internals_models.py +17 -9
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/component_toolbox.py +4 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/heat_consumer_component.py +11 -8
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/junction_component.py +30 -8
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/pump_component.py +6 -7
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/control/run_control.py +0 -3
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/create.py +5 -5
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/idx_branch.py +3 -1
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/idx_node.py +6 -1
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/io/file_io.py +12 -4
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/io/io_utils.py +19 -6
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/timeseries/run_time_series_multinet.py +3 -3
- pandapipes-0.12.0.dev2/src/pandapipes/networks/network_files/sw_heat.json +2077 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/simple_gas_networks.py +7 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/simple_heat_transfer_networks.py +34 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/build_system_matrix.py +35 -21
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/derivative_calculation.py +133 -28
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/derivative_toolbox.py +1 -1
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/pipeflow_setup.py +78 -36
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/result_extraction.py +7 -13
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pipeflow.py +43 -18
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/generic_geodata.py +36 -10
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/geo.py +8 -7
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/fluids.py +3 -3
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/std_types/library/Pipe.csv +19 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/std_types/std_types.py +2 -2
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_aux_function.py +8 -6
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_std_types.py +4 -4
- pandapipes-0.12.0.dev2/src/pandapipes/test/networks/test_networks.py +101 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/plotting/test_pipeflow_results.py +42 -1
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/run_tests.py +3 -6
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/timeseries/run_time_series.py +44 -11
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/topology/create_graph.py +3 -1
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes.egg-info/PKG-INFO +18 -16
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes.egg-info/SOURCES.txt +2 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes.egg-info/requires.txt +10 -9
- pandapipes-0.12.0.dev1/.github/workflows/run_tests_develop.yml +0 -186
- pandapipes-0.12.0.dev1/src/pandapipes/test/networks/test_networks.py +0 -33
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/.github/workflows/release.yml +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/AUTHORS +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/LICENSE +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/MANIFEST.in +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/setup.cfg +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/setup.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/base_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/branch_wzerolength_models.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/circulation_pump.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/const_flow_models.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/node_element_models.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/abstract_models/node_models.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/circulation_pump_mass_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/circulation_pump_pressure_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/compressor_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/ext_grid_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/flow_control_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/heat_exchanger_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/mass_storage_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/pipe_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/pressure_control_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/sink_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/source_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/component_models/valve_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/constants.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/control/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/data_cleaning.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/preparing_steps.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/stanet2pandapipes.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/table_creation.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/valve_pipe_component/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/valve_pipe_component/create_valve_pipe.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/valve_pipe_component/valve_pipe_component.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/converter/stanet/valve_pipe_component/valve_pipe_plotting.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/io/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/io/convert_format.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/control/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/control/controller/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/control/controller/multinet_control.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/control/run_control_multinet.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/create_multinet.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/multinet.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/multinet/timeseries/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/gas_net_schutterwald_1bar.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/delta.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/delta_2sinks.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/heights.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/one_pipe.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/one_source.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/section_variation.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/t_cross.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/two_pipes.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/combined_networks/mixed_net.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/combined_networks/versatility.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/delta.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/heights.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/pumps.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/two_valves.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_1.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_2.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_3.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/cross_3ext.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/strand_net.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/two_pipes.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/two_pumps.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/t_cross/t_cross.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/t_cross/valves.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/two_pressure_junctions/two_pipes.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/combined_networks/mixed_net.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/combined_networks/versatility.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/delta.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/heights.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/one_valve_stanet.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/pumps.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/two_valves.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_1.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_2.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_3.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/cross_3ext.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net_stanet_variation1.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net_stanet_variation2.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/two_pipes.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/two_pumps.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/t_cross/t_cross.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/t_cross/valves.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/two_pressure_junctions/one_pipe_stanet.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/two_pressure_junctions/two_pipes.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural1--0-no_sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural1--0-sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural2--0-no_sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural2--0-sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural3--0-no_sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural3--0-sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb4--0-no_sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb4--0-sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb5--0-no_sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb5--0-sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-urban6--0-no_sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-urban6--0-sw.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/parallel_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/parallel_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/versatility_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/delta_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/pumps_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/square_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/square_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/two_valves_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/two_valves_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_1_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_1_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_2_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_2_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/pump_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/two_pipes_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/two_pipes_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross1_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross1_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross2_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross2_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/two_pressure_junctions/H_net_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/two_pressure_junctions/H_net_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/district_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/district_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/versatility_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/versatility_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/delta_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/pumps_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/two_valves_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/two_valves_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_1_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_1_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_2_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_2_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_3_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_3_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/cross_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/pump_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/strand_net_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/strand_net_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/two_pipes_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/two_pipes_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/t_cross/t_cross_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/t_cross/t_cross_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/two_pressure_junctions/two_pipes_N.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/two_pressure_junctions/two_pipes_PC.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/nw_aux.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/networks/simple_water_networks.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pandapipes_net.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/derivative_toolbox_numba.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/pf/internals_toolbox.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/collections.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/patch_makers.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/pipeflow_results.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/plotting_toolbox.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/plotting/simple_plot.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/air/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/air/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/air/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/air/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/air/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/air/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/gas_composition.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/higher_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_pure/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/gas_composition.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/higher_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/biomethane_treated/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/carbondioxide/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/carbondioxide/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/carbondioxide/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/carbondioxide/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/ethane/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/ethane/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/ethane/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/ethane/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/higher_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/lower_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hgas/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/higher_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/lower_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/hydrogen/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/higher_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/lower_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/lgas/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/higher_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/lower_heating_value.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/methane/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/nitrogen/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/nitrogen/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/nitrogen/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/nitrogen/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/oxygen/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/oxygen/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/oxygen/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/oxygen/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/properties_toolbox.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/water/compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/water/density.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/water/der_compressibility.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/water/heat_capacity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/water/molar_mass.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/properties/water/viscosity.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/std_types/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/std_types/library/Pump/P1.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/std_types/library/Pump/P2.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/std_types/library/Pump/P3.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/std_types/std_type_class.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.1.0.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.1.1.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.1.2.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.10.0_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.10.0_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.11.0_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.11.0_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.2.0.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.4.0.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.5.0.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.6.0.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.7.0.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.0_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.0_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.1_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.1_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.2_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.2_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.3_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.3_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.4_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.4_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.5_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.8.5_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.9.0_gas.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/old_versions/example_0.9.0_water.json +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/release_cycle/release_control_test_network.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/release_cycle/release_control_test_sink_profiles.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/release_cycle/release_control_test_source_profiles.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_circ_pump_mass.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_circ_pump_pressure.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_compressor.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_ext_grid.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_flow_control.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_heat_consumer.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_heat_exchanger.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_mass_storage.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_pipe.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_pressure_control.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_pump.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_components/test_valve.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_convert_format.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_create.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_network_tables.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_special_networks.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/api/test_time_series.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/converter/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_2valvepipe.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_valve_2sliders_closed.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_valve_2sliders_open.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/converter/test_stanet_converter.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/Temperature_2zu_2ab_an.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/Temperature_masche_1load_an.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/Temperature_masche_1load_direction_an.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/Temperature_one_pipe_an.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/Temperature_tee_2ab_1zu_an.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/Temperature_tee_2zu_1ab_an.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/ext_grid_p.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/gas_sections_an.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/heat_exchanger_test.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/hydraulics.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/pressure_control_test_analytical.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_circ_pump_mass.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_circ_pump_pressure.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_pressure_control.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_pump.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_results/res_ext_grid/mdot_kg_per_s.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_results/res_junction/p_bar.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_results/res_pipe/lambda.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_results/res_pipe/reynolds.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_results/res_pipe/v_mean_m_per_s.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_results/res_sink/mdot_kg_per_s.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_results/res_source/mdot_kg_per_s.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_sink_profiles.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_time_series_source_profiles.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/data/test_valve.csv +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/io/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/io/test_file_io.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/multinet/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/multinet/test_control_multinet.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/multinet/test_time_series_multinet.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/networks/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/openmodelica_comparison/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/openmodelica_comparison/pipeflow_openmodelica_comparison.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/openmodelica_comparison/test_heat_transfer_openmodelica.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/openmodelica_comparison/test_water_openmodelica.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/test_inservice.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/test_non_convergence.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/test_options.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/test_pipeflow_analytic_comparison.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/test_pipeflow_modes.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/test_time_series.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pipeflow_internals/test_update_matrix.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/plotting/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/plotting/test_collections.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/plotting/test_generic_coordinates.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/plotting/test_simple_collections.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/properties/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/properties/test_fluid_specials.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/properties/test_properties_toolbox.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/pytest.ini +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/stanet_comparison/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/stanet_comparison/pipeflow_stanet_comparison.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/stanet_comparison/test_gas_stanet.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/stanet_comparison/test_water_stanet.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/test_imports.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/test_toolbox.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/topology/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/topology/test_graph_searches.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/test/topology/test_nxgraph.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/timeseries/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/toolbox.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/topology/__init__.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/topology/graph_searches.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes/topology/topology_toolbox.py +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes.egg-info/dependency_links.txt +0 -0
- {pandapipes-0.12.0.dev1 → pandapipes-0.12.0.dev2}/src/pandapipes.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# pandapipes-develop branch is designed to work with pandapower-master branch, but checks the ability to
|
|
2
|
+
# work with pandapower-develop branch (relying tests, usually not required for merges) in order to avoid
|
|
3
|
+
# problems in future releases
|
|
4
|
+
|
|
5
|
+
name: ppipes_relying
|
|
6
|
+
on:
|
|
7
|
+
pull_request:
|
|
8
|
+
types:
|
|
9
|
+
- closed
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
relying:
|
|
14
|
+
name: Relying tests
|
|
15
|
+
runs-on: ${{ matrix.os }}
|
|
16
|
+
strategy:
|
|
17
|
+
matrix:
|
|
18
|
+
python-version: ['3.9', '3.10', '3.11', '3.12']
|
|
19
|
+
os: [ ubuntu-latest, windows-latest ]
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
- name: Install uv
|
|
23
|
+
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a #v4.2.0
|
|
24
|
+
with:
|
|
25
|
+
python-version: ${{ matrix.python-version }}
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: |
|
|
28
|
+
uv sync --extra test
|
|
29
|
+
uv pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower
|
|
30
|
+
- name: List all installed packages
|
|
31
|
+
run: |
|
|
32
|
+
uv pip list
|
|
33
|
+
- name: Test with pytest
|
|
34
|
+
run: uv run pytest -n auto
|
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
name: ppipes_dev
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
push:
|
|
9
|
+
branches-ignore: [ master ]
|
|
10
|
+
pull_request:
|
|
11
|
+
branches-ignore: [ master ]
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
tests:
|
|
15
|
+
name: Tests
|
|
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: Install uv
|
|
24
|
+
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a #v4.2.0
|
|
25
|
+
with:
|
|
26
|
+
python-version: ${{ matrix.python-version }}
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: uv sync --extra test
|
|
29
|
+
- name: List all installed packages
|
|
30
|
+
run: |
|
|
31
|
+
uv pip list
|
|
32
|
+
- name: Test with pytest
|
|
33
|
+
if: ${{ matrix.python-version != '3.11' }}
|
|
34
|
+
run: |
|
|
35
|
+
uv run pytest -n auto
|
|
36
|
+
- name: Test with pytest and Codecov
|
|
37
|
+
if: ${{ matrix.python-version == '3.11' }}
|
|
38
|
+
run: |
|
|
39
|
+
uv pip install pytest-cov
|
|
40
|
+
uv run pytest -n auto --cov=./ --cov-report=xml
|
|
41
|
+
- name: Upload coverage to Codecov
|
|
42
|
+
if: ${{ matrix.python-version == '3.11' }}
|
|
43
|
+
uses: codecov/codecov-action@v4
|
|
44
|
+
with:
|
|
45
|
+
verbose: true
|
|
46
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
47
|
+
dry_run: ${{ github.ref != 'refs/heads/develop' }}
|
|
48
|
+
exclude: |
|
|
49
|
+
'**/test/**'
|
|
50
|
+
'**/__init__.py'
|
|
51
|
+
'doc/**'
|
|
52
|
+
'tutorials/**'
|
|
53
|
+
'pandapipes/networks/network_files/**'
|
|
54
|
+
'**.yml'
|
|
55
|
+
'**.rst'
|
|
56
|
+
|
|
57
|
+
linting:
|
|
58
|
+
name: Linting
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
steps:
|
|
61
|
+
- uses: actions/checkout@v4
|
|
62
|
+
- name: Install uv
|
|
63
|
+
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a #v4.2.0
|
|
64
|
+
with:
|
|
65
|
+
python-version: 3.11
|
|
66
|
+
- name: Install dependencies
|
|
67
|
+
run: |
|
|
68
|
+
uv sync
|
|
69
|
+
uv pip install flake8
|
|
70
|
+
- name: List all installed packages
|
|
71
|
+
run: |
|
|
72
|
+
uv pip list
|
|
73
|
+
- name: Lint with flake8 (syntax errors and undefinded names)
|
|
74
|
+
run: |
|
|
75
|
+
# stop the build if there are Python syntax errors or undefined names
|
|
76
|
+
uv run flake8 . --exclude .venv --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
77
|
+
- name: Lint with flake8 (all errors/warnings)
|
|
78
|
+
run: |
|
|
79
|
+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
80
|
+
uv run flake8 . --exclude .venv --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
81
|
+
|
|
82
|
+
tutorial_tests:
|
|
83
|
+
name: Tutorial tests
|
|
84
|
+
runs-on: ${{ matrix.os }}
|
|
85
|
+
strategy:
|
|
86
|
+
matrix:
|
|
87
|
+
python-version: ['3.9', '3.10', '3.11', '3.12']
|
|
88
|
+
os: [ ubuntu-latest, windows-latest ]
|
|
89
|
+
steps:
|
|
90
|
+
- uses: actions/checkout@v4
|
|
91
|
+
- name: Install uv
|
|
92
|
+
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a #v4.2.0
|
|
93
|
+
with:
|
|
94
|
+
python-version: ${{ matrix.python-version }}
|
|
95
|
+
- name: Install dependencies
|
|
96
|
+
run: |
|
|
97
|
+
uv sync --extra test --extra plotting
|
|
98
|
+
- name: List all installed packages
|
|
99
|
+
run: |
|
|
100
|
+
uv pip list
|
|
101
|
+
- name: Test with pytest
|
|
102
|
+
run: |
|
|
103
|
+
uv sync --extra test --extra plotting
|
|
104
|
+
uv run pytest --nbmake -n auto "./tutorials"
|
|
105
|
+
- name: Test without numba
|
|
106
|
+
if: ${{ matrix.python-version == '3.11' }}
|
|
107
|
+
run: |
|
|
108
|
+
uv pip uninstall numba
|
|
109
|
+
uv run pytest --nbmake -n auto "./tutorials"
|
|
110
|
+
|
|
111
|
+
docs_check:
|
|
112
|
+
name: Sphinx docs check
|
|
113
|
+
runs-on: ubuntu-latest
|
|
114
|
+
steps:
|
|
115
|
+
- uses: actions/checkout@v4
|
|
116
|
+
- name: Check sphinx build
|
|
117
|
+
uses: ammaraskar/sphinx-action@7.4.7
|
|
118
|
+
with:
|
|
119
|
+
pre-build-command: "python -m pip install uv && uv pip install .[docs] --system --link-mode=copy"
|
|
120
|
+
build-command: "sphinx-build -b html source _build -W"
|
|
121
|
+
docs-folder: "doc/"
|
|
@@ -20,27 +20,24 @@ jobs:
|
|
|
20
20
|
os: [ ubuntu-latest, windows-latest ]
|
|
21
21
|
steps:
|
|
22
22
|
- uses: actions/checkout@v4
|
|
23
|
-
- name:
|
|
24
|
-
uses:
|
|
23
|
+
- name: Install uv
|
|
24
|
+
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a #v4.2.0
|
|
25
25
|
with:
|
|
26
26
|
python-version: ${{ matrix.python-version }}
|
|
27
27
|
- name: Install dependencies
|
|
28
|
-
run:
|
|
29
|
-
python -m pip install --upgrade pip
|
|
30
|
-
python -m pip install .["all"]
|
|
31
|
-
shell: bash
|
|
28
|
+
run: uv sync --extra test
|
|
32
29
|
- name: List all installed packages
|
|
33
30
|
run: |
|
|
34
|
-
|
|
31
|
+
uv pip list
|
|
35
32
|
- name: Test with pytest
|
|
36
33
|
if: ${{ matrix.python-version != '3.11' }}
|
|
37
34
|
run: |
|
|
38
|
-
|
|
35
|
+
uv run pytest -n auto
|
|
39
36
|
- name: Test with pytest, Codecov and Coverage
|
|
40
37
|
if: ${{ matrix.python-version == '3.11' }}
|
|
41
38
|
run: |
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
uv pip install pytest-cov
|
|
40
|
+
uv run pytest --nbmake -n auto --cov=./ --cov-report=xml
|
|
44
41
|
cp ./coverage.xml ./codecov_coverage.xml
|
|
45
42
|
- name: Upload coverage to Codacy
|
|
46
43
|
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'}}
|
|
@@ -63,12 +60,6 @@ jobs:
|
|
|
63
60
|
'pandapipes/networks/network_files/**'
|
|
64
61
|
'**.yml'
|
|
65
62
|
'**.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
63
|
|
|
73
64
|
relying:
|
|
74
65
|
runs-on: ${{ matrix.os }}
|
|
@@ -78,29 +69,24 @@ jobs:
|
|
|
78
69
|
os: [ ubuntu-latest, windows-latest ]
|
|
79
70
|
steps:
|
|
80
71
|
- uses: actions/checkout@v4
|
|
81
|
-
- name:
|
|
82
|
-
uses:
|
|
72
|
+
- name: Install uv
|
|
73
|
+
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a #v4.2.0
|
|
83
74
|
with:
|
|
84
75
|
python-version: ${{ matrix.python-version }}
|
|
85
76
|
- name: Install dependencies
|
|
86
77
|
run: |
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
shell: bash
|
|
78
|
+
uv sync --extra test
|
|
79
|
+
uv pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower
|
|
90
80
|
- name: List all installed packages
|
|
91
81
|
run: |
|
|
92
|
-
|
|
82
|
+
uv pip list
|
|
93
83
|
- name: Test with pytest
|
|
94
|
-
|
|
95
|
-
run: |
|
|
96
|
-
python -m pytest -n=auto
|
|
97
|
-
- name: Test without numba
|
|
98
|
-
if: ${{ matrix.python-version == '3.11' }}
|
|
84
|
+
if: ${{ matrix.python-version != '3.11' }}
|
|
99
85
|
run: |
|
|
100
|
-
|
|
101
|
-
python -m pytest -n=auto
|
|
86
|
+
uv run pytest -n auto
|
|
102
87
|
|
|
103
88
|
tutorial_tests:
|
|
89
|
+
name: Tutorial tests
|
|
104
90
|
runs-on: ${{ matrix.os }}
|
|
105
91
|
strategy:
|
|
106
92
|
matrix:
|
|
@@ -108,44 +94,34 @@ jobs:
|
|
|
108
94
|
os: [ ubuntu-latest, windows-latest ]
|
|
109
95
|
steps:
|
|
110
96
|
- uses: actions/checkout@v4
|
|
111
|
-
- name:
|
|
112
|
-
uses:
|
|
97
|
+
- name: Install uv
|
|
98
|
+
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a #v4.2.0
|
|
113
99
|
with:
|
|
114
100
|
python-version: ${{ matrix.python-version }}
|
|
115
101
|
- name: Install dependencies
|
|
116
102
|
run: |
|
|
117
|
-
|
|
118
|
-
python -m pip install .["all"]
|
|
119
|
-
shell: bash
|
|
103
|
+
uv sync --extra test --extra plotting
|
|
120
104
|
- name: List all installed packages
|
|
121
105
|
run: |
|
|
122
|
-
|
|
106
|
+
uv pip list
|
|
123
107
|
- name: Test with pytest
|
|
124
108
|
run: |
|
|
125
|
-
|
|
109
|
+
uv run pytest --nbmake -n auto "./tutorials"
|
|
126
110
|
- name: Test without numba
|
|
127
111
|
if: ${{ matrix.python-version == '3.11' }}
|
|
128
112
|
run: |
|
|
129
|
-
|
|
130
|
-
|
|
113
|
+
uv pip uninstall numba
|
|
114
|
+
uv run pytest --nbmake -n auto "./tutorials"
|
|
131
115
|
|
|
132
116
|
|
|
133
117
|
docs_check:
|
|
118
|
+
name: Sphinx docs check
|
|
134
119
|
runs-on: ubuntu-latest
|
|
135
|
-
strategy:
|
|
136
|
-
matrix:
|
|
137
|
-
python-version: [ '3.11' ]
|
|
138
120
|
steps:
|
|
139
121
|
- uses: actions/checkout@v4
|
|
140
|
-
- name:
|
|
141
|
-
uses:
|
|
142
|
-
with:
|
|
143
|
-
python-version: ${{ matrix.python-version }}
|
|
144
|
-
- name: Check docs for Python ${{ matrix.python-version }}
|
|
145
|
-
uses: e2nIEE/sphinx-action@master
|
|
122
|
+
- name: Check sphinx build
|
|
123
|
+
uses: ammaraskar/sphinx-action@7.4.7
|
|
146
124
|
with:
|
|
147
|
-
pre-build-command: "
|
|
148
|
-
python -m pip install --upgrade pip;
|
|
149
|
-
python -m pip install .[docs];"
|
|
125
|
+
pre-build-command: "python -m pip install uv && uv pip install .[docs] --system --link-mode=copy"
|
|
150
126
|
build-command: "sphinx-build -b html source _build -W"
|
|
151
127
|
docs-folder: "doc/"
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
=============
|
|
3
3
|
|
|
4
|
+
[upcoming release] - 2025-..-..
|
|
5
|
+
-------------------------------
|
|
6
|
+
- [CHANGED] load JSON file with unknown objects as simple dicts is possible now
|
|
7
|
+
|
|
4
8
|
[0.11.0] - 2024-11-07
|
|
5
9
|
-------------------------------
|
|
6
10
|
- [ADDED] heat_consumer plotting
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pandapipes
|
|
3
|
-
Version: 0.12.0.
|
|
3
|
+
Version: 0.12.0.dev2
|
|
4
4
|
Summary: A pipeflow calculation tool that complements pandapower in the simulation of multi energy grids
|
|
5
5
|
Author-email: Simon Ruben Drauz-Mauel <simon.ruben.drauz-mauel@iee.fraunhofer.de>, Daniel Lohmeier <daniel.lohmeier@retoflow.de>, Jolando Marius Kisse <jolando.kisse@uni-kassel.de>
|
|
6
6
|
License: Copyright (c) 2020-2024 by Fraunhofer Institute for Energy Economics
|
|
@@ -54,14 +54,14 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
54
54
|
Requires-Python: >=3.9
|
|
55
55
|
Description-Content-Type: text/x-rst
|
|
56
56
|
License-File: LICENSE
|
|
57
|
-
Requires-Dist: pandapower
|
|
57
|
+
Requires-Dist: pandapower>=3.1
|
|
58
58
|
Requires-Dist: matplotlib
|
|
59
59
|
Requires-Dist: shapely
|
|
60
60
|
Provides-Extra: docs
|
|
61
|
-
Requires-Dist: numpydoc; extra == "docs"
|
|
62
|
-
Requires-Dist: sphinx; extra == "docs"
|
|
63
|
-
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
64
|
-
Requires-Dist: sphinxcontrib.bibtex; extra == "docs"
|
|
61
|
+
Requires-Dist: numpydoc>=1.5.0; extra == "docs"
|
|
62
|
+
Requires-Dist: sphinx>=5.3.0; extra == "docs"
|
|
63
|
+
Requires-Dist: sphinx_rtd_theme>=1.1.1; extra == "docs"
|
|
64
|
+
Requires-Dist: sphinxcontrib.bibtex>=2.5.0; extra == "docs"
|
|
65
65
|
Requires-Dist: sphinx-pyproject; extra == "docs"
|
|
66
66
|
Provides-Extra: plotting
|
|
67
67
|
Requires-Dist: plotly; extra == "plotting"
|
|
@@ -74,10 +74,11 @@ Requires-Dist: nbmake; extra == "test"
|
|
|
74
74
|
Requires-Dist: numba; extra == "test"
|
|
75
75
|
Requires-Dist: setuptools; python_version >= "3.12" and extra == "test"
|
|
76
76
|
Provides-Extra: all
|
|
77
|
-
Requires-Dist: numpydoc; extra == "all"
|
|
78
|
-
Requires-Dist: sphinx; extra == "all"
|
|
79
|
-
Requires-Dist: sphinx_rtd_theme; extra == "all"
|
|
80
|
-
Requires-Dist: sphinxcontrib.bibtex; extra == "all"
|
|
77
|
+
Requires-Dist: numpydoc>=1.5.0; extra == "all"
|
|
78
|
+
Requires-Dist: sphinx>=5.3.0; extra == "all"
|
|
79
|
+
Requires-Dist: sphinx_rtd_theme>=1.1.1; extra == "all"
|
|
80
|
+
Requires-Dist: sphinxcontrib.bibtex>=2.5.0; extra == "all"
|
|
81
|
+
Requires-Dist: sphinx-pyproject; extra == "all"
|
|
81
82
|
Requires-Dist: plotly; extra == "all"
|
|
82
83
|
Requires-Dist: igraph; extra == "all"
|
|
83
84
|
Requires-Dist: pytest; extra == "all"
|
|
@@ -86,9 +87,10 @@ Requires-Dist: pytest-split; extra == "all"
|
|
|
86
87
|
Requires-Dist: nbmake; extra == "all"
|
|
87
88
|
Requires-Dist: numba; extra == "all"
|
|
88
89
|
Requires-Dist: setuptools; python_version >= "3.12" and extra == "all"
|
|
90
|
+
Dynamic: license-file
|
|
89
91
|
|
|
90
92
|
|
|
91
|
-
.. image::
|
|
93
|
+
.. image:: ./doc/source/pics/pp.svg
|
|
92
94
|
:target: https://www.pandapipes.org
|
|
93
95
|
:width: 300em
|
|
94
96
|
:alt: logo
|
|
@@ -142,10 +144,10 @@ Getting started:
|
|
|
142
144
|
|
|
143
145
|
pandapipes is a development of the Department for Distribution System Operation at the Fraunhofer
|
|
144
146
|
Institute for Energy Economics and Energy System Technology (IEE), Kassel, and the research group
|
|
145
|
-
|
|
147
|
+
Department for Sustainable Electrical Energy Systems (e2n), University of Kassel.
|
|
146
148
|
|
|
147
149
|
|
|
148
|
-
.. image::
|
|
150
|
+
.. image:: ./doc/source/pics/iee.png
|
|
149
151
|
:target: https://www.iee.fraunhofer.de/en.html
|
|
150
152
|
:width: 350
|
|
151
153
|
|
|
@@ -157,8 +159,8 @@ Energy Management and Power System Operation, University of Kassel.
|
|
|
157
159
|
|
|
158
160
|
|
|
|
159
161
|
|
|
160
|
-
.. image::
|
|
161
|
-
:target: https://www.uni-kassel.de/eecs/en/
|
|
162
|
+
.. image:: ./doc/source/pics/e2n.png
|
|
163
|
+
:target: https://www.uni-kassel.de/eecs/en/e2n/home
|
|
162
164
|
:width: 250
|
|
163
165
|
|
|
164
166
|
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.. image::
|
|
2
|
+
.. image:: ./doc/source/pics/pp.svg
|
|
3
3
|
:target: https://www.pandapipes.org
|
|
4
4
|
:width: 300em
|
|
5
5
|
:alt: logo
|
|
@@ -53,10 +53,10 @@ Getting started:
|
|
|
53
53
|
|
|
54
54
|
pandapipes is a development of the Department for Distribution System Operation at the Fraunhofer
|
|
55
55
|
Institute for Energy Economics and Energy System Technology (IEE), Kassel, and the research group
|
|
56
|
-
|
|
56
|
+
Department for Sustainable Electrical Energy Systems (e2n), University of Kassel.
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
.. image::
|
|
59
|
+
.. image:: ./doc/source/pics/iee.png
|
|
60
60
|
:target: https://www.iee.fraunhofer.de/en.html
|
|
61
61
|
:width: 350
|
|
62
62
|
|
|
@@ -68,8 +68,8 @@ Energy Management and Power System Operation, University of Kassel.
|
|
|
68
68
|
|
|
69
69
|
|
|
|
70
70
|
|
|
71
|
-
.. image::
|
|
72
|
-
:target: https://www.uni-kassel.de/eecs/en/
|
|
71
|
+
.. image:: ./doc/source/pics/e2n.png
|
|
72
|
+
:target: https://www.uni-kassel.de/eecs/en/e2n/home
|
|
73
73
|
:width: 250
|
|
74
74
|
|
|
75
75
|
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pandapipes"
|
|
7
|
-
version = "0.12.0.
|
|
7
|
+
version = "0.12.0.dev2" # File format version '__format_version__' is tracked in __init__.py
|
|
8
8
|
authors=[
|
|
9
9
|
{ name = "Simon Ruben Drauz-Mauel", email = "simon.ruben.drauz-mauel@iee.fraunhofer.de" },
|
|
10
10
|
{ name = "Daniel Lohmeier", email = "daniel.lohmeier@retoflow.de" },
|
|
@@ -32,7 +32,7 @@ classifiers = [
|
|
|
32
32
|
"Programming Language :: Python :: 3.12"
|
|
33
33
|
]
|
|
34
34
|
dependencies = [
|
|
35
|
-
"pandapower
|
|
35
|
+
"pandapower >= 3.1",
|
|
36
36
|
"matplotlib",
|
|
37
37
|
"shapely",
|
|
38
38
|
]
|
|
@@ -51,16 +51,13 @@ Download = "https://pypi.org/project/pandapipes/#files"
|
|
|
51
51
|
Changelog = "https://github.com/e2nIEE/pandapipes/blob/develop/CHANGELOG.rst"
|
|
52
52
|
|
|
53
53
|
[project.optional-dependencies]
|
|
54
|
-
docs = ["numpydoc", "sphinx", "sphinx_rtd_theme", "sphinxcontrib.bibtex", "sphinx-pyproject"]
|
|
54
|
+
docs = ["numpydoc>=1.5.0", "sphinx>=5.3.0", "sphinx_rtd_theme>=1.1.1", "sphinxcontrib.bibtex>=2.5.0", "sphinx-pyproject"]
|
|
55
55
|
plotting = ["plotly", "igraph"]
|
|
56
|
-
test = [
|
|
57
|
-
"pytest", "pytest-xdist", "pytest-split", "nbmake", "numba",
|
|
58
|
-
"setuptools; python_version >= '3.12'"
|
|
59
|
-
]
|
|
56
|
+
test = ["pytest", "pytest-xdist", "pytest-split", "nbmake", "numba", "setuptools; python_version >= '3.12'"]
|
|
60
57
|
all = [
|
|
61
|
-
"numpydoc", "sphinx", "sphinx_rtd_theme", "sphinxcontrib.bibtex",
|
|
62
|
-
"plotly", "igraph",
|
|
63
|
-
"setuptools; python_version >= '3.12'"
|
|
58
|
+
"numpydoc>=1.5.0", "sphinx>=5.3.0", "sphinx_rtd_theme>=1.1.1", "sphinxcontrib.bibtex>=2.5.0", "sphinx-pyproject",
|
|
59
|
+
"plotly", "igraph",
|
|
60
|
+
"pytest", "pytest-xdist", "pytest-split", "nbmake", "numba","setuptools; python_version >= '3.12'"
|
|
64
61
|
]
|
|
65
62
|
|
|
66
63
|
[tool.setuptools.packages.find]
|
|
@@ -4,7 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
import importlib.metadata
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
try:
|
|
8
|
+
__version__ = importlib.metadata.version("pandapipes")
|
|
9
|
+
except importlib.metadata.PackageNotFoundError:
|
|
10
|
+
# if the package is not installed, try reading the toml itself
|
|
11
|
+
import tomllib
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
toml_file = Path(__file__).parent / "../../pyproject.toml"
|
|
14
|
+
if toml_file.exists() and toml_file.is_file():
|
|
15
|
+
with toml_file.open("rb") as f:
|
|
16
|
+
data = tomllib.load(f)
|
|
17
|
+
if "project" in data and "version" in data["project"]:
|
|
18
|
+
__version__ = data["project"]["version"]
|
|
19
|
+
|
|
8
20
|
__format_version__ = '0.11.0'
|
|
9
21
|
|
|
10
22
|
import pandas as pd
|
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
import numpy as np
|
|
6
6
|
|
|
7
7
|
from pandapipes.component_models.abstract_models.base_component import Component
|
|
8
|
-
from pandapipes.idx_branch import
|
|
9
|
-
|
|
8
|
+
from pandapipes.idx_branch import (
|
|
9
|
+
MDOTINIT,
|
|
10
|
+
branch_cols,
|
|
11
|
+
TEXT,
|
|
12
|
+
FLOW_RETURN_CONNECT,
|
|
13
|
+
)
|
|
14
|
+
from pandapipes.pf.pipeflow_setup import get_net_option
|
|
15
|
+
from pandapipes.pf.pipeflow_setup import get_table_number, get_lookup
|
|
10
16
|
|
|
11
17
|
try:
|
|
12
18
|
import pandaplan.core.pplog as logging
|
|
@@ -87,10 +93,11 @@ class BranchComponent(Component):
|
|
|
87
93
|
fn_col, tn_col = cls.from_to_node_cols()
|
|
88
94
|
from_nodes = junction_idx_lookup[net[cls.table_name()][fn_col].values]
|
|
89
95
|
to_nodes = junction_idx_lookup[net[cls.table_name()][tn_col].values]
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
96
|
+
if not get_net_option(net, "transient") or get_net_option(net, "simulation_time_step") == 0:
|
|
97
|
+
branch_component_pit[:, :] = np.array([branch_table_nr] + [0] * (branch_cols - 1))
|
|
98
|
+
branch_component_pit[:, MDOTINIT] = 0.1
|
|
99
|
+
branch_component_pit[:, TEXT] = get_net_option(net, 'ambient_temperature')
|
|
100
|
+
branch_component_pit[:, FLOW_RETURN_CONNECT] = False
|
|
94
101
|
return branch_component_pit, node_pit, from_nodes, to_nodes
|
|
95
102
|
|
|
96
103
|
@classmethod
|
|
@@ -7,10 +7,19 @@ import numpy as np
|
|
|
7
7
|
from pandapipes.component_models.abstract_models.branch_models import BranchComponent
|
|
8
8
|
from pandapipes.component_models.component_toolbox import set_entry_check_repeat, vinterp, \
|
|
9
9
|
p_correction_height_air
|
|
10
|
-
from pandapipes.idx_branch import ACTIVE, FROM_NODE, TO_NODE, ELEMENT_IDX, TOUTINIT
|
|
11
|
-
from pandapipes.idx_node import (
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
from pandapipes.idx_branch import ACTIVE, FROM_NODE, TO_NODE, ELEMENT_IDX, TOUTINIT, T_OUT_OLD
|
|
11
|
+
from pandapipes.idx_node import (
|
|
12
|
+
L,
|
|
13
|
+
node_cols,
|
|
14
|
+
TINIT as TINIT_NODE,
|
|
15
|
+
HEIGHT,
|
|
16
|
+
PINIT,
|
|
17
|
+
PAMB,
|
|
18
|
+
ACTIVE as ACTIVE_ND,
|
|
19
|
+
TINIT_OLD,
|
|
20
|
+
)
|
|
21
|
+
from pandapipes.pf.pipeflow_setup import add_table_lookup, get_lookup, get_table_number, \
|
|
22
|
+
get_net_option
|
|
14
23
|
|
|
15
24
|
try:
|
|
16
25
|
import pandaplan.core.pplog as logging
|
|
@@ -151,7 +160,7 @@ class BranchWInternalsComponent(BranchComponent):
|
|
|
151
160
|
int_node_pit[:, ELEMENT_IDX] = np.arange(t - f)
|
|
152
161
|
|
|
153
162
|
junction_table_name = cls.get_connected_node_type().table_name()
|
|
154
|
-
fj_name, tj_name =
|
|
163
|
+
fj_name, tj_name = cls.from_to_node_cols()
|
|
155
164
|
f_junction, t_junction = ft_lookup[junction_table_name]
|
|
156
165
|
junction_pit = node_pit[f_junction:t_junction, :]
|
|
157
166
|
from_junctions = net[cls.table_name()][fj_name].values.astype(np.int32)
|
|
@@ -160,16 +169,19 @@ class BranchWInternalsComponent(BranchComponent):
|
|
|
160
169
|
fj_nodes = junction_indices[from_junctions]
|
|
161
170
|
tj_nodes = junction_indices[to_junctions]
|
|
162
171
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
junction_pit[tj_nodes,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
172
|
+
if not get_net_option(net, "transient") or get_net_option(net, "simulation_time_step") == 0:
|
|
173
|
+
int_node_pit[:, TINIT_NODE] = vinterp(junction_pit[fj_nodes, TINIT_NODE],
|
|
174
|
+
junction_pit[tj_nodes, TINIT_NODE],
|
|
175
|
+
int_node_number)
|
|
176
|
+
int_node_pit[:, HEIGHT] = vinterp(junction_pit[fj_nodes, HEIGHT],
|
|
177
|
+
junction_pit[tj_nodes, HEIGHT], int_node_number)
|
|
178
|
+
int_node_pit[:, PINIT] = vinterp(junction_pit[fj_nodes, PINIT],
|
|
179
|
+
junction_pit[tj_nodes, PINIT], int_node_number)
|
|
180
|
+
int_node_pit[:, PAMB] = p_correction_height_air(int_node_pit[:, HEIGHT])
|
|
181
|
+
int_node_pit[:, ACTIVE_ND] = \
|
|
182
|
+
np.repeat(net[cls.table_name()][cls.active_identifier()].values, int_node_number)
|
|
183
|
+
if get_net_option(net, "transient"):
|
|
184
|
+
int_node_pit[:, TINIT_OLD] = int_node_pit[:, TINIT_NODE].astype(np.float64)
|
|
173
185
|
return table_nr, int_node_number, int_node_pit, junction_pit, fj_nodes, tj_nodes
|
|
174
186
|
|
|
175
187
|
@classmethod
|
|
@@ -208,7 +220,11 @@ class BranchWInternalsComponent(BranchComponent):
|
|
|
208
220
|
internal_pipe_number, has_internals)
|
|
209
221
|
branch_w_internals_pit[:, FROM_NODE] = from_nodes
|
|
210
222
|
branch_w_internals_pit[:, TO_NODE] = to_nodes
|
|
211
|
-
|
|
223
|
+
if not get_net_option(net, "transient") or get_net_option(net, "simulation_time_step") == 0:
|
|
224
|
+
branch_w_internals_pit[:, TOUTINIT] = node_pit[to_nodes, TINIT_NODE]
|
|
225
|
+
if get_net_option(net, "transient"):
|
|
226
|
+
branch_w_internals_pit[:, T_OUT_OLD] = branch_w_internals_pit[:, TOUTINIT]
|
|
227
|
+
|
|
212
228
|
return branch_w_internals_pit, internal_pipe_number
|
|
213
229
|
|
|
214
230
|
@classmethod
|
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
4
4
|
|
|
5
5
|
from pandapipes.component_models.abstract_models.branch_models import BranchComponent
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
from pandapipes.idx_branch import (
|
|
7
|
+
FROM_NODE,
|
|
8
|
+
TO_NODE,
|
|
9
|
+
TOUTINIT,
|
|
10
|
+
ELEMENT_IDX,
|
|
11
|
+
ACTIVE,
|
|
12
|
+
T_OUT_OLD,
|
|
13
|
+
)
|
|
8
14
|
from pandapipes.idx_node import TINIT as TINIT_NODE
|
|
9
|
-
|
|
10
|
-
from pandapipes.pf.pipeflow_setup import add_table_lookup
|
|
15
|
+
from pandapipes.pf.pipeflow_setup import add_table_lookup, get_net_option
|
|
11
16
|
|
|
12
17
|
try:
|
|
13
18
|
import pandaplan.core.pplog as logging
|
|
@@ -78,11 +83,14 @@ class BranchWOInternalsComponent(BranchComponent):
|
|
|
78
83
|
"""
|
|
79
84
|
branch_wo_internals_pit, node_pit, from_nodes, to_nodes \
|
|
80
85
|
= super().create_pit_branch_entries(net, branch_pit)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
if not get_net_option(net, "transient") or get_net_option(net, "simulation_time_step") == 0:
|
|
87
|
+
branch_wo_internals_pit[:, TOUTINIT] = node_pit[to_nodes, TINIT_NODE]
|
|
88
|
+
branch_wo_internals_pit[:, ELEMENT_IDX] = net[cls.table_name()].index.values
|
|
89
|
+
branch_wo_internals_pit[:, FROM_NODE] = from_nodes
|
|
90
|
+
branch_wo_internals_pit[:, TO_NODE] = to_nodes
|
|
91
|
+
branch_wo_internals_pit[:, ACTIVE] = net[cls.table_name()][cls.active_identifier()].values
|
|
92
|
+
if get_net_option(net, "transient"):
|
|
93
|
+
branch_wo_internals_pit[:, T_OUT_OLD] = branch_wo_internals_pit[:, TOUTINIT]
|
|
86
94
|
return branch_wo_internals_pit
|
|
87
95
|
|
|
88
96
|
@classmethod
|
|
@@ -225,3 +225,7 @@ def get_component_array(net, component_name, component_type="branch", mode='hydr
|
|
|
225
225
|
f_all, t_all = get_lookup(net, component_type, "from_to")[component_name]
|
|
226
226
|
in_service_elm = get_lookup(net, component_type, "active_%s"%mode)[f_all:t_all]
|
|
227
227
|
return net["_pit"]["components"][component_name][in_service_elm]
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def get_std_type_lookup(net, table_name):
|
|
231
|
+
return np.array(list(net.std_types[table_name].keys()))
|