Pinch Analysis

src.Source.simulation.Heat_Recovery.Pinch.convert_pinch.convert_pinch(in_var, kb: KB)[source]

Main function of Pinch Analysis

Includes data pretreatment, pinch analysis, and economic/CO2 analysis of the options designed. Return the best three solutions for: minimum CO2 emissions ,maximize energy recovery, and energy recovery specific cost.

Parameters

in_var

Data for pinch analysis, with the following key:

platformdict

Platform Data

streams_to_analyselist

List with streams ID to analyse

pinch_delta_T_min: float

Minimum delta temperature for pinch analysis [ºC]

all_input_objectslist
List with:
  • equipments (check Source/characterization/Generate_Equipment)

  • processes (check Source/characterization/Process/process)

  • isolated streams (check General/Simple_User/isolated_stream)

kbdict

Knowledge Base

Returns

pinch_output

Pinch analysis, with the following keys:

best_optionsdict

Three categories, with the respective following keys:

co2_optimizationlist

List with dicts, with best design options that minimize CO2 emissions. Each solution with the following keys:

IDint

Designed solution ID

streamslist

Streams ID in pinch design

streams_infolist

array with dicts

capexfloat

Solution capex [€]

om_fixfloat

Yearly OM fix costs [€/year]

hot_utilityfloat

Power of the hot utility needed, so that the cold streams reach their target_temperature [kW]

cold_utilityfloat

Power of the cold utility needed, so that the hot streams reach their target_temperature [kW]

lifetimefloat

Considered lifetime [year]

co2_savingsfloat

Annualized co2 savings by implementing the pinch design [kg CO2/kWh]

money_savingsfloat

Annualized energy savings by implementing the pinch design [€/kWh]

energy_dispatchfloat

Yearly energy recovered by implementing the pinch design [kWh/year]

discount_ratefloat

Financial parameter for the BM []

pinch_temperaturefloat

Design pinch temperature [ºC]

theo_minimum_hot_utilityfloat

Theoretical power of the hot utility needed, so that the cold streams reach their target temperature [kW]

theo_minimum_cold_utilityfloat

Theoretical power of the cold utility needed, so that the hot streams reach their target temperature [kW]

pinch_hx_datalist

Each heat exchanger technical/economical data,with the following keys:

  • HX_Powerfloat

    Heat exchanger power [kW]

  • HX_Hot_Streamint

    Hot stream ID

  • HX_Cold_Streamint

    Cold stream ID

  • HX_Original_Hot_Streamint

    Hot stream ID (there might be a split, meaning that HX_Original_Hot_Stream != HX_Hot_Stream)

  • HX_Original_Cold_Streamint

    Cold stream ID (there might be a split, meaning that HX_Original_Cold_Stream != HX_Cold_Stream)

  • HX_Typestr

    Heat exchanger type

  • HX_Turnkey_Costfloat

    Heat exchanger capex [€]

  • HX_OM_Fix_Costfloat

    Heat exchanger OM Fix [€/year]

  • HX_Hot_Stream_T_Hotfloat

    Hot stream hot temperature[ºC]

  • HX_Hot_Stream_T_Coldfloat

    Hot stream cold temperature[ºC]

  • HX_Cold_Stream_T_Hotfloat

    Cold stream hot temperature[ºC]

  • HX_Cold_Stream_T_Coldfloat

    Cold stream cold temperature[ºC]

  • Storagefloat

    Storage volume [m3]

  • Storage_Satisfiesfloat

    Percentage of capacity in mismatch hours that storaeg satisfies [%]

  • Storage_Turnkey_Costfloat

    Storage capex [€]

  • Total_Turnkey_Costfloat

    Heat exchanger + storage copex [€]

  • Recovered_Energyfloat

    Amount of energy recovered [kWh]

Return type

dict

energy_recovered_optimizationlist

List with best design options of the respective category -> similar to “co2_optimization”

energy_investment_optimizationlist

List with best design options of the respective category -> similar to “co2_optimization”

reportstr

HTML Report