carbatpy.models.coupled.orc_simple_v2 ===================================== .. py:module:: carbatpy.models.coupled.orc_simple_v2 .. autoapi-nested-parse:: Created on Sun May 21 10:52:09 2023 @author: atakan Attributes ---------- .. autoapisummary:: carbatpy.models.coupled.orc_simple_v2._RESULTS_ carbatpy.models.coupled.orc_simple_v2.FLUID Classes ------- .. autoapisummary:: carbatpy.models.coupled.orc_simple_v2.OrganicRankineCycle Module Contents --------------- .. py:data:: _RESULTS_ .. py:class:: OrganicRankineCycle(fluids, fixed_points, components=[]) 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. .. py:method:: calc_orc(verbose=False) 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". :param verbose: should values be printed? The deault is False :type verbose: Boolean, optional :returns: **eta_orc** -- thermal efficiency of ORC. :rtype: flaot .. py:method:: hp_plot(f_name=_RESULTS_ + '\\last_T_H_dot_plot_orc', fig_ax=[]) plots the heat pump cycle and stores it to the given file (name) :param f_name: where to write the results and the plot. :type f_name: string, optional :param fig_ax: instances with figure and axes to plot into. If Empty a new one will be generated. default =[] :type fig_ax: list (length 2), optional :rtype: None. .. py:data:: FLUID :value: 'Propane * Butane * Pentane * Hexane'