pandapipes 0.9.0__zip → 0.10.0__zip
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.9.0 → pandapipes-0.10.0}/.github/workflows/run_tests_develop.yml +1 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/.github/workflows/run_tests_master.yml +1 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/CHANGELOG.rst +19 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/PKG-INFO +22 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/setup.cfg +1 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/setup.py +2 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/__init__.py +2 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/branch_models.py +2 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/branch_w_internals_models.py +18 -9
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/branch_wo_internals_models.py +3 -7
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/branch_wzerolength_models.py +3 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/circulation_pump.py +1 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/compressor_component.py +3 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/flow_control_component.py +5 -6
- pandapipes-0.10.0/src/pandapipes/component_models/heat_consumer_component.py +228 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/heat_exchanger_component.py +1 -5
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/junction_component.py +1 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/pipe_component.py +10 -38
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/pressure_control_component.py +2 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/pump_component.py +4 -4
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/preparing_steps.py +3 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/create.py +161 -15
- pandapipes-0.10.0/src/pandapipes/idx_branch.py +44 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/idx_node.py +10 -11
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/io/convert_format.py +1 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/simple_gas_networks.py +4 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/build_system_matrix.py +6 -7
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/derivative_calculation.py +53 -47
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/derivative_toolbox.py +61 -56
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/derivative_toolbox_numba.py +63 -72
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/pipeflow_setup.py +43 -13
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/result_extraction.py +13 -13
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pipeflow.py +23 -23
- pandapipes-0.10.0/src/pandapipes/plotting/pipeflow_results.py +116 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/fluids.py +5 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/properties_toolbox.py +40 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/__init__.py +2 -1
- pandapipes-0.10.0/src/pandapipes/test/api/old_versions/example_0.10.0_gas.json +458 -0
- pandapipes-0.10.0/src/pandapipes/test/api/old_versions/example_0.10.0_water.json +520 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/release_cycle/release_control_test_network.py +137 -10
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_circ_pump_mass.py +7 -4
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_circ_pump_pressure.py +7 -4
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_compressor.py +3 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_ext_grid.py +55 -34
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_flow_control.py +12 -4
- pandapipes-0.10.0/src/pandapipes/test/api/test_components/test_heat_consumer.py +169 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_heat_exchanger.py +7 -4
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_mass_storage.py +2 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_pipe_results.py +5 -4
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_pressure_control.py +5 -5
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_pump.py +26 -19
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/test_valve.py +5 -5
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_convert_format.py +23 -6
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_special_networks.py +10 -7
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_time_series.py +5 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/converter/test_stanet_converter.py +10 -5
- pandapipes-0.10.0/src/pandapipes/test/data/test_pressure_control.csv +5 -0
- pandapipes-0.10.0/src/pandapipes/test/data/test_pump.csv +5 -0
- pandapipes-0.10.0/src/pandapipes/test/data/test_time_series_results/res_pipe/v_mean_m_per_s.csv +26 -0
- pandapipes-0.10.0/src/pandapipes/test/data/test_valve.csv +9 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/multinet/test_control_multinet.py +28 -18
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/multinet/test_time_series_multinet.py +5 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/networks/test_networks.py +6 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/openmodelica_comparison/pipeflow_openmodelica_comparison.py +5 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/openmodelica_comparison/test_heat_transfer_openmodelica.py +40 -8
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/openmodelica_comparison/test_water_openmodelica.py +126 -32
- pandapipes-0.10.0/src/pandapipes/test/pipeflow_internals/__init__.py +4 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pipeflow_internals/test_inservice.py +91 -44
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pipeflow_internals/test_non_convergence.py +4 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pipeflow_internals/test_options.py +55 -5
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pipeflow_internals/test_pipeflow_analytic_comparison.py +48 -25
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pipeflow_internals/test_pipeflow_modes.py +22 -11
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pipeflow_internals/test_time_series.py +14 -20
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pipeflow_internals/test_update_matrix.py +2 -1
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/plotting/test_pipeflow_results.py +4 -2
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/stanet_comparison/pipeflow_stanet_comparison.py +5 -4
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/stanet_comparison/test_gas_stanet.py +129 -67
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/stanet_comparison/test_water_stanet.py +140 -69
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/test_toolbox.py +7 -6
- pandapipes-0.10.0/src/pandapipes/test/topology/test_graph_searches.py +54 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/timeseries/run_time_series.py +3 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/toolbox.py +5 -5
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/topology/__init__.py +1 -0
- pandapipes-0.10.0/src/pandapipes/topology/graph_searches.py +188 -0
- pandapipes-0.10.0/src/pandapipes/topology/topology_toolbox.py +42 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes.egg-info/PKG-INFO +22 -3
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes.egg-info/SOURCES.txt +31 -26
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes.egg-info/requires.txt +1 -1
- pandapipes-0.9.0/src/pandapipes/idx_branch.py +0 -47
- pandapipes-0.9.0/src/pandapipes/plotting/pipeflow_results.py +0 -38
- pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals/__init__.py +0 -7
- pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals/data/test_pressure_control.csv +0 -5
- pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals/data/test_pump.csv +0 -5
- pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals/data/test_time_series_results/res_pipe/v_mean_m_per_s.csv +0 -26
- pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals/data/test_valve.csv +0 -9
- pandapipes-0.9.0/src/pandapipes/test/topology/test_graph_searches.py +0 -20
- pandapipes-0.9.0/src/pandapipes/topology/graph_searches.py +0 -84
- {pandapipes-0.9.0 → pandapipes-0.10.0}/.github/workflows/release.yml +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/AUTHORS +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/LICENSE +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/MANIFEST.in +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/README.rst +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/base_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/const_flow_models.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/node_element_models.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/abstract_models/node_models.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/circulation_pump_mass_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/circulation_pump_pressure_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/component_toolbox.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/ext_grid_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/mass_storage_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/sink_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/source_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/valve_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/constants.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/control/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/control/run_control.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/data_cleaning.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/stanet2pandapipes.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/table_creation.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/valve_pipe_component/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/valve_pipe_component/create_valve_pipe.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/valve_pipe_component/valve_pipe_component.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/converter/stanet/valve_pipe_component/valve_pipe_plotting.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/io/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/io/file_io.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/io/io_utils.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/control/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/control/controller/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/control/controller/multinet_control.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/control/run_control_multinet.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/create_multinet.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/multinet.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/timeseries/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/multinet/timeseries/run_time_series_multinet.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/gas_net_schutterwald_1bar.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/delta.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/delta_2sinks.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/heights.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/one_pipe.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/one_source.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/section_variation.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/t_cross.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/heat_transfer_cases/two_pipes.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/combined_networks/mixed_net.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/combined_networks/versatility.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/delta.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/heights.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/pumps.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/meshed_networks/two_valves.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_1.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_2.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/one_pipe/pipe_3.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/cross_3ext.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/strand_net.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/two_pipes.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/strand_net/two_pumps.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/t_cross/t_cross.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/t_cross/valves.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_colebrook/two_pressure_junctions/two_pipes.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/combined_networks/mixed_net.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/combined_networks/versatility.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/delta.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/heights.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/one_valve_stanet.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/pumps.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/meshed_networks/two_valves.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_1.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_2.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/one_pipe/pipe_3.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/cross_3ext.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net_stanet_variation1.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/strand_net_stanet_variation2.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/two_pipes.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/strand_net/two_pumps.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/t_cross/t_cross.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/t_cross/valves.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/two_pressure_junctions/one_pipe_stanet.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/openmodelica_test_networks/water_cases_swamee-jain/two_pressure_junctions/two_pipes.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural1--0-no_sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural1--0-sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural2--0-no_sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural2--0-sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural3--0-no_sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-rural3--0-sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb4--0-no_sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb4--0-sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb5--0-no_sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-semiurb5--0-sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-urban6--0-no_sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/simbench_test_networks/1-LV-urban6--0-sw.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/parallel_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/parallel_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/combined_networks/versatility_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/delta_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/pumps_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/square_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/square_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/two_valves_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/meshed_networks/two_valves_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_1_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_1_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_2_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/one_pipe/pipe_2_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/pump_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/two_pipes_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/strand_net/two_pipes_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross1_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross1_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross2_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/t_cross/t_cross2_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/two_pressure_junctions/H_net_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/gas_cases/two_pressure_junctions/H_net_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/district_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/district_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/versatility_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/combined_networks/versatility_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/delta_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/pumps_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/two_valves_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/meshed_networks/two_valves_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_1_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_1_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_2_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_2_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_3_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/one_pipe/pipe_3_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/cross_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/pump_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/strand_net_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/strand_net_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/two_pipes_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/strand_net/two_pipes_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/t_cross/t_cross_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/t_cross/t_cross_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/two_pressure_junctions/two_pipes_N.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/network_files/stanet_test_networks/water_cases/two_pressure_junctions/two_pipes_PC.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/nw_aux.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/simple_heat_transfer_networks.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/networks/simple_water_networks.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pandapipes_net.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/pf/internals_toolbox.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/plotting/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/plotting/collections.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/plotting/generic_geodata.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/plotting/geo.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/plotting/patch_makers.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/plotting/plotting_toolbox.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/plotting/simple_plot.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/air/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/air/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/air/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/air/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/air/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/air/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/gas_composition.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/higher_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_pure/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/gas_composition.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/higher_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/biomethane_treated/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/carbondioxide/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/carbondioxide/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/carbondioxide/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/carbondioxide/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/ethane/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/ethane/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/ethane/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/ethane/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/higher_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/lower_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hgas/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/higher_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/lower_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/hydrogen/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/higher_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/lower_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/lgas/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/higher_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/lower_heating_value.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/methane/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/nitrogen/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/nitrogen/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/nitrogen/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/nitrogen/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/oxygen/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/oxygen/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/oxygen/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/oxygen/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/water/compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/water/density.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/water/der_compressibility.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/water/heat_capacity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/water/molar_mass.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/properties/water/viscosity.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/std_types/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/std_types/library/Pipe.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/std_types/library/Pump/P1.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/std_types/library/Pump/P2.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/std_types/library/Pump/P3.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/std_types/std_type_class.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/std_types/std_types.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.1.0.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.1.1.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.1.2.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.2.0.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.4.0.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.5.0.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.6.0.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.7.0.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.0_gas.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.0_water.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.1_gas.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.1_water.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.2_gas.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.2_water.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.3_gas.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.3_water.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.4_gas.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.4_water.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.5_gas.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.8.5_water.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.9.0_gas.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/old_versions/example_0.9.0_water.json +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/release_cycle/release_control_test_sink_profiles.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/release_cycle/release_control_test_source_profiles.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_aux_function.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_components/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_create.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_network_tables.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/api/test_std_types.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/converter/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_2valvepipe.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_valve_2sliders_closed.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/converter/converter_test_files/Exampelonia_mini_with_valve_2sliders_open.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/Temperature_2zu_2ab_an.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/Temperature_masche_1load_an.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/Temperature_masche_1load_direction_an.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/Temperature_one_pipe_an.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/Temperature_tee_2ab_1zu_an.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/Temperature_tee_2zu_1ab_an.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/ext_grid_p.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/gas_sections_an.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/heat_exchanger_test.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/hydraulics.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/pressure_control_test_analytical.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_circ_pump_mass.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_circ_pump_pressure.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_results/res_ext_grid/mdot_kg_per_s.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_results/res_junction/p_bar.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_results/res_pipe/lambda.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_results/res_pipe/reynolds.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_results/res_sink/mdot_kg_per_s.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_results/res_source/mdot_kg_per_s.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_sink_profiles.csv +0 -0
- {pandapipes-0.9.0/src/pandapipes/test/pipeflow_internals → pandapipes-0.10.0/src/pandapipes/test}/data/test_time_series_source_profiles.csv +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/io/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/io/test_file_io.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/multinet/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/networks/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/openmodelica_comparison/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/plotting/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/plotting/test_collections.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/plotting/test_generic_coordinates.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/plotting/test_simple_collections.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/properties/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/properties/test_fluid_specials.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/properties/test_properties_toolbox.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/pytest.ini +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/run_tests.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/stanet_comparison/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/test_imports.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/topology/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/test/topology/test_nxgraph.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/timeseries/__init__.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/topology/create_graph.py +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes.egg-info/dependency_links.txt +0 -0
- {pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes.egg-info/top_level.txt +0 -0
|
@@ -99,7 +99,7 @@ jobs:
|
|
|
99
99
|
- name: Install dependencies
|
|
100
100
|
run: |
|
|
101
101
|
python -m pip install --upgrade pip
|
|
102
|
-
python -m pip install pytest nbmake pytest-xdist pytest-split igraph
|
|
102
|
+
python -m pip install pytest==8.0.2 nbmake pytest-xdist pytest-split igraph
|
|
103
103
|
if [${{ matrix.python-version != '3.11' }}]; then python -m pip install numba; fi
|
|
104
104
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
105
105
|
python -m pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower
|
|
@@ -66,7 +66,7 @@ jobs:
|
|
|
66
66
|
- name: Install dependencies
|
|
67
67
|
run: |
|
|
68
68
|
python -m pip install --upgrade pip
|
|
69
|
-
python -m pip install pytest nbmake pytest-xdist pytest-split igraph
|
|
69
|
+
python -m pip install pytest==8.0.2 nbmake pytest-xdist pytest-split igraph
|
|
70
70
|
if [${{ matrix.python-version != '3.11' }}]; then python -m pip install numba; fi
|
|
71
71
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
72
72
|
python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower
|
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
=============
|
|
3
3
|
|
|
4
|
+
[0.10.0] - 2024-04-09
|
|
5
|
+
-------------------------------
|
|
6
|
+
|
|
7
|
+
- [ADDED] function for plotting pressure profile
|
|
8
|
+
- [ADDED] function for calculating distance to junctions
|
|
9
|
+
- [ADDED] topology function for returning unsupplied junctions
|
|
10
|
+
- [ADDED] topology function for returning elements on path
|
|
11
|
+
- [ADDED] function for getting all branch-component table names
|
|
12
|
+
- [ADDED] function for getting all branch-component models
|
|
13
|
+
- [ADDED] component 'heat_consumer' that combines the two components heat_exchanger and flow_control
|
|
14
|
+
- [CHANGED] moving generalizing pit entries up from specific components to the abstract class
|
|
15
|
+
- [CHANGED] 'JAC_DERIV_DT1' to 'JAC_DERIV_DTOUT'
|
|
16
|
+
- [CHANGED] solving for minit instead of vinit
|
|
17
|
+
- [CHANGED] distinct max. iteration settings for hydraulic and thermal calculation
|
|
18
|
+
- [CHANGED] default tolerances from 1e-4 to 1e-5
|
|
19
|
+
- [FIXED] results of old grid are wrong, pipeflow needs to be conducted again
|
|
20
|
+
- [FIXED] taking norm density instead of real density in Darcy-Weisbach equation
|
|
21
|
+
- [FIXED] in circulation pumps only junctions in-service are considered
|
|
22
|
+
|
|
4
23
|
[0.9.0] - 2023-12-22
|
|
5
24
|
-------------------------------
|
|
6
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pandapipes
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.10.0
|
|
4
4
|
Summary: A pipeflow calculation tool that complements pandapower in the simulation of multi energy grids
|
|
5
5
|
Home-page: http://www.pandapipes.org
|
|
6
6
|
Author: Simon Ruben Drauz-Mauel, Daniel Lohmeier, Jolando Marius Kisse
|
|
@@ -17,9 +17,9 @@ Classifier: Operating System :: OS Independent
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
23
23
|
Description-Content-Type: text/x-rst
|
|
24
24
|
Provides-Extra: docs
|
|
25
25
|
Provides-Extra: plotting
|
|
@@ -110,6 +110,25 @@ the `pandapipes contribution guidelines <https://github.com/e2nIEE/pandapipes/bl
|
|
|
110
110
|
Change Log
|
|
111
111
|
=============
|
|
112
112
|
|
|
113
|
+
[0.10.0] - 2024-04-09
|
|
114
|
+
-------------------------------
|
|
115
|
+
|
|
116
|
+
- [ADDED] function for plotting pressure profile
|
|
117
|
+
- [ADDED] function for calculating distance to junctions
|
|
118
|
+
- [ADDED] topology function for returning unsupplied junctions
|
|
119
|
+
- [ADDED] topology function for returning elements on path
|
|
120
|
+
- [ADDED] function for getting all branch-component table names
|
|
121
|
+
- [ADDED] function for getting all branch-component models
|
|
122
|
+
- [ADDED] component 'heat_consumer' that combines the two components heat_exchanger and flow_control
|
|
123
|
+
- [CHANGED] moving generalizing pit entries up from specific components to the abstract class
|
|
124
|
+
- [CHANGED] 'JAC_DERIV_DT1' to 'JAC_DERIV_DTOUT'
|
|
125
|
+
- [CHANGED] solving for minit instead of vinit
|
|
126
|
+
- [CHANGED] distinct max. iteration settings for hydraulic and thermal calculation
|
|
127
|
+
- [CHANGED] default tolerances from 1e-4 to 1e-5
|
|
128
|
+
- [FIXED] results of old grid are wrong, pipeflow needs to be conducted again
|
|
129
|
+
- [FIXED] taking norm density instead of real density in Darcy-Weisbach equation
|
|
130
|
+
- [FIXED] in circulation pumps only junctions in-service are considered
|
|
131
|
+
|
|
113
132
|
[0.9.0] - 2023-12-22
|
|
114
133
|
-------------------------------
|
|
115
134
|
|
|
@@ -35,7 +35,7 @@ long_description = '\n\n'.join((install, changelog))
|
|
|
35
35
|
|
|
36
36
|
setup(
|
|
37
37
|
name='pandapipes',
|
|
38
|
-
version='0.
|
|
38
|
+
version='0.10.0',
|
|
39
39
|
author='Simon Ruben Drauz-Mauel, Daniel Lohmeier, Jolando Marius Kisse',
|
|
40
40
|
author_email='simon.ruben.drauz-mauel@iee.fraunhofer.de, daniel.lohmeier@retoflow.de, '
|
|
41
41
|
'jolando.kisse@uni-kassel.de',
|
|
@@ -44,7 +44,7 @@ setup(
|
|
|
44
44
|
long_description_content_type='text/x-rst',
|
|
45
45
|
url='http://www.pandapipes.org',
|
|
46
46
|
license='BSD',
|
|
47
|
-
install_requires=["pandapower>=2.
|
|
47
|
+
install_requires=["pandapower>=2.14.6", "matplotlib", "shapely"],
|
|
48
48
|
extras_require={"docs": ["numpydoc", "sphinx", "sphinx_rtd_theme", "sphinxcontrib.bibtex"],
|
|
49
49
|
"plotting": ["plotly", "igraph"],
|
|
50
50
|
"test": ["pytest", "pytest-xdist", "nbmake"],
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
# and Energy System Technology (IEE), Kassel, and University of Kassel. All rights reserved.
|
|
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
|
-
__version__ = '0.
|
|
6
|
-
__format_version__ = '0.
|
|
5
|
+
__version__ = '0.10.0'
|
|
6
|
+
__format_version__ = '0.10.0'
|
|
7
7
|
|
|
8
8
|
import pandas as pd
|
|
9
9
|
import os
|
|
@@ -5,7 +5,7 @@
|
|
|
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
|
|
8
|
+
from pandapipes.idx_branch import MDOTINIT, branch_cols
|
|
9
9
|
from pandapipes.pf.pipeflow_setup import get_table_number, get_lookup
|
|
10
10
|
|
|
11
11
|
try:
|
|
@@ -88,7 +88,7 @@ class BranchComponent(Component):
|
|
|
88
88
|
from_nodes = junction_idx_lookup[net[cls.table_name()][fn_col].values]
|
|
89
89
|
to_nodes = junction_idx_lookup[net[cls.table_name()][tn_col].values]
|
|
90
90
|
branch_component_pit[:, :] = np.array([branch_table_nr] + [0] * (branch_cols - 1))
|
|
91
|
-
branch_component_pit[:,
|
|
91
|
+
branch_component_pit[:, MDOTINIT] = 0.1
|
|
92
92
|
return branch_component_pit, node_pit, from_nodes, to_nodes
|
|
93
93
|
|
|
94
94
|
@classmethod
|
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
import numpy as np
|
|
6
6
|
|
|
7
7
|
from pandapipes.component_models.abstract_models.branch_models import BranchComponent
|
|
8
|
-
from pandapipes.component_models.component_toolbox import set_entry_check_repeat
|
|
9
|
-
|
|
10
|
-
from pandapipes.
|
|
8
|
+
from pandapipes.component_models.component_toolbox import set_entry_check_repeat, vinterp, \
|
|
9
|
+
p_correction_height_air
|
|
10
|
+
from pandapipes.idx_branch import ACTIVE, FROM_NODE, FROM_NODE_T, TO_NODE, TO_NODE_T, TOUTINIT, ELEMENT_IDX, TOUTINIT
|
|
11
|
+
from pandapipes.idx_node import (L, node_cols, TINIT as TINIT_NODE, HEIGHT, PINIT, PAMB,
|
|
12
|
+
ACTIVE as ACTIVE_ND)
|
|
11
13
|
from pandapipes.pf.pipeflow_setup import add_table_lookup, get_lookup, get_table_number
|
|
12
|
-
from pandapipes.properties.fluids import get_fluid
|
|
13
14
|
|
|
14
15
|
try:
|
|
15
16
|
import pandaplan.core.pplog as logging
|
|
@@ -158,6 +159,17 @@ class BranchWInternalsComponent(BranchComponent):
|
|
|
158
159
|
junction_indices = get_lookup(net, "node", "index")[junction_table_name]
|
|
159
160
|
fj_nodes = junction_indices[from_junctions]
|
|
160
161
|
tj_nodes = junction_indices[to_junctions]
|
|
162
|
+
|
|
163
|
+
int_node_pit[:, HEIGHT] = vinterp(junction_pit[fj_nodes, HEIGHT],
|
|
164
|
+
junction_pit[tj_nodes, HEIGHT], int_node_number)
|
|
165
|
+
int_node_pit[:, PINIT] = vinterp(junction_pit[fj_nodes, PINIT],
|
|
166
|
+
junction_pit[tj_nodes, PINIT], int_node_number)
|
|
167
|
+
int_node_pit[:, TINIT_NODE] = vinterp(junction_pit[fj_nodes, TINIT_NODE],
|
|
168
|
+
junction_pit[tj_nodes, TINIT_NODE],
|
|
169
|
+
int_node_number)
|
|
170
|
+
int_node_pit[:, PAMB] = p_correction_height_air(int_node_pit[:, HEIGHT])
|
|
171
|
+
int_node_pit[:, ACTIVE_ND] = \
|
|
172
|
+
np.repeat(net[cls.table_name()][cls.active_identifier()].values, int_node_number)
|
|
161
173
|
return table_nr, int_node_number, int_node_pit, junction_pit, fj_nodes, tj_nodes
|
|
162
174
|
|
|
163
175
|
@classmethod
|
|
@@ -195,13 +207,10 @@ class BranchWInternalsComponent(BranchComponent):
|
|
|
195
207
|
branch_w_internals_pit, ACTIVE, net[cls.table_name()][cls.active_identifier()].values,
|
|
196
208
|
internal_pipe_number, has_internals)
|
|
197
209
|
branch_w_internals_pit[:, FROM_NODE] = from_nodes
|
|
210
|
+
branch_w_internals_pit[:, FROM_NODE_T] = from_nodes
|
|
198
211
|
branch_w_internals_pit[:, TO_NODE] = to_nodes
|
|
212
|
+
branch_w_internals_pit[:, TO_NODE_T] = to_nodes
|
|
199
213
|
branch_w_internals_pit[:, TOUTINIT] = node_pit[to_nodes, TINIT_NODE]
|
|
200
|
-
tm = (node_pit[from_nodes, TINIT_NODE] + branch_w_internals_pit[:, TOUTINIT]) / 2
|
|
201
|
-
fluid = get_fluid(net)
|
|
202
|
-
branch_w_internals_pit[:, RHO] = fluid.get_density(tm)
|
|
203
|
-
branch_w_internals_pit[:, ETA] = fluid.get_viscosity(tm)
|
|
204
|
-
branch_w_internals_pit[:, CP] = fluid.get_heat_capacity(tm)
|
|
205
214
|
return branch_w_internals_pit, internal_pipe_number
|
|
206
215
|
|
|
207
216
|
@classmethod
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
from pandapipes.component_models.abstract_models.branch_models import BranchComponent
|
|
6
6
|
|
|
7
|
-
from pandapipes.idx_branch import FROM_NODE,
|
|
7
|
+
from pandapipes.idx_branch import FROM_NODE, FROM_NODE_T, TO_NODE, TO_NODE_T, TOUTINIT, ELEMENT_IDX, ACTIVE
|
|
8
8
|
from pandapipes.idx_node import TINIT as TINIT_NODE
|
|
9
9
|
|
|
10
10
|
from pandapipes.pf.pipeflow_setup import add_table_lookup
|
|
11
|
-
from pandapipes.properties.fluids import get_fluid
|
|
12
11
|
|
|
13
12
|
try:
|
|
14
13
|
import pandaplan.core.pplog as logging
|
|
@@ -81,13 +80,10 @@ class BranchWOInternalsComponent(BranchComponent):
|
|
|
81
80
|
= super().create_pit_branch_entries(net, branch_pit)
|
|
82
81
|
branch_wo_internals_pit[:, ELEMENT_IDX] = net[cls.table_name()].index.values
|
|
83
82
|
branch_wo_internals_pit[:, FROM_NODE] = from_nodes
|
|
83
|
+
branch_wo_internals_pit[:, FROM_NODE_T] = from_nodes
|
|
84
84
|
branch_wo_internals_pit[:, TO_NODE] = to_nodes
|
|
85
|
+
branch_wo_internals_pit[:, TO_NODE_T] = to_nodes
|
|
85
86
|
branch_wo_internals_pit[:, TOUTINIT] = node_pit[to_nodes, TINIT_NODE]
|
|
86
|
-
tm = (node_pit[from_nodes, TINIT_NODE] + branch_wo_internals_pit[:, TOUTINIT]) / 2
|
|
87
|
-
fluid = get_fluid(net)
|
|
88
|
-
branch_wo_internals_pit[:, RHO] = fluid.get_density(tm)
|
|
89
|
-
branch_wo_internals_pit[:, ETA] = fluid.get_viscosity(tm)
|
|
90
|
-
branch_wo_internals_pit[:, CP] = fluid.get_heat_capacity(tm)
|
|
91
87
|
branch_wo_internals_pit[:, ACTIVE] = net[cls.table_name()][cls.active_identifier()].values
|
|
92
88
|
return branch_wo_internals_pit
|
|
93
89
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
from pandapipes.component_models.abstract_models.branch_wo_internals_models import \
|
|
6
6
|
BranchWOInternalsComponent
|
|
7
|
-
from pandapipes.idx_branch import LENGTH, K
|
|
7
|
+
from pandapipes.idx_branch import LENGTH, K, TEXT, ALPHA
|
|
8
8
|
|
|
9
9
|
try:
|
|
10
10
|
import pandaplan.core.pplog as logging
|
|
@@ -58,6 +58,8 @@ class BranchWZeroLengthComponent(BranchWOInternalsComponent):
|
|
|
58
58
|
super().create_pit_branch_entries(net, branch_pit)
|
|
59
59
|
branch_wzerolength_pit[:, LENGTH] = 0
|
|
60
60
|
branch_wzerolength_pit[:, K] = 1000
|
|
61
|
+
branch_wzerolength_pit[:, TEXT] = 293.15
|
|
62
|
+
branch_wzerolength_pit[:, ALPHA] = 0
|
|
61
63
|
return branch_wzerolength_pit
|
|
62
64
|
|
|
63
65
|
@classmethod
|
|
@@ -68,7 +68,7 @@ class CirculationPump(BranchWZeroLengthComponent):
|
|
|
68
68
|
"""
|
|
69
69
|
circ_pump_tbl = net[cls.table_name()][net[cls.table_name()][cls.active_identifier()].values]
|
|
70
70
|
|
|
71
|
-
junction =
|
|
71
|
+
junction = circ_pump_tbl[cls.from_to_node_cols()[1]].values
|
|
72
72
|
|
|
73
73
|
# TODO: there should be a warning, if any p_bar value is not given or any of the types does
|
|
74
74
|
# not contain "p", as this should not be allowed for this component
|
{pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/compressor_component.py
RENAMED
|
@@ -8,7 +8,7 @@ from numpy import dtype
|
|
|
8
8
|
from pandapipes.component_models.component_toolbox import get_component_array
|
|
9
9
|
from pandapipes.component_models.junction_component import Junction
|
|
10
10
|
from pandapipes.component_models.pump_component import Pump
|
|
11
|
-
from pandapipes.idx_branch import
|
|
11
|
+
from pandapipes.idx_branch import MDOTINIT, D, AREA, LOSS_COEFFICIENT as LC, FROM_NODE, PL
|
|
12
12
|
from pandapipes.idx_node import PINIT, PAMB
|
|
13
13
|
|
|
14
14
|
|
|
@@ -76,8 +76,8 @@ class Compressor(Pump):
|
|
|
76
76
|
p_to_calc = p_from * compressor_array[:, cls.PRESSURE_RATIO]
|
|
77
77
|
pl_abs = p_to_calc - p_from
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
pl_abs[
|
|
79
|
+
m_mps = compressor_branch_pit[:, MDOTINIT]
|
|
80
|
+
pl_abs[m_mps < 0] = 0 # force pressure lift = 0 for reverse flow
|
|
81
81
|
|
|
82
82
|
compressor_branch_pit[:, PL] = pl_abs
|
|
83
83
|
|
{pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/flow_control_component.py
RENAMED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import numpy as np
|
|
6
6
|
from numpy import dtype
|
|
7
7
|
|
|
8
|
-
from pandapipes.component_models.abstract_models import BranchWZeroLengthComponent
|
|
8
|
+
from pandapipes.component_models.abstract_models import BranchWZeroLengthComponent
|
|
9
|
+
from pandapipes.properties import get_fluid
|
|
9
10
|
from pandapipes.component_models.component_toolbox import \
|
|
10
11
|
standard_branch_wo_internals_result_lookup, get_component_array
|
|
11
12
|
from pandapipes.component_models.junction_component import Junction
|
|
12
|
-
from pandapipes.idx_branch import D, AREA, JAC_DERIV_DP, JAC_DERIV_DP1,
|
|
13
|
-
RHO, LOAD_VEC_BRANCHES
|
|
13
|
+
from pandapipes.idx_branch import D, AREA, JAC_DERIV_DP, JAC_DERIV_DP1, JAC_DERIV_DM, MDOTINIT, LOAD_VEC_BRANCHES
|
|
14
14
|
from pandapipes.pf.result_extraction import extract_branch_results_without_internals
|
|
15
15
|
|
|
16
16
|
|
|
@@ -51,8 +51,7 @@ class FlowControlComponent(BranchWZeroLengthComponent):
|
|
|
51
51
|
fc_branch_pit = super().create_pit_branch_entries(net, branch_pit)
|
|
52
52
|
fc_branch_pit[:, D] = net[cls.table_name()].diameter_m.values
|
|
53
53
|
fc_branch_pit[:, AREA] = fc_branch_pit[:, D] ** 2 * np.pi / 4
|
|
54
|
-
fc_branch_pit[:,
|
|
55
|
-
(fc_branch_pit[:, AREA] * fc_branch_pit[:, RHO])
|
|
54
|
+
fc_branch_pit[:, MDOTINIT] = net[cls.table_name()].controlled_mdot_kg_per_s.values
|
|
56
55
|
|
|
57
56
|
@classmethod
|
|
58
57
|
def create_component_array(cls, net, component_pits):
|
|
@@ -83,7 +82,7 @@ class FlowControlComponent(BranchWZeroLengthComponent):
|
|
|
83
82
|
active = fc_array[:, cls.CONTROL_ACTIVE].astype(np.bool_)
|
|
84
83
|
fc_branch_pit[active, JAC_DERIV_DP] = 0
|
|
85
84
|
fc_branch_pit[active, JAC_DERIV_DP1] = 0
|
|
86
|
-
fc_branch_pit[active,
|
|
85
|
+
fc_branch_pit[active, JAC_DERIV_DM] = 1
|
|
87
86
|
fc_branch_pit[active, LOAD_VEC_BRANCHES] = 0
|
|
88
87
|
|
|
89
88
|
@classmethod
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Copyright (c) 2020-2023 by Fraunhofer Institute for Energy Economics
|
|
2
|
+
# and Energy System Technology (IEE), Kassel. All rights reserved.
|
|
3
|
+
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
import numpy as np
|
|
6
|
+
from numpy import dtype
|
|
7
|
+
|
|
8
|
+
from pandapipes.component_models import get_fluid, \
|
|
9
|
+
BranchWZeroLengthComponent, get_component_array, standard_branch_wo_internals_result_lookup
|
|
10
|
+
from pandapipes.component_models.junction_component import Junction
|
|
11
|
+
from pandapipes.idx_branch import D, AREA, MDOTINIT, QEXT, JAC_DERIV_DP1, \
|
|
12
|
+
JAC_DERIV_DM, JAC_DERIV_DP, LOAD_VEC_BRANCHES
|
|
13
|
+
from pandapipes.pf.result_extraction import extract_branch_results_without_internals
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class HeatConsumer(BranchWZeroLengthComponent):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
"""
|
|
20
|
+
# columns for internal array
|
|
21
|
+
MASS = 0
|
|
22
|
+
QEXT = 1
|
|
23
|
+
DELTAT = 2
|
|
24
|
+
TRETURN = 3
|
|
25
|
+
MODE = 4
|
|
26
|
+
|
|
27
|
+
internal_cols = 5
|
|
28
|
+
|
|
29
|
+
# numbering of given parameters (for mdot, qext, deltat, treturn)
|
|
30
|
+
MF = 0
|
|
31
|
+
QE = 1
|
|
32
|
+
DT = 2
|
|
33
|
+
TR = 3
|
|
34
|
+
|
|
35
|
+
# heat consumer modes (sum of combinations of given parameters)
|
|
36
|
+
MF_QE = 1
|
|
37
|
+
MF_DT = 2
|
|
38
|
+
MF_TR = 4
|
|
39
|
+
QE_DT = 3
|
|
40
|
+
QE_TR = 5
|
|
41
|
+
|
|
42
|
+
@classmethod
|
|
43
|
+
def table_name(cls):
|
|
44
|
+
return "heat_consumer"
|
|
45
|
+
|
|
46
|
+
@classmethod
|
|
47
|
+
def get_connected_node_type(cls):
|
|
48
|
+
return Junction
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_to_node_cols(cls):
|
|
52
|
+
return "from_junction", "to_junction"
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def active_identifier(cls):
|
|
56
|
+
return "in_service"
|
|
57
|
+
|
|
58
|
+
@classmethod
|
|
59
|
+
def create_pit_branch_entries(cls, net, branch_pit):
|
|
60
|
+
"""
|
|
61
|
+
Function which creates pit branch entries with a specific table.
|
|
62
|
+
:param net: The pandapipes network
|
|
63
|
+
:type net: pandapipesNet
|
|
64
|
+
:param branch_pit:
|
|
65
|
+
:type branch_pit:
|
|
66
|
+
:return: No Output.
|
|
67
|
+
"""
|
|
68
|
+
hs_pit = super().create_pit_branch_entries(net, branch_pit)
|
|
69
|
+
hs_pit[:, D] = net[cls.table_name()].diameter_m.values
|
|
70
|
+
hs_pit[:, AREA] = hs_pit[:, D] ** 2 * np.pi / 4
|
|
71
|
+
hs_pit[:, MDOTINIT] = net[cls.table_name()].controlled_mdot_kg_per_s.values
|
|
72
|
+
hs_pit[:, QEXT] = net[cls.table_name()].qext_w.values
|
|
73
|
+
return hs_pit
|
|
74
|
+
|
|
75
|
+
@classmethod
|
|
76
|
+
def create_component_array(cls, net, component_pits):
|
|
77
|
+
"""
|
|
78
|
+
Function which creates an internal array of the component in analogy to the pit, but with
|
|
79
|
+
component specific entries, that are not needed in the pit.
|
|
80
|
+
|
|
81
|
+
:param net: The pandapipes network
|
|
82
|
+
:type net: pandapipesNet
|
|
83
|
+
:param component_pits: dictionary of component specific arrays
|
|
84
|
+
:type component_pits: dict
|
|
85
|
+
:return:
|
|
86
|
+
:rtype:
|
|
87
|
+
"""
|
|
88
|
+
tbl = net[cls.table_name()]
|
|
89
|
+
consumer_array = np.zeros(shape=(len(tbl), cls.internal_cols), dtype=np.float64)
|
|
90
|
+
consumer_array[:, cls.MASS] = tbl.controlled_mdot_kg_per_s.values
|
|
91
|
+
consumer_array[:, cls.QEXT] = tbl.qext_w.values
|
|
92
|
+
consumer_array[:, cls.DELTAT] = tbl.deltat_k.values
|
|
93
|
+
consumer_array[:, cls.TRETURN] = tbl.treturn_k.values
|
|
94
|
+
mf = ~np.isnan(consumer_array[:, cls.MASS])
|
|
95
|
+
qe = ~np.isnan(consumer_array[:, cls.QEXT])
|
|
96
|
+
dt = ~np.isnan(consumer_array[:, cls.DELTAT])
|
|
97
|
+
tr = ~np.isnan(consumer_array[:, cls.TRETURN])
|
|
98
|
+
consumer_array[:, cls.MODE] = np.sum([mf, qe, dt, tr], axis=0)
|
|
99
|
+
component_pits[cls.table_name()] = consumer_array
|
|
100
|
+
|
|
101
|
+
@classmethod
|
|
102
|
+
def adaption_after_derivatives_hydraulic(cls, net, branch_pit, node_pit, idx_lookups, options):
|
|
103
|
+
"""
|
|
104
|
+
Perform adaptions to the branch pit after the derivatives have been calculated globally.
|
|
105
|
+
|
|
106
|
+
:param net: The pandapipes network containing all relevant info
|
|
107
|
+
:type net: pandapipesNet
|
|
108
|
+
:param branch_pit: The branch internal array
|
|
109
|
+
:type branch_pit: np.ndarray
|
|
110
|
+
:param node_pit: The node internal array
|
|
111
|
+
:type node_pit: np.ndarray
|
|
112
|
+
:param idx_lookups: Lookup for the relevant indices in the pit
|
|
113
|
+
:type idx_lookups: dict
|
|
114
|
+
:param options: Options for the pipeflow
|
|
115
|
+
:type options: dict
|
|
116
|
+
:return: No Output.
|
|
117
|
+
:rtype: None
|
|
118
|
+
"""
|
|
119
|
+
# set all pressure derivatives to 0 and velocity to 1; load vector must be 0, as no change
|
|
120
|
+
# of velocity is allowed during the pipeflow iteration
|
|
121
|
+
f, t = idx_lookups[cls.table_name()]
|
|
122
|
+
fc_branch_pit = branch_pit[f:t, :]
|
|
123
|
+
fc_array = get_component_array(net, cls.table_name())
|
|
124
|
+
# TODO: this is more precise, but slower:
|
|
125
|
+
# np.isin(fc_array[:, cls.MODE], [cls.MF_QE, cls.MF_DT, cls.MF_TR])
|
|
126
|
+
mdot_controlled = ~np.isnan(fc_array[:, cls.MASS])
|
|
127
|
+
fc_branch_pit[mdot_controlled, JAC_DERIV_DP] = 0
|
|
128
|
+
fc_branch_pit[mdot_controlled, JAC_DERIV_DP1] = 0
|
|
129
|
+
fc_branch_pit[mdot_controlled, JAC_DERIV_DM] = 1
|
|
130
|
+
fc_branch_pit[mdot_controlled, LOAD_VEC_BRANCHES] = 0
|
|
131
|
+
|
|
132
|
+
# @classmethod
|
|
133
|
+
# def adaption_before_derivatives_thermal(cls, net, branch_pit, node_pit, idx_lookups, options):
|
|
134
|
+
# f, t = idx_lookups[cls.table_name()]
|
|
135
|
+
# hs_pit = branch_pit[f:t, :]
|
|
136
|
+
# mask_t_return = ~np.isnan(hs_pit[:, TRETURN])
|
|
137
|
+
# hs_pit[mask_t_return, TINIT_OUT] = (hs_pit[mask_t_return, TINIT_OUT]
|
|
138
|
+
# - hs_pit[mask_t_return, DELTAT])
|
|
139
|
+
#
|
|
140
|
+
#
|
|
141
|
+
# @classmethod
|
|
142
|
+
# def adaption_after_derivatives_thermal(cls, net, branch_pit, node_pit, idx_lookups, options):
|
|
143
|
+
# """
|
|
144
|
+
#
|
|
145
|
+
# :param net:
|
|
146
|
+
# :type net:
|
|
147
|
+
# :param branch_component_pit:
|
|
148
|
+
# :type branch_component_pit:
|
|
149
|
+
# :param node_pit:
|
|
150
|
+
# :type node_pit:
|
|
151
|
+
# :return:
|
|
152
|
+
# :rtype:
|
|
153
|
+
# """
|
|
154
|
+
# # -(rho * area * cp * v_init * (-t_init_i + t_init_i1 - tl)
|
|
155
|
+
# # - alpha * (t_amb - t_m) * length + qext)
|
|
156
|
+
#
|
|
157
|
+
# f, t = idx_lookups[cls.table_name()]
|
|
158
|
+
# hs_pit = branch_pit[f:t, :]
|
|
159
|
+
# from_nodes = hs_pit[:, FROM_NODE_T].astype(np.int32)
|
|
160
|
+
#
|
|
161
|
+
# mask_qext = ~np.isnan(hs_pit[:, QEXT])
|
|
162
|
+
# mask_deltat = ~np.isnan(hs_pit[:, DELTAT])
|
|
163
|
+
# mask_t_return = ~np.isnan(hs_pit[:, TRETURN])
|
|
164
|
+
# mask_mass = ~np.isnan(hs_pit[:, MASS])
|
|
165
|
+
# hs_pit[mask_t_return | mask_deltat, JAC_DERIV_DT1] = 0
|
|
166
|
+
|
|
167
|
+
@classmethod
|
|
168
|
+
def get_component_input(cls):
|
|
169
|
+
"""
|
|
170
|
+
|
|
171
|
+
Get component input.
|
|
172
|
+
|
|
173
|
+
:return:
|
|
174
|
+
:rtype:
|
|
175
|
+
"""
|
|
176
|
+
return [("name", dtype(object)),
|
|
177
|
+
("from_junction", "u4"),
|
|
178
|
+
("to_junction", "u4"),
|
|
179
|
+
("qext_w", "f8"),
|
|
180
|
+
("controlled_mdot_kg_per_s", "f8"),
|
|
181
|
+
("deltat_k", "f8"),
|
|
182
|
+
("treturn_k", "f8"),
|
|
183
|
+
("diameter_m", "f8"),
|
|
184
|
+
("in_service", "bool"),
|
|
185
|
+
("type", dtype(object))]
|
|
186
|
+
|
|
187
|
+
@classmethod
|
|
188
|
+
def get_result_table(cls, net):
|
|
189
|
+
"""
|
|
190
|
+
|
|
191
|
+
Gets the result table.
|
|
192
|
+
|
|
193
|
+
:param net: The pandapipes network
|
|
194
|
+
:type net: pandapipesNet
|
|
195
|
+
:return: (columns, all_float) - the column names and whether they are all float type. Only
|
|
196
|
+
if False, returns columns as tuples also specifying the dtypes
|
|
197
|
+
:rtype: (list, bool)
|
|
198
|
+
"""
|
|
199
|
+
if get_fluid(net).is_gas:
|
|
200
|
+
output = ["v_from_m_per_s", "v_to_m_per_s", "v_mean_m_per_s", "p_from_bar", "p_to_bar",
|
|
201
|
+
"t_from_k", "t_to_k", "mdot_from_kg_per_s", "mdot_to_kg_per_s",
|
|
202
|
+
"vdot_norm_m3_per_s", "reynolds", "lambda", "normfactor_from",
|
|
203
|
+
"normfactor_to"]
|
|
204
|
+
else:
|
|
205
|
+
output = ["v_mean_m_per_s", "p_from_bar", "p_to_bar", "t_from_k", "t_to_k",
|
|
206
|
+
"mdot_from_kg_per_s", "mdot_to_kg_per_s", "vdot_norm_m3_per_s", "reynolds",
|
|
207
|
+
"lambda"]
|
|
208
|
+
return output, True
|
|
209
|
+
|
|
210
|
+
@classmethod
|
|
211
|
+
def extract_results(cls, net, options, branch_results, mode):
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
:param net:
|
|
215
|
+
:type net:
|
|
216
|
+
:param options:
|
|
217
|
+
:type options:
|
|
218
|
+
:param branch_results:
|
|
219
|
+
:type branch_results:
|
|
220
|
+
:param mode:
|
|
221
|
+
:type mode:
|
|
222
|
+
:return:
|
|
223
|
+
:rtype:
|
|
224
|
+
"""
|
|
225
|
+
required_results_hyd, required_results_ht = standard_branch_wo_internals_result_lookup(net)
|
|
226
|
+
|
|
227
|
+
extract_branch_results_without_internals(net, branch_results, required_results_hyd,
|
|
228
|
+
required_results_ht, cls.table_name(), mode)
|
{pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/heat_exchanger_component.py
RENAMED
|
@@ -9,7 +9,7 @@ from pandapipes.component_models import standard_branch_wo_internals_result_look
|
|
|
9
9
|
from pandapipes.component_models.abstract_models.branch_wzerolength_models import \
|
|
10
10
|
BranchWZeroLengthComponent
|
|
11
11
|
from pandapipes.component_models.junction_component import Junction
|
|
12
|
-
from pandapipes.idx_branch import
|
|
12
|
+
from pandapipes.idx_branch import QEXT, D, AREA, LOSS_COEFFICIENT as LC
|
|
13
13
|
from pandapipes.pf.pipeflow_setup import get_fluid
|
|
14
14
|
from pandapipes.pf.result_extraction import extract_branch_results_without_internals
|
|
15
15
|
|
|
@@ -55,10 +55,7 @@ class HeatExchanger(BranchWZeroLengthComponent):
|
|
|
55
55
|
heat_exchanger_pit[:, D] = net[cls.table_name()].diameter_m.values
|
|
56
56
|
heat_exchanger_pit[:, AREA] = heat_exchanger_pit[:, D] ** 2 * np.pi / 4
|
|
57
57
|
heat_exchanger_pit[:, LC] = net[cls.table_name()].loss_coefficient.values
|
|
58
|
-
heat_exchanger_pit[:, ALPHA] = 0
|
|
59
58
|
heat_exchanger_pit[:, QEXT] = net[cls.table_name()].qext_w.values
|
|
60
|
-
heat_exchanger_pit[:, TEXT] = 293.15
|
|
61
|
-
heat_exchanger_pit[:, TOUTINIT] = 307
|
|
62
59
|
|
|
63
60
|
@classmethod
|
|
64
61
|
def extract_results(cls, net, options, branch_results, mode):
|
|
@@ -81,7 +78,6 @@ class HeatExchanger(BranchWZeroLengthComponent):
|
|
|
81
78
|
extract_branch_results_without_internals(net, branch_results, required_results_hyd,
|
|
82
79
|
required_results_ht, cls.table_name(), mode)
|
|
83
80
|
|
|
84
|
-
|
|
85
81
|
@classmethod
|
|
86
82
|
def get_component_input(cls):
|
|
87
83
|
"""
|
{pandapipes-0.9.0 → pandapipes-0.10.0}/src/pandapipes/component_models/junction_component.py
RENAMED
|
@@ -8,11 +8,10 @@ import numpy as np
|
|
|
8
8
|
from numpy import dtype
|
|
9
9
|
from pandapipes.component_models.abstract_models.node_models import NodeComponent
|
|
10
10
|
from pandapipes.component_models.component_toolbox import p_correction_height_air
|
|
11
|
-
from pandapipes.idx_node import L, ELEMENT_IDX,
|
|
11
|
+
from pandapipes.idx_node import L, ELEMENT_IDX, PINIT, node_cols, HEIGHT, TINIT, PAMB, \
|
|
12
12
|
ACTIVE as ACTIVE_ND
|
|
13
13
|
from pandapipes.pf.pipeflow_setup import add_table_lookup, get_table_number, \
|
|
14
14
|
get_lookup
|
|
15
|
-
from pandapipes.properties.fluids import get_fluid
|
|
16
15
|
|
|
17
16
|
|
|
18
17
|
class Junction(NodeComponent):
|
|
@@ -83,7 +82,6 @@ class Junction(NodeComponent):
|
|
|
83
82
|
junction_pit[:, HEIGHT] = junctions.height_m.values
|
|
84
83
|
junction_pit[:, PINIT] = junctions.pn_bar.values
|
|
85
84
|
junction_pit[:, TINIT] = junctions.tfluid_k.values
|
|
86
|
-
junction_pit[:, RHO] = get_fluid(net).get_density(junction_pit[:, TINIT])
|
|
87
85
|
junction_pit[:, PAMB] = p_correction_height_air(junction_pit[:, HEIGHT])
|
|
88
86
|
junction_pit[:, ACTIVE_ND] = junctions.in_service.values
|
|
89
87
|
|