Skip to content

Commit

Permalink
Expose zone inlet/outlet valve volume
Browse files Browse the repository at this point in the history
  • Loading branch information
schmoelder committed Mar 26, 2024
1 parent a8ad135 commit e6e182d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CADETProcess/modelBuilder/carouselBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def column_index_at_time(self, t, carousel_position):
class ZoneBaseClass(UnitBaseClass):
n_columns = UnsignedInteger()
flow_direction = Integer(default=1)
_valve_dead_volume = 1e-9
valve_dead_volume = UnsignedFloat(default=1e-6)

def __init__(
self,
Expand All @@ -317,9 +317,9 @@ def __init__(

self._inlet_unit = Cstr(component_system, f'{name}_inlet')

self._inlet_unit.V = self._valve_dead_volume
self._inlet_unit.V = self.valve_dead_volume
self._outlet_unit = Cstr(component_system, f'{name}_outlet')
self._outlet_unit.V = self._valve_dead_volume
self._outlet_unit.V = self.valve_dead_volume

super().__init__(component_system, name, *args, **kwargs)

Expand Down

0 comments on commit e6e182d

Please sign in to comment.