reskit.csp.workflows.dataset_handler
====================================

.. py:module:: reskit.csp.workflows.dataset_handler


Attributes
----------

.. autoapisummary::

   reskit.csp.workflows.dataset_handler.datasetnames


Classes
-------

.. autoapisummary::

   reskit.csp.workflows.dataset_handler.dataset_handler


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

.. py:class:: dataset_handler(datasets)

   
   dataset_handelr, which applies usefulll functions for splitting up placements from different datasets

   :param datasets: each string should be a valid key in the
   :type datasets: list of strings


   .. py:attribute:: datasets


   .. py:method:: split_placements(placements, gsa_dni_path, gsa_tamb_path)


   .. py:method:: _get_path_dataset_opt()


   .. py:method:: _get_opt_HTF_matrix()

      Tries to find the opt matrix from the given datasets. if not possible, calculate a new one

      :returns: lookup table with the optimal HTF fluid for each temperature and DNI
      :rtype: pd.DataFrame



   .. py:method:: _calc_opt_HTF_matrix()

      Calculates the optimal htf for a variation of t_amb and dni and stores it inside reskit

      :returns: [matrix with opt htf for different T_amb and DNIs]
      :rtype: [pd.DataFrame]



   .. py:method:: _lookup(x, y, table)


.. py:data:: datasetnames
   :value: ['Dataset_Heliosol_2030', 'Dataset_SolarSalt_2030']


