diff options
Diffstat (limited to 'UnitOperations.py')
-rw-r--r-- | UnitOperations.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/UnitOperations.py b/UnitOperations.py index b3b9a95..c5259a1 100644 --- a/UnitOperations.py +++ b/UnitOperations.py @@ -45,6 +45,7 @@ class UnitOperation(): self.mode = self.modeslist[0] else: self.mode = mode + # print("Hello hello ", self.mode) params = self.parameters.copy() params[self.mode] = None return params @@ -157,7 +158,7 @@ class UnitOperation(): class Heater(UnitOperation): - def __init__(self, name='Heater', Pdel=None, Eff='None'): + def __init__(self, name='Heater',Pdel='None', Eff='None'): UnitOperation.__init__(self) self.name = name + str(type(self).counter) self.type = 'Heater' @@ -180,7 +181,7 @@ class Heater(UnitOperation): class Cooler(UnitOperation): - def __init__(self, name='Cooler', Pdel=None, Eff='None'): + def __init__(self, name='Cooler', Pdel='None', Eff='None'): UnitOperation.__init__(self) self.name = name + str(type(self).counter) self.type = 'Cooler' |