Skip to main content

3ETool

3ETool contains some useful tools developed by the SERG research group of the University of Florence for performing exergo-economic and exergo environmental analysis. The user manual can be downloaded here. Moreover, some youtube tutorials have been uploaded in order to help the user in compiling the excel file.

!!! NEW DRAG & DROP FUNCTIONALITY 🥳🎉!!!

With the new drag & drop functionality, the user can simply define the topology using a graphical interface and then run the calculation starting from there. to use this feature, the user has to run the following command:

from EEETools import run_drag_drop_server
run_drag_drop_server()

This will run a server on the localhost, and the user can access it using the following link http://localhost:8002

1 - Calculation process 🤔⚙

The beta version can be downloaded using PIP:

pip install 3ETool

Once the installation has been completed the user can import the tool, and paste to a desired location the user manual, the components documentation or the default excel file, as in the matlab version of the app.

import EEETools

EEETools.paste_user_manual()
EEETools.paste_components_documentation()
EEETools.paste_default_excel_file()

Finally, once the Excel file has been compiled, the calculation can be initialized trough this command:

import EEETools

EEETools.calculate()

calculation options and user defined excel path can be passed to the function as well (default values are true); in case user does not pass the path, the app will automatically open a filedialog window so that it can be selected manually

import EEETools

EEETools.calculate(
    
    excel_path="your_excel_file.xlsx",
    calculate_on_pf_diagram = True, 
    loss_cost_is_zero = True, 
    valve_is_dissipative = True, 
    condenser_is_dissipative = True

)

2 - Debugging tools 👨‍💻🔍

Excel file can be debugged using some specific tools that can be launched using the following command (please select the Excel file that you want to debug on program request):

import EEETools
EEETools.launch_connection_debug()

Another possible way of debugging the code is to ask the program to export the debug information on the Excel file:

import EEETools
EEETools.export_debug_information()

Finally, topology can be displayed using:

import EEETools
EEETools.launch_network_display()

3 - Sankey Diagrams 📈📊

Sankey diagram can be plotted using the following command:

import EEETools
EEETools.plot_sankey(
    
    generate_on_pf_diagram=True,
    display_costs=True,

)
  • generate_on_pf_diagram can be omitted and is True by default:

    • if False the connections are defined according to the physical topology of the plant
    • if True the connections are based on the product-fuel definition
  • display_costs can be omitted and is False by default:

    • if False the thickness of the connection in the sankey diagram is proportional to the exergy flux between the components (in kW)

    • if True the thickness of the connection in the sankey diagram is proportional to the economic (or environmental) flux between the components (in €/s or in Pts/s). In addition, for each connection, the color intensity is proportional to the relative cost of the stream (in €/kJ or in Pts/kJ)

4 - Code Structure 📁

The application code is divided into 3 main folders:

MainModules directory contains Base modules such as Block, Connection, ArrayHandler and Drawer Classes.
Block Sublcasses contains a Block subclass for each component type (e.g. expander, compressor etc.)
Tools contains different APIs needed for the program to run (e.g. the cost correlation handler, the EES code generator, and the importer and exporter for both Excel and xml files)

5 - Important Information ⚠

-------------------------- !!! THIS IS A BETA VERSION !!! --------------------------

please report any bug or problems in the installation to pietro.ungar@unifi.it
for further information visit: https://tinyurl.com/SERG-3ETool

-------------------------------- !!! HOW TO CITE !!! --------------------------------

The following reference can be used to cite the tool in publications:

Fiaschi, D., Manfrida, G., Ungar, P., Talluri, L. 

Development of an exergo-economic and exergo-environmental tool for power plant assessment: 
evaluation of a geothermal case study.

https://doi.org/10.52202/062738-0003

Release files for 3ETool 0.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for 3ETool 0.9.4
File Size Uploaded
3ETool-0.9.4.tar.gz 22.7 MB Details

Release files / 3ETool-0.9.4.tar.gz

Download URL 3ETool-0.9.4.tar.gz
Size 22.7 MB
Tags Source
SHA-256 checksum
How to use checksums
acc442aeaed93619d948a61ffefaefc7225dc843842d5ead61944024d644bfcc
BLAKE2b-256 checksum
How to use checksums
01b08c2460f7130cc33f11506a32bd77b65f55fdff08856461bf76a45bfe11c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.9.4 This release

1 release file

0.9.3

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.4

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.4.0

1 release file

0.3.14

1 release file

0.3.13

1 release file

0.3.12

1 release file

0.3.11

1 release file

0.3.10

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page