reskit.geothermal.data.gringarten
=================================

.. py:module:: reskit.geothermal.data.gringarten


Attributes
----------

.. autoapisummary::

   reskit.geothermal.data.gringarten.SECONDS_PER_YEAR


Classes
-------

.. autoapisummary::

   reskit.geothermal.data.gringarten.gringarten


Module Contents
---------------

.. py:class:: gringarten(Vdot_total, x, y, z, x_ED)

   .. py:attribute:: rho_water
      :value: 1000



   .. py:attribute:: cp_water
      :value: 4186



   .. py:attribute:: rho_rock
      :value: 2550



   .. py:attribute:: cp_rock
      :value: 1000



   .. py:attribute:: K_rock
      :value: 2.6



   .. py:attribute:: SECONDS_PER_YEAR
      :value: 31536000



   .. py:attribute:: Vdot_total


   .. py:attribute:: x


   .. py:attribute:: y


   .. py:attribute:: z


   .. py:attribute:: x_ED


   .. py:method:: getNFracs()


   .. py:method:: getDimlessTime(time)


   .. py:method:: getGringartenCurve(path=None)


   .. py:method:: getWaterTemp(T_Rock, T_Inj)


   .. py:method:: getEGSProps(timestep=None)


   .. py:method:: getResourceUseTime(T_abandon)

      Returns the time in years, after which the reservoir is depleted (if enough time steps are given)

      :param T_abandon: temperature at which the reservoir needs to be abandoned (eg. 150 degC)
      :type T_abandon: int, float

      :returns: time in years until the abandon temperature is reached
      :rtype: float



.. py:data:: SECONDS_PER_YEAR
   :value: 31536000


