User Guide - STANDALONE
The CF can also be used as STANDALONE. It were developed scripts with the main features of the CF that read data from excel files and provide routines the results to the user. You can check below to understand how it works.
from main_cf_standalone import CFModule
#############################################################################################
#############################################################################################
# USER INTERACTION -> Create a folder inside "test" folder with your input data
# Initialize
cf = CFModule()
# Get files path
dhn_file_path = 'test_files/dhn_data.xlsx'
design_orc_file_path = 'test_files/orc_data.xlsx'
pinch_analysis_file_path = 'test_files/pinch_data.xlsx'
# Run
convert_sinks_results, convert_sources_results = cf.dhn_simulation(dhn_file_path,
grid_supply_temperature=80,
grid_return_temperature=40)
orc_data, orc_report = cf.design_orc(design_orc_file_path)
pinch_data, pinch_report = cf.pinch_analysis(pinch_analysis_file_path)
For each one of the simulations you can find an example for the INPUTS data and RESULTS in the “standalone” folder. Check here, for a more detailed code snippet.
Below, you can find a step-by-step for each simulation.
District Heating Network
- INPUTS -> user provides excel file
Sources characterization - Simple Characterization
Sinks characterization - Simple Characterization, Building and Greenhouse
Fuels data
- RUN CODE
Sinks Simulation - Convert Sinks
Sources Simulation - Convert Sources
- OUTPUT -> user can fetch the data
User can get the outputs of the simulations (Convert Sources and Convert Sinks)
Pinch Analysis - Isolated Streams (QUICK INPUTS)
- INPUTS -> user provides excel file
Source and streams characterization
Pinch analysis data
Fuels data
- RUN CODE
Source simulation - Pinch Analysis - QUICK INPUTS -> get best pinch designs
- OUTPUT -> user can fetch the data
User can get the outputs of the simulation and the HTML report
Design ORC
- INPUTS -> user provides excel file
Source and streams characterization
ORC design data
Fuels data
- RUN CODE
Source simulation - Organic Rankine Cycle (ORC) -> get best ORC designs
- OUTPUT -> user can fetch the data
User can get the outputs of the simulation and the HTML report