def __init__(self, ptree):
     Experiment.__init__(self)
     self._discharge_power_lower_limit = ptree.get_double(
         'discharge_power_lower_limit')
     self._discharge_power_upper_limit = ptree.get_double(
         'discharge_power_upper_limit')
     self._steps_per_decade = ptree.get_int('steps_per_decade')
     self._min_steps_per_discharge = ptree.get_int(
         'min_steps_per_discharge')
     self._max_steps_per_discharge = ptree.get_int(
         'max_steps_per_discharge')
     self._time_step_initial_guess = ptree.get_double('time_step')
     self._ptree = copy(ptree)
     self.reset()
Beispiel #2
0
 def __init__(self, ptree):
     Experiment.__init__(self)
     self._discharge_power_lower_limit = ptree.get_double(
         'discharge_power_lower_limit')
     self._discharge_power_upper_limit = ptree.get_double(
         'discharge_power_upper_limit')
     self._steps_per_decade = ptree.get_int('steps_per_decade')
     self._min_steps_per_discharge = ptree.get_int(
         'min_steps_per_discharge')
     self._max_steps_per_discharge = ptree.get_int(
         'max_steps_per_discharge')
     self._time_step_initial_guess = ptree.get_double('time_step')
     self._ptree = copy(ptree)
     self.reset()
 def __init__(self, ptree):
     Experiment.__init__(self)
Beispiel #4
0
 def __init__(self, ptree):
     Experiment.__init__(self)