v0.4

Changelog of the v0.4 release series.

v0.4.4 - Reynolds’ Reminiscence (July, 14, 2021)

Documentation

  • Fix some typos here and there.

Bug Fixes

  • Fix pandas version 1.3.0 dependencies (PR #277).

  • Add missing results for some components in the results DataFrame of the network (PR #277).

  • Fix exergy balance equation of class merge tespy.components.nodes.merge.Merge.exergy_balance (PR #280).

  • Fix a lot of DeprecationWarnings in pandas (PR #280).

Other Changes

  • Add warning logs for missing fluid composition data in the initialisation process of the network (PR #278).

  • Add Dodecane to the available fuels for combustion (PR #273).

  • Add tests for the solar energy generating system (PR #280).

Contributors

v0.4.3-003 - Grassmann’s Graph (May, 17, 2021)

Documentation

  • Fix typos in the HeatExchanger classes API docs.

  • Add two more examples for exergy analysis setups.

Other Changes

  • Remove Python3.6 support.

  • Make it possible to include results in automatic model report, for more information see the corresponding section in the documentation: TESPy Networks Postprocessing (PR #267).

Contributors

v0.4.3-001 - Grassmann’s Graph (May, 12, 2021)

Documentation

  • Some minor changes in documentation.

Other Changes

  • Check for key in dictionary instead of key in dictionary.keys() in boolean operations (PR #264).

  • Rename GitHub branches: master to main (Issue #266).

Contributors

v0.4.3 - Grassmann’s Graph (April, 29, 2021)

New Features

  • Automatic provision of input data for the sankey diagram class of the plotly library to generate exergy sankey diagrams. For example, the diagram of the solar thermal power plant presented in the thermodynamic analyses section

    Example of the sankey diagram

    (PR #251).

  • The results of your simulation are much more easy to bulk access: The tespy.networks.network.Network class provides you with a results dictionary containing DataFrames with all data necessary. The keys of the dictionary are:

    • 'Connection'

    • the class names of the different components used, e.g. 'Turbine' or 'HeatExchanger'

    • the labels of the busses, e.g. 'input power'

    The pandas DataFrame provides you with the SI-values for components and busses as well as all fluid property data of the connections in respective specified unit. For example:

    mynetwork.results['Connection']
    mynetwork.results['Turbine']
    

    (PR #255).

Documentation

Bug Fixes

  • Add missing exergy balance method of class Drum (#1eb92e3).

  • Add missing specified values of temperature difference to boiling point to connection report (PR #250).

  • Fix Reynolds value ranges for Hanakov and Blasius equations in calculation of Darcy friction factor (#ce6bef9).

Other Changes

Contributors

v0.4.2 - Fixes for User’s Universe (February, 11, 2021)

API Fixes/Changes

  • Due to a bug/double structure in the network properties of a model, specification of component or connection parameters when the component or connection instance was accessed via its label within the network, the wrong copy of the instance was accessed when using PyGMO in some cases. The method off accessing components and connections via label has therefore changed in the following way.

    Old method:

    conn = mynetwork.connections['connection label']
    comp = mynetwork.components['component label']
    

    New method:

    conn = mynetwork.get_conn('connection label')
    comp = mynetwork.get_comp('component label')
    

    To iterate through all components or connections of the network use something like:

    for conn in mynetwork.conns['object']:
        print(conn.label)
    
    for comp in mynetwork.comps['object']:
        print(comp.label)
    

    Accessing busses remains untouched (PR #247)

Bug Fixes

  • Saving data of characteristics and reloading from the .csv file structure was broken if more than one component of the same class was part of the network (PR #246).

Contributors

v0.4.1 - User’s Universe (February, 7, 2021)

New Features

  • Add functionalities for user defined equations. The user can define individual functions that can be applied on connection parameters. E.g. in order to couple mass flow values at some point of the network to temperature values at a different point. Generic equations can be applied: There are no restrictions as long as the partial derivatives are provided correctly. For extensive examples have a look at the API documentation of class tespy.tools.helpers.UserDefinedEquation or in the respective section in the online documentation (PR #245).

Documentation

Bug Fixes

  • Fix RuntimeError in CombustionChamberStoich class (PR #244).

Other Changes

Contributors