carbatpy.models.coupled.orc_simple_v2

Created on Sun May 21 10:52:09 2023

@author: atakan

Attributes

_RESULTS_

FLUID

Classes

OrganicRankineCycle

Heat pump class for simple thermodynamic calculations for energy storage

Module Contents

carbatpy.models.coupled.orc_simple_v2._RESULTS_[source]
class carbatpy.models.coupled.orc_simple_v2.OrganicRankineCycle(fluids, fixed_points, components=[])[source]

Heat pump class for simple thermodynamic calculations for energy storage

Two pairwase storages at two different temperatures are assumed, always starting at room temperature (around 300K). Thus, three fluids are expected: the working fluid, the storage fluid or sink at high temperature (h) and the source storage fluid at low temperature. The minimum and maximum temperatures of all storags are fixed and the heat flow rate to the high-T storage are given. Also, isentropic efficiencies are fixed so far, but they should use a function later.

calc_orc(verbose=False)[source]

calculate a simple organic rankine cycle (ORC)

working with two sensible storages (or source and sink). At the moment the machine model is just for a constant isentropic efficiency. The initial states are provided by the Fluid-instances. The pressures have to be selected carefully, they are not tested at the moment. For optimization, the pressure levels of the cycle could be used within a second script. Several parameters are fixed along a calculation, this is in the dictionary “self.fixed_points”.

Parameters:

verbose (Boolean, optional) – should values be printed? The deault is False

Returns:

eta_orc – thermal efficiency of ORC.

Return type:

flaot

hp_plot(f_name=_RESULTS_ + '\\last_T_H_dot_plot_orc', fig_ax=[])[source]

plots the heat pump cycle and stores it to the given file (name)

Parameters:
  • f_name (string, optional) – where to write the results and the plot.

  • fig_ax (list (length 2), optional) – instances with figure and axes to plot into. If Empty a new one will be generated. default =[]

Return type:

None.

carbatpy.models.coupled.orc_simple_v2.FLUID = 'Propane * Butane * Pentane * Hexane'[source]