File tree Expand file tree Collapse file tree
modules/performanceAssessment/ATC138 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,9 +190,14 @@ def generate_summary(output_dir: Path) -> None:
190190 recovery = data ['recovery' ]
191191 reoc = np .array (recovery ['reoccupancy' ]['building_level' ]['recovery_day' ])
192192 func = np .array (recovery ['functional' ]['building_level' ]['recovery_day' ])
193- full = np .array (
193+ # The building_repair_schedule captures construction completion but
194+ # excludes functional impedances modeled as parallel temp repairs (e.g.
195+ # flooding_repair_day). Full Recovery must be >= Functional Recovery by
196+ # definition, so envelope the schedule with the functional recovery day.
197+ construction_complete = np .array (
194198 data ['building_repair_schedule' ]['full' ]['repair_complete_day' ]['per_story' ]
195199 ).max (axis = - 1 )
200+ full = np .fmax (construction_complete , func )
196201
197202 def _stats (a : np .ndarray ) -> dict :
198203 return {
You can’t perform that action at this time.
0 commit comments