tespy 0.4.3.post4__tar.gz → 0.4.4__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.
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.github/workflows/tox_pytest.yml +1 -1
- TESPy-0.4.4/CONTRIBUTING.md +3 -0
- TESPy-0.4.4/PKG-INFO +158 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/ci/templates/.appveyor.yml +3 -3
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/ci/templates/.travis.yml +2 -2
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/ci/templates/tox.ini +1 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/tespy.tools.rst +1 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/conf.py +1 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/references.bib +0 -7
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules/networks.rst +3 -3
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-0-5.rst +4 -2
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-4-3-003.rst +1 -0
- TESPy-0.4.4/docs/whats_new/v0-4-4.rst +32 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new.rst +2 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/setup.cfg +2 -2
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/setup.py +5 -6
- TESPy-0.4.4/src/TESPy.egg-info/PKG-INFO +158 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/TESPy.egg-info/SOURCES.txt +2 -3
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/TESPy.egg-info/requires.txt +2 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/__init__.py +1 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/__init__.py +0 -30
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/basics/cycle_closer.py +2 -2
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/basics/sink.py +1 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/basics/source.py +1 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/combustion/combustion_chamber.py +7 -4
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/heat_exchangers/heat_exchanger_simple.py +3 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/heat_exchangers/parabolic_trough.py +3 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/heat_exchangers/solar_collector.py +3 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/nodes/drum.py +2 -2
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/nodes/merge.py +82 -7
- TESPy-0.4.4/src/tespy/connections/__init__.py +5 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/connections/bus.py +2 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/networks/__init__.py +0 -4
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/networks/network.py +62 -67
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/networks/network_reader.py +12 -14
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/analyses.py +15 -14
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/data_containers.py +1 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/document_models.py +6 -5
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/fluid_properties.py +9 -4
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_components/test_heat_exchangers.py +22 -1
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_errors.py +1 -1
- TESPy-0.4.4/tests/test_models/test_solar_energy_generating_system.py +416 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_networks/test_network.py +8 -8
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_tools/test_characteristics.py +5 -5
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tox.ini +1 -14
- TESPy-0.4.3.post4/CONTRIBUTING.md +0 -1
- TESPy-0.4.3.post4/PKG-INFO +0 -156
- TESPy-0.4.3.post4/src/TESPy.egg-info/PKG-INFO +0 -156
- TESPy-0.4.3.post4/src/tespy/components/deprecated.py +0 -129
- TESPy-0.4.3.post4/src/tespy/connections/__init__.py +0 -11
- TESPy-0.4.3.post4/src/tespy/connections/deprecated.py +0 -33
- TESPy-0.4.3.post4/src/tespy/networks/deprecated.py +0 -21
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.coveragerc +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.editorconfig +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.github/workflows/packaging.yml +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.github/workflows/tox_checks.yml +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.gitignore +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.pep8speaks.yml +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/.readthedocs.yml +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/CODE_OF_CONDUCT.md +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/LICENSE +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/MANIFEST.in +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/PULL_REQUEST_TEMPLATE.md +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/README.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/ci/appveyor-with-compiler.cmd +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/ci/bootstrap.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/ci/generate_tespy_data_module.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/ci/requirements.txt +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/_build/_static/css/custom.css +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/analyses/exergy.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/CombustionChamber.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/CombustionEngine.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Compressor.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Condenser.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/DropletSeparator.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Drum.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/HeatExchanger.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Merge.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Node.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/ORCEvaporator.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/ParabolicTrough.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Pipe.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Pump.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/SEGS_flowsheet.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/SEGS_sankey.png +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/SolarCollector.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Splitter.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/SubsystemInterface.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Ts_diagram_states.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Turbine.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/Valve.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/WaterElectrolyzer.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/basic.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/basic_efficiency.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/cc_bp.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/chp.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/chp_PQ.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/combustion_engine_Q1_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/combustion_engine_Q2_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/combustion_engine_Qloss_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/combustion_engine_tiP_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/compressor_char_map_eta_s_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/compressor_char_map_pr_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/compressor_eta_s_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/condenser_kA_char1_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/condenser_kA_char2_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/desuperheater_kA_char1_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/desuperheater_kA_char2_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/dhs.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/dhs_closed.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/dhs_forks.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/dhs_open.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_exchanger_kA_char1_CONDENSING_FLUID.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_exchanger_kA_char1_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_exchanger_kA_char2_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_exchanger_kA_char2_EVAPORATING_FLUID.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_exchanger_simple_kA_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_pump.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_pump_COP_air.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_pump_COP_water.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/heat_pump_example.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/intro_connections.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/intro_district_heating_scheme.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/logo_tespy_big.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/logo_tespy_big_editable_font.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/logo_tespy_mid.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/logo_tespy_mid_editable_font.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/logo_tespy_small.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/logph_diagram_states.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/pipe_kA_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/power_plant_two_extractions.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/pump_eta_s_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/scatterplot_efficiency_optimization.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/subsystem_waste_heat_generator.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/turbine_eta_s_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/turbine_eta_s_char_TRAUPEL.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/tutorial_heat_pump.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/_images/water_electrolyzer_eta_char_DEFAULT.svg +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/tespy.components.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/tespy.connections.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/tespy.data.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api/tespy.networks.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/api.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/developing_tespy.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/first_steps.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/index.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/installation.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/introduction.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/requirements.txt +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_analyses.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules/characteristics.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules/components.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules/connections.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules/fluid_properties.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules/other.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules/subsystems.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tespy_modules.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/clausius_rankine.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/clausius_rankine_chp.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/combined_cycle_chp.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/combustion_engine.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/district_heating.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/heat_pump.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/solar_collector.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/tutorial_combustion_chamber.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/tutorial_heat_pump.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples/tutorial_pygmo_optimization.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/tutorials_examples.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-0-1.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-0-2.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-0-3.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-0-4.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-1-0.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-1-1.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-1-2.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-1-3.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-1-4.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-2-0.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-2-1.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-2-2.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-3-0.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-3-1.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-3-2.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-3-3.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-3-4.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-4-0.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-4-1.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-4-2.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-4-3-001.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/whats_new/v0-4-3.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/docs/zliterature.rst +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/paper.bib +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/paper.md +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/pyproject.toml +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/TESPy.egg-info/dependency_links.txt +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/TESPy.egg-info/not-zip-safe +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/TESPy.egg-info/top_level.txt +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/basics/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/basics/subsystem_interface.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/combustion/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/combustion/combustion_chamber_stoich.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/combustion/combustion_engine.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/component.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/customs/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/customs/orc_evaporator.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/heat_exchangers/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/heat_exchangers/condenser.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/heat_exchangers/desuperheater.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/heat_exchangers/heat_exchanger.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/nodes/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/nodes/base.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/nodes/droplet_separator.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/nodes/separator.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/nodes/splitter.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/piping/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/piping/pipe.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/piping/valve.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/reactors/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/reactors/water_electrolyzer.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/subsystem.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/turbomachinery/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/turbomachinery/compressor.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/turbomachinery/pump.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/turbomachinery/turbine.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/components/turbomachinery/turbomachine.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/connections/connection.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/data/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/data/char_lines.json +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/data/char_maps.json +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/__init__.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/characteristics.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/global_vars.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/helpers.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/src/tespy/tools/logger.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_analyses/test_entropy_analysis.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_analyses/test_exergy_analysis.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_busses.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_components/test_combustion.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_components/test_customs.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_components/test_piping.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_components/test_reactors.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_components/test_turbomachinery.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_models/test_gas_turbine_models.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_models/test_heat_pump_model.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_tools/test_fluid_properties.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tests/test_tools/test_helpers.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tutorial/step_1.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tutorial/step_2.py +0 -0
- {TESPy-0.4.3.post4 → TESPy-0.4.4}/tutorial/step_3.py +0 -0
TESPy-0.4.4/PKG-INFO
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: TESPy
|
|
3
|
+
Version: 0.4.4
|
|
4
|
+
Summary: Thermal Engineering Systems in Python (TESPy)
|
|
5
|
+
Home-page: https://github.com/oemof/tespy
|
|
6
|
+
Author: Francesco Witte
|
|
7
|
+
Author-email: francesco.witte@hs-flensburg.de
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Documentation, https://tespy.readthedocs.io/
|
|
10
|
+
Project-URL: Changelog, https://tespy.readthedocs.io/en/main/whats_new.html
|
|
11
|
+
Project-URL: Issue Tracker, https://github.com/oemof/tespy/issues
|
|
12
|
+
Platform: UNKNOWN
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Education
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: Unix
|
|
18
|
+
Classifier: Operating System :: POSIX
|
|
19
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
20
|
+
Classifier: Programming Language :: Python
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering
|
|
24
|
+
Requires-Python: >=3.7, <3.9
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Provides-Extra: dummy
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
|
|
29
|
+
Thermal Engineering Systems in Python
|
|
30
|
+
=====================================
|
|
31
|
+
|
|
32
|
+
TESPy stands for "Thermal Engineering Systems in Python" and provides a
|
|
33
|
+
powerful simulation toolkit for thermal engineering plants such as power
|
|
34
|
+
plants, district heating systems or heat pumps. It is an external extension
|
|
35
|
+
module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and
|
|
36
|
+
can be used as a standalone package.
|
|
37
|
+
|
|
38
|
+
.. figure:: https://raw.githubusercontent.com/oemof/tespy/9915f013c40fe418947a6e4c1fd0cd0eba45893c/docs/api/_images/logo_tespy_big.svg
|
|
39
|
+
:align: center
|
|
40
|
+
|
|
41
|
+
With the TESPy package you are able to calculate stationary operation in order
|
|
42
|
+
to design the process of thermal energy systems. From that point it is possible
|
|
43
|
+
to simulate the offdesign behavior of your plant using underlying
|
|
44
|
+
characteristics for each of the plants components. The package includes basic
|
|
45
|
+
components, such as turbines, pumps, compressors, heat exchangers, pipes,
|
|
46
|
+
mixers and splitters as well as some advanced components (derivatives of heat
|
|
47
|
+
exchangers, drum).
|
|
48
|
+
|
|
49
|
+
Everybody is welcome to use and/or develop TESPy. Contribution is already
|
|
50
|
+
possible on a low level by simply fixing typos in TESPy's documentation or
|
|
51
|
+
rephrasing sections which are unclear. If you want to support us that way
|
|
52
|
+
please fork the TESPy repository to your own github account and make changes
|
|
53
|
+
as described in the github guidelines:
|
|
54
|
+
https://guides.github.com/activities/hello-world/
|
|
55
|
+
|
|
56
|
+
Key Features
|
|
57
|
+
============
|
|
58
|
+
* **Open** Source
|
|
59
|
+
* **Generic** thermal engineering applications
|
|
60
|
+
* **Automatic** model documentation in LaTeX for high transparency and
|
|
61
|
+
reproducibility
|
|
62
|
+
* **Extendable** framework for the implementation of custom components and
|
|
63
|
+
component groups
|
|
64
|
+
* **Postprocessing** features like exergy analysis and fluid property plotting
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Documentation
|
|
69
|
+
=============
|
|
70
|
+
|
|
71
|
+
You can find the full documentation at
|
|
72
|
+
`readthedocs <http://tespy.readthedocs.org>`_. Use the
|
|
73
|
+
`project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to
|
|
74
|
+
choose the version of the documentation. Go to the
|
|
75
|
+
`download page <http://readthedocs.org/projects/tespy/downloads/>`_ to
|
|
76
|
+
download different versions and formats (pdf, html, epub) of the documentation.
|
|
77
|
+
|
|
78
|
+
To get the latest news visit and follow our `website <https://www.oemof.org>`_.
|
|
79
|
+
|
|
80
|
+
Installing TESPy
|
|
81
|
+
================
|
|
82
|
+
|
|
83
|
+
If you have a working Python3 environment, use pypi to install the latest
|
|
84
|
+
tespy version:
|
|
85
|
+
|
|
86
|
+
.. code:: bash
|
|
87
|
+
|
|
88
|
+
pip install tespy
|
|
89
|
+
|
|
90
|
+
If you want to use the latest features, you might want to install the
|
|
91
|
+
**developer version**. See section
|
|
92
|
+
`Developing TESPy <http://tespy.readthedocs.io/en/dev/developing_tespy.html>`_
|
|
93
|
+
for more information. The developer version is not recommended for productive
|
|
94
|
+
use.
|
|
95
|
+
|
|
96
|
+
Examples
|
|
97
|
+
========
|
|
98
|
+
|
|
99
|
+
For a short introduction on how TESPy works and how you can use it, we provide
|
|
100
|
+
some
|
|
101
|
+
`examples and tutorials <https://tespy.readthedocs.io/en/main/tutorials_examples.html>`_,
|
|
102
|
+
go and check them out. You can download the python scripts of all example plants
|
|
103
|
+
from the
|
|
104
|
+
`tespy_examples <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_
|
|
105
|
+
repository.
|
|
106
|
+
|
|
107
|
+
Citation
|
|
108
|
+
========
|
|
109
|
+
|
|
110
|
+
The scope and functionalities of TESPy have been documented in a paper
|
|
111
|
+
published in the Journal of Open Source Software with an OpenAccess license.
|
|
112
|
+
Download the paper from https://doi.org/10.21105/joss.02178. As TESPy is a free
|
|
113
|
+
software, we kindly ask that you add a reference to TESPy if you use the
|
|
114
|
+
software for your scientific work. Please cite the article with the BibTeX
|
|
115
|
+
citation below.
|
|
116
|
+
|
|
117
|
+
Additionally, you have the possibility to cite a specific version of TESPy to
|
|
118
|
+
make your work reproducible. The source code of every version is published on
|
|
119
|
+
zenodo. Find your version here: https://doi.org/10.5281/zenodo.2555866.
|
|
120
|
+
|
|
121
|
+
BibTeX citation::
|
|
122
|
+
|
|
123
|
+
@article{Witte2020,
|
|
124
|
+
doi = {10.21105/joss.02178},
|
|
125
|
+
year = {2020},
|
|
126
|
+
publisher = {The Open Journal},
|
|
127
|
+
volume = {5},
|
|
128
|
+
number = {49},
|
|
129
|
+
pages = {2178},
|
|
130
|
+
author = {Francesco Witte and Ilja Tuschy},
|
|
131
|
+
title = {{TESPy}: {T}hermal {E}ngineering {S}ystems in {P}ython},
|
|
132
|
+
journal = {Journal of Open Source Software}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
License
|
|
136
|
+
=======
|
|
137
|
+
|
|
138
|
+
Copyright (c) 2017-2021 oemof developer group
|
|
139
|
+
|
|
140
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
141
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
142
|
+
in the Software without restriction, including without limitation the rights
|
|
143
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
144
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
145
|
+
furnished to do so, subject to the following conditions:
|
|
146
|
+
|
|
147
|
+
The above copyright notice and this permission notice shall be included in all
|
|
148
|
+
copies or substantial portions of the Software.
|
|
149
|
+
|
|
150
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
151
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
152
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
153
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
154
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
155
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
156
|
+
SOFTWARE.
|
|
157
|
+
|
|
158
|
+
|
|
@@ -6,9 +6,9 @@ environment:
|
|
|
6
6
|
COVERALLS_REPO_TOKEN: COVERALLS_TOKEN
|
|
7
7
|
matrix:
|
|
8
8
|
- TOXENV: check
|
|
9
|
-
TOXPYTHON: C:\
|
|
10
|
-
PYTHON_HOME: C:\
|
|
11
|
-
PYTHON_VERSION: '3.
|
|
9
|
+
TOXPYTHON: C:\Python38\python.exe
|
|
10
|
+
PYTHON_HOME: C:\Python38
|
|
11
|
+
PYTHON_VERSION: '3.8'
|
|
12
12
|
PYTHON_ARCH: '32'
|
|
13
13
|
{% for env, config in tox_environments|dictsort %}
|
|
14
14
|
{% if env.startswith(('py2', 'py3')) %}
|
|
@@ -153,7 +153,7 @@ html_logo = './api/_images/logo_tespy_mid.svg'
|
|
|
153
153
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
154
154
|
# relative to this directory. They are copied after the builtin static files,
|
|
155
155
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
156
|
-
html_static_path = ['_static']
|
|
156
|
+
html_static_path = ['./_build/_static']
|
|
157
157
|
|
|
158
158
|
html_css_files = ['css/custom.css', ]
|
|
159
159
|
|
|
@@ -235,10 +235,3 @@
|
|
|
235
235
|
year={1996},
|
|
236
236
|
publisher = {Wiley}
|
|
237
237
|
}
|
|
238
|
-
|
|
239
|
-
@book{ET1,
|
|
240
|
-
editor = {George Tsatsaronis},
|
|
241
|
-
title = {Energietechnik - Umdruck zur Vorlesung},
|
|
242
|
-
publisher = {TU Berlin - Institut für Energietechnik - Fachgebiet für Energietechnik und Umweltschutz},
|
|
243
|
-
year = {2018}
|
|
244
|
-
}
|
|
@@ -593,13 +593,13 @@ optional arguments to the method:
|
|
|
593
593
|
|
|
594
594
|
- :code:`path`: Basepath, where the LaTeX data and figures are exported to.
|
|
595
595
|
- :code:`filename`: Filename of the report.
|
|
596
|
-
- :code:`
|
|
596
|
+
- :code:`fmt`: A formatting dictionary, for a sample see below.
|
|
597
597
|
|
|
598
598
|
.. code-block:: python
|
|
599
599
|
|
|
600
600
|
from tespy.tools import document_model
|
|
601
601
|
|
|
602
|
-
|
|
602
|
+
fmt = {
|
|
603
603
|
'latex_body': True, # adds LaTeX body to compile report out of the box
|
|
604
604
|
'include_results': True, # include parameter specification and results
|
|
605
605
|
'HeatExchanger': { # for components of class HeatExchanger
|
|
@@ -617,7 +617,7 @@ optional arguments to the method:
|
|
|
617
617
|
'include_results': True, # include results
|
|
618
618
|
'draft': False # disable draft mode
|
|
619
619
|
}
|
|
620
|
-
document_model(mynetwork,
|
|
620
|
+
document_model(mynetwork, fmt=fmt)
|
|
621
621
|
|
|
622
622
|
.. note::
|
|
623
623
|
|
|
@@ -3,7 +3,8 @@ v0.0.5 (October, 25, 2018)
|
|
|
3
3
|
|
|
4
4
|
New Features
|
|
5
5
|
############
|
|
6
|
-
- added new component: motoric cogeneration unit (`79a1177 <https://github.com/oemof/tespy/commit/79a1177d5db130465676907d9a51b680005bdc7a>`_).
|
|
6
|
+
- added new component: motoric cogeneration unit (`79a1177 <https://github.com/oemof/tespy/commit/79a1177d5db130465676907d9a51b680005bdc7a>`_).
|
|
7
|
+
An example is provided `here <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy/combustion>`_.
|
|
7
8
|
- improved fluid property checks (`8adc76c <https://github.com/oemof/tespy/commit/8adc76c25ef976ed90ac6fba0d8c2f94e43ca7c5>`_).
|
|
8
9
|
- added bus characteristics for modeling variable efficiencys (e.g. for generator, motor, boiler) (`79a1177 <https://github.com/oemof/tespy/commit/79a1177d5db130465676907d9a51b680005bdc7a>`_).
|
|
9
10
|
- isentropic efficiency characteristic for compressor linked to pressure ratio (`85d317d <https://github.com/oemof/tespy/commit/85d317dea8cce8b7f6d149cca90317e6595a2485>`_).
|
|
@@ -11,7 +12,8 @@ New Features
|
|
|
11
12
|
|
|
12
13
|
Documentation
|
|
13
14
|
#############
|
|
14
|
-
- adapted documentation and (`example code <https://github.com/
|
|
15
|
+
- adapted documentation and (`example code <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy/>`_)
|
|
16
|
+
in regard of new features.
|
|
15
17
|
- fixed some typos in documentation.
|
|
16
18
|
|
|
17
19
|
Parameter renaming
|
|
@@ -8,6 +8,7 @@ Documentation
|
|
|
8
8
|
|
|
9
9
|
Other Changes
|
|
10
10
|
#############
|
|
11
|
+
- Remove Python3.6 support.
|
|
11
12
|
- Make it possible to include results in automatic model report, for more
|
|
12
13
|
information see the corresponding section in the documentation:
|
|
13
14
|
:ref:`TESPy Networks Postprocessing <tespy_modules_network_label>`
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
v0.4.4 - Reynolds' Reminiscence (July, 14, 2021)
|
|
2
|
+
++++++++++++++++++++++++++++++++++++++++++++++++
|
|
3
|
+
|
|
4
|
+
Documentation
|
|
5
|
+
#############
|
|
6
|
+
- Fix some typos here and there.
|
|
7
|
+
|
|
8
|
+
Bug Fixes
|
|
9
|
+
#########
|
|
10
|
+
- Fix pandas version 1.3.0 dependencies
|
|
11
|
+
(`PR #277 <https://github.com/oemof/tespy/pull/277>`_).
|
|
12
|
+
- Add missing results for some components in the results DataFrame of the
|
|
13
|
+
network (`PR #277 <https://github.com/oemof/tespy/pull/277>`_).
|
|
14
|
+
- Fix exergy balance equation of class merge
|
|
15
|
+
:py:class:`tespy.components.nodes.merge.Merge.exergy_balance`
|
|
16
|
+
(`PR #280 <https://github.com/oemof/tespy/pull/280>`_).
|
|
17
|
+
- Fix a lot of DeprecationWarnings in pandas
|
|
18
|
+
(`PR #280 <https://github.com/oemof/tespy/pull/280>`_).
|
|
19
|
+
|
|
20
|
+
Other Changes
|
|
21
|
+
#############
|
|
22
|
+
- Add warning logs for missing fluid composition data in the initialisation
|
|
23
|
+
process of the network
|
|
24
|
+
(`PR #278 <https://github.com/oemof/tespy/pull/278>`_).
|
|
25
|
+
- Add Dodecane to the available fuels for combustion
|
|
26
|
+
(`PR #273 <https://github.com/oemof/tespy/pull/273>`_).
|
|
27
|
+
- Add tests for the solar energy generating system
|
|
28
|
+
(`PR #280 <https://github.com/oemof/tespy/pull/280>`_).
|
|
29
|
+
|
|
30
|
+
Contributors
|
|
31
|
+
############
|
|
32
|
+
- Francesco Witte (`@fwitte <https://github.com/fwitte>`_)
|
|
@@ -7,7 +7,8 @@ Discover noteable new features and improvements in each release
|
|
|
7
7
|
:depth: 1
|
|
8
8
|
:local:
|
|
9
9
|
:backlinks: top
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
.. include:: whats_new/v0-4-4.rst
|
|
11
12
|
.. include:: whats_new/v0-4-3-003.rst
|
|
12
13
|
.. include:: whats_new/v0-4-3-001.rst
|
|
13
14
|
.. include:: whats_new/v0-4-3.rst
|
|
@@ -6,7 +6,7 @@ max-line-length = 140
|
|
|
6
6
|
exclude = */migrations/*, docs/conf.py
|
|
7
7
|
|
|
8
8
|
[metadata]
|
|
9
|
-
|
|
9
|
+
description_file = README.rst
|
|
10
10
|
|
|
11
11
|
[options]
|
|
12
12
|
tests_require = pytest
|
|
@@ -23,7 +23,7 @@ python_files =
|
|
|
23
23
|
tests.py
|
|
24
24
|
addopts =
|
|
25
25
|
-ra
|
|
26
|
-
--strict
|
|
26
|
+
--strict-markers
|
|
27
27
|
--doctest-modules
|
|
28
28
|
--doctest-glob=\*.rst
|
|
29
29
|
--tb=short
|
|
@@ -25,7 +25,7 @@ def read(*names, **kwargs):
|
|
|
25
25
|
|
|
26
26
|
setup(
|
|
27
27
|
name='TESPy',
|
|
28
|
-
version='0.4.
|
|
28
|
+
version='0.4.4',
|
|
29
29
|
license='MIT',
|
|
30
30
|
description='Thermal Engineering Systems in Python (TESPy)',
|
|
31
31
|
long_description='%s' % (
|
|
@@ -52,27 +52,26 @@ setup(
|
|
|
52
52
|
'Operating System :: POSIX',
|
|
53
53
|
'Operating System :: Microsoft :: Windows',
|
|
54
54
|
'Programming Language :: Python',
|
|
55
|
-
'Programming Language :: Python :: 3.6',
|
|
56
55
|
'Programming Language :: Python :: 3.7',
|
|
57
56
|
'Programming Language :: Python :: 3.8',
|
|
58
57
|
'Topic :: Scientific/Engineering',
|
|
59
58
|
],
|
|
60
59
|
project_urls={
|
|
61
60
|
'Documentation': 'https://tespy.readthedocs.io/',
|
|
62
|
-
'Changelog': 'https://tespy.readthedocs.io/en/
|
|
61
|
+
'Changelog': 'https://tespy.readthedocs.io/en/main/whats_new.html',
|
|
63
62
|
'Issue Tracker': 'https://github.com/oemof/tespy/issues',
|
|
64
63
|
},
|
|
65
|
-
python_requires='>=3.
|
|
64
|
+
python_requires='>=3.7, <3.9',
|
|
66
65
|
install_requires=[
|
|
67
66
|
'CoolProp>=6.4,<7',
|
|
68
67
|
'matplotlib>=3.2.1,<4',
|
|
69
68
|
'numpy>=1.13.3,<2',
|
|
70
|
-
'pandas>=1.
|
|
69
|
+
'pandas>=1.2.0,<2',
|
|
71
70
|
'scipy>=0.19.1,<2',
|
|
72
71
|
'tabulate>=0.8.2,<0.9'
|
|
73
72
|
],
|
|
74
73
|
extras_require={
|
|
75
74
|
'dev': ['pytest', 'sphinx', 'sphinx_rtd_theme',
|
|
76
|
-
'sphinxcontrib.bibtex', ],
|
|
75
|
+
'sphinxcontrib.bibtex', 'tox', ],
|
|
77
76
|
'dummy': ['tespy']}
|
|
78
77
|
)
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: TESPy
|
|
3
|
+
Version: 0.4.4
|
|
4
|
+
Summary: Thermal Engineering Systems in Python (TESPy)
|
|
5
|
+
Home-page: https://github.com/oemof/tespy
|
|
6
|
+
Author: Francesco Witte
|
|
7
|
+
Author-email: francesco.witte@hs-flensburg.de
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Documentation, https://tespy.readthedocs.io/
|
|
10
|
+
Project-URL: Changelog, https://tespy.readthedocs.io/en/main/whats_new.html
|
|
11
|
+
Project-URL: Issue Tracker, https://github.com/oemof/tespy/issues
|
|
12
|
+
Platform: UNKNOWN
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Education
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: Unix
|
|
18
|
+
Classifier: Operating System :: POSIX
|
|
19
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
20
|
+
Classifier: Programming Language :: Python
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering
|
|
24
|
+
Requires-Python: >=3.7, <3.9
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Provides-Extra: dummy
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
|
|
29
|
+
Thermal Engineering Systems in Python
|
|
30
|
+
=====================================
|
|
31
|
+
|
|
32
|
+
TESPy stands for "Thermal Engineering Systems in Python" and provides a
|
|
33
|
+
powerful simulation toolkit for thermal engineering plants such as power
|
|
34
|
+
plants, district heating systems or heat pumps. It is an external extension
|
|
35
|
+
module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and
|
|
36
|
+
can be used as a standalone package.
|
|
37
|
+
|
|
38
|
+
.. figure:: https://raw.githubusercontent.com/oemof/tespy/9915f013c40fe418947a6e4c1fd0cd0eba45893c/docs/api/_images/logo_tespy_big.svg
|
|
39
|
+
:align: center
|
|
40
|
+
|
|
41
|
+
With the TESPy package you are able to calculate stationary operation in order
|
|
42
|
+
to design the process of thermal energy systems. From that point it is possible
|
|
43
|
+
to simulate the offdesign behavior of your plant using underlying
|
|
44
|
+
characteristics for each of the plants components. The package includes basic
|
|
45
|
+
components, such as turbines, pumps, compressors, heat exchangers, pipes,
|
|
46
|
+
mixers and splitters as well as some advanced components (derivatives of heat
|
|
47
|
+
exchangers, drum).
|
|
48
|
+
|
|
49
|
+
Everybody is welcome to use and/or develop TESPy. Contribution is already
|
|
50
|
+
possible on a low level by simply fixing typos in TESPy's documentation or
|
|
51
|
+
rephrasing sections which are unclear. If you want to support us that way
|
|
52
|
+
please fork the TESPy repository to your own github account and make changes
|
|
53
|
+
as described in the github guidelines:
|
|
54
|
+
https://guides.github.com/activities/hello-world/
|
|
55
|
+
|
|
56
|
+
Key Features
|
|
57
|
+
============
|
|
58
|
+
* **Open** Source
|
|
59
|
+
* **Generic** thermal engineering applications
|
|
60
|
+
* **Automatic** model documentation in LaTeX for high transparency and
|
|
61
|
+
reproducibility
|
|
62
|
+
* **Extendable** framework for the implementation of custom components and
|
|
63
|
+
component groups
|
|
64
|
+
* **Postprocessing** features like exergy analysis and fluid property plotting
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Documentation
|
|
69
|
+
=============
|
|
70
|
+
|
|
71
|
+
You can find the full documentation at
|
|
72
|
+
`readthedocs <http://tespy.readthedocs.org>`_. Use the
|
|
73
|
+
`project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to
|
|
74
|
+
choose the version of the documentation. Go to the
|
|
75
|
+
`download page <http://readthedocs.org/projects/tespy/downloads/>`_ to
|
|
76
|
+
download different versions and formats (pdf, html, epub) of the documentation.
|
|
77
|
+
|
|
78
|
+
To get the latest news visit and follow our `website <https://www.oemof.org>`_.
|
|
79
|
+
|
|
80
|
+
Installing TESPy
|
|
81
|
+
================
|
|
82
|
+
|
|
83
|
+
If you have a working Python3 environment, use pypi to install the latest
|
|
84
|
+
tespy version:
|
|
85
|
+
|
|
86
|
+
.. code:: bash
|
|
87
|
+
|
|
88
|
+
pip install tespy
|
|
89
|
+
|
|
90
|
+
If you want to use the latest features, you might want to install the
|
|
91
|
+
**developer version**. See section
|
|
92
|
+
`Developing TESPy <http://tespy.readthedocs.io/en/dev/developing_tespy.html>`_
|
|
93
|
+
for more information. The developer version is not recommended for productive
|
|
94
|
+
use.
|
|
95
|
+
|
|
96
|
+
Examples
|
|
97
|
+
========
|
|
98
|
+
|
|
99
|
+
For a short introduction on how TESPy works and how you can use it, we provide
|
|
100
|
+
some
|
|
101
|
+
`examples and tutorials <https://tespy.readthedocs.io/en/main/tutorials_examples.html>`_,
|
|
102
|
+
go and check them out. You can download the python scripts of all example plants
|
|
103
|
+
from the
|
|
104
|
+
`tespy_examples <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_
|
|
105
|
+
repository.
|
|
106
|
+
|
|
107
|
+
Citation
|
|
108
|
+
========
|
|
109
|
+
|
|
110
|
+
The scope and functionalities of TESPy have been documented in a paper
|
|
111
|
+
published in the Journal of Open Source Software with an OpenAccess license.
|
|
112
|
+
Download the paper from https://doi.org/10.21105/joss.02178. As TESPy is a free
|
|
113
|
+
software, we kindly ask that you add a reference to TESPy if you use the
|
|
114
|
+
software for your scientific work. Please cite the article with the BibTeX
|
|
115
|
+
citation below.
|
|
116
|
+
|
|
117
|
+
Additionally, you have the possibility to cite a specific version of TESPy to
|
|
118
|
+
make your work reproducible. The source code of every version is published on
|
|
119
|
+
zenodo. Find your version here: https://doi.org/10.5281/zenodo.2555866.
|
|
120
|
+
|
|
121
|
+
BibTeX citation::
|
|
122
|
+
|
|
123
|
+
@article{Witte2020,
|
|
124
|
+
doi = {10.21105/joss.02178},
|
|
125
|
+
year = {2020},
|
|
126
|
+
publisher = {The Open Journal},
|
|
127
|
+
volume = {5},
|
|
128
|
+
number = {49},
|
|
129
|
+
pages = {2178},
|
|
130
|
+
author = {Francesco Witte and Ilja Tuschy},
|
|
131
|
+
title = {{TESPy}: {T}hermal {E}ngineering {S}ystems in {P}ython},
|
|
132
|
+
journal = {Journal of Open Source Software}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
License
|
|
136
|
+
=======
|
|
137
|
+
|
|
138
|
+
Copyright (c) 2017-2021 oemof developer group
|
|
139
|
+
|
|
140
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
141
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
142
|
+
in the Software without restriction, including without limitation the rights
|
|
143
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
144
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
145
|
+
furnished to do so, subject to the following conditions:
|
|
146
|
+
|
|
147
|
+
The above copyright notice and this permission notice shall be included in all
|
|
148
|
+
copies or substantial portions of the Software.
|
|
149
|
+
|
|
150
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
151
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
152
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
153
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
154
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
155
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
156
|
+
SOFTWARE.
|
|
157
|
+
|
|
158
|
+
|
|
@@ -155,6 +155,7 @@ docs/whats_new/v0-4-2.rst
|
|
|
155
155
|
docs/whats_new/v0-4-3-001.rst
|
|
156
156
|
docs/whats_new/v0-4-3-003.rst
|
|
157
157
|
docs/whats_new/v0-4-3.rst
|
|
158
|
+
docs/whats_new/v0-4-4.rst
|
|
158
159
|
src/TESPy.egg-info/PKG-INFO
|
|
159
160
|
src/TESPy.egg-info/SOURCES.txt
|
|
160
161
|
src/TESPy.egg-info/dependency_links.txt
|
|
@@ -164,7 +165,6 @@ src/TESPy.egg-info/top_level.txt
|
|
|
164
165
|
src/tespy/__init__.py
|
|
165
166
|
src/tespy/components/__init__.py
|
|
166
167
|
src/tespy/components/component.py
|
|
167
|
-
src/tespy/components/deprecated.py
|
|
168
168
|
src/tespy/components/subsystem.py
|
|
169
169
|
src/tespy/components/basics/__init__.py
|
|
170
170
|
src/tespy/components/basics/cycle_closer.py
|
|
@@ -204,12 +204,10 @@ src/tespy/components/turbomachinery/turbomachine.py
|
|
|
204
204
|
src/tespy/connections/__init__.py
|
|
205
205
|
src/tespy/connections/bus.py
|
|
206
206
|
src/tespy/connections/connection.py
|
|
207
|
-
src/tespy/connections/deprecated.py
|
|
208
207
|
src/tespy/data/__init__.py
|
|
209
208
|
src/tespy/data/char_lines.json
|
|
210
209
|
src/tespy/data/char_maps.json
|
|
211
210
|
src/tespy/networks/__init__.py
|
|
212
|
-
src/tespy/networks/deprecated.py
|
|
213
211
|
src/tespy/networks/network.py
|
|
214
212
|
src/tespy/networks/network_reader.py
|
|
215
213
|
src/tespy/tools/__init__.py
|
|
@@ -233,6 +231,7 @@ tests/test_components/test_reactors.py
|
|
|
233
231
|
tests/test_components/test_turbomachinery.py
|
|
234
232
|
tests/test_models/test_gas_turbine_models.py
|
|
235
233
|
tests/test_models/test_heat_pump_model.py
|
|
234
|
+
tests/test_models/test_solar_energy_generating_system.py
|
|
236
235
|
tests/test_networks/test_network.py
|
|
237
236
|
tests/test_tools/test_characteristics.py
|
|
238
237
|
tests/test_tools/test_fluid_properties.py
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
CoolProp<7,>=6.4
|
|
2
2
|
matplotlib<4,>=3.2.1
|
|
3
3
|
numpy<2,>=1.13.3
|
|
4
|
-
pandas<2,>=1.
|
|
4
|
+
pandas<2,>=1.2.0
|
|
5
5
|
scipy<2,>=0.19.1
|
|
6
6
|
tabulate<0.9,>=0.8.2
|
|
7
7
|
|
|
@@ -10,6 +10,7 @@ pytest
|
|
|
10
10
|
sphinx
|
|
11
11
|
sphinx_rtd_theme
|
|
12
12
|
sphinxcontrib.bibtex
|
|
13
|
+
tox
|
|
13
14
|
|
|
14
15
|
[dummy]
|
|
15
16
|
tespy
|
|
@@ -26,33 +26,3 @@ from .subsystem import Subsystem # noqa: F401
|
|
|
26
26
|
from .turbomachinery.compressor import Compressor # noqa: F401
|
|
27
27
|
from .turbomachinery.pump import Pump # noqa: F401
|
|
28
28
|
from .turbomachinery.turbine import Turbine # noqa: F401
|
|
29
|
-
|
|
30
|
-
# ############## deprecated components errors ############## #
|
|
31
|
-
|
|
32
|
-
from .deprecated import source # noqa: F401
|
|
33
|
-
from .deprecated import sink # noqa: F401
|
|
34
|
-
from .deprecated import cycle_closer # noqa: F401
|
|
35
|
-
from .deprecated import subsystem_interface # noqa: F401
|
|
36
|
-
from .deprecated import combustion_chamber # noqa: F401
|
|
37
|
-
from .deprecated import combustion_chamber_stoich # noqa: F401
|
|
38
|
-
from .deprecated import combustion_engine # noqa: F401
|
|
39
|
-
from .deprecated import orc_evaporator # noqa: F401
|
|
40
|
-
from .deprecated import condenser # noqa: F401
|
|
41
|
-
from .deprecated import desuperheater # noqa: F401
|
|
42
|
-
from .deprecated import heat_exchanger # noqa: F401
|
|
43
|
-
from .deprecated import heat_exchanger_simple # noqa: F401
|
|
44
|
-
from .deprecated import parabolic_trough # noqa: F401
|
|
45
|
-
from .deprecated import solar_collector # noqa: F401
|
|
46
|
-
from .deprecated import droplet_separator # noqa: F401
|
|
47
|
-
from .deprecated import drum # noqa: F401
|
|
48
|
-
from .deprecated import merge # noqa: F401
|
|
49
|
-
from .deprecated import node # noqa: F401
|
|
50
|
-
from .deprecated import separator # noqa: F401
|
|
51
|
-
from .deprecated import splitter # noqa: F401
|
|
52
|
-
from .deprecated import pipe # noqa: F401
|
|
53
|
-
from .deprecated import valve # noqa: F401
|
|
54
|
-
from .deprecated import water_electrolyzer # noqa: F401
|
|
55
|
-
from .deprecated import compressor # noqa: F401
|
|
56
|
-
from .deprecated import pump # noqa: F401
|
|
57
|
-
from .deprecated import turbine # noqa: F401
|
|
58
|
-
from .deprecated import subsystem # noqa: F401
|