Skip to content

Commit

Permalink
fix(model): Ensure plenum depths are always positive
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Jan 30, 2025
1 parent 56508e7 commit c847c01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dragonfly_schema/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class Room2D(IDdBaseModel):

ceiling_plenum_depth: float = Field(
0,
ge=0,
description='A number for the depth that a ceiling plenum extends into '
'the room. Setting this to a positive value will result in a separate '
'plenum room being split off of the Room2D volume during translation '
Expand All @@ -108,6 +109,7 @@ class Room2D(IDdBaseModel):

floor_plenum_depth: float = Field(
0,
ge=0,
description='A number for the depth that a floor plenum extends into '
'the room. Setting this to a positive value will result in a separate '
'plenum room being split off of the Room2D volume during translation '
Expand Down

0 comments on commit c847c01

Please sign in to comment.