Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise DSRA indicators #54

Closed
6 tasks done
wkhchow opened this issue Aug 19, 2021 · 12 comments
Closed
6 tasks done

Revise DSRA indicators #54

wkhchow opened this issue Aug 19, 2021 · 12 comments
Assignees

Comments

@wkhchow
Copy link
Collaborator

wkhchow commented Aug 19, 2021

As per discussion with @tieganh @plesueur @mjourneay, changes to be revised for DSRA (for all building, sauid, b0, r1 if applicable):

@tieganh
Copy link

tieganh commented Aug 28, 2021

More issues to follow up on - will edit this as I go:

  • the definition of displaced households from HAZUS uses probability of damage not displaced persons. But the DSRA's have 3/30/90/180/360 day values. Suggest we switch to single value.
  • eCr_DisplRes90 - why named 'e' instead of 's'?
  • finish calculating shelter

@plesueur
Copy link

@tieganh: for item one in more issues to follow up on, yes, in general let's be consistent with HAZUS. Do you know where the 3/30 etc. value come from? Perhaps FEMA P-58 provides the curves to map from a single value, to the daily values?

@wkhchow
Copy link
Collaborator Author

wkhchow commented Aug 31, 2021

  • notes: replacement value used for sLm_Asset, SLmr_Bldg is replacement (str + nstr + cont) from exposure source and not from scenario values itself.
  • @tieganh @plesueur the current way 3/30/90/180/360 displaced households is calculated is just showing the displaced households if the downtime is >3/30, etc. I will just calculate the displaced households and we can decide whether or not to include the 3/30/90/180/360 after.
  • I think Murray wanted to include eCr_DisplRes90 in DSRA, it stems from a same indicator from the PSRA indicators hence the 'eCr'. We can change it back to s if preferred.

@tieganh
Copy link

tieganh commented Sep 2, 2021

Finished writing script to check DSRA indicators for a single SAUID. The output is attached for SAUID 59007373. @wkhchow if you want to check your results against mine then you can do it from that file, if you isolate that SAUID in QGIS/whatever tool you're using for your new runs.

DSRA_SAUID59007373.txt

I ended up going back to basics on the HAZUS shelter calc, to understand what we were doing, and finding that the way we were implementing the 'demographic' section didn't quite check out. I opted to return that section to be based only on race by using visible minorities with averaged modifiers from black+hispanic+asian+nativeamerican.

Code is attached with a txt filename because git wouldn't let me attach a python code.

checkDSRA.py.txt

@tieganh
Copy link

tieganh commented Sep 9, 2021

Big picture topics:

  • Ensure repair, reconstruction and downtime are renamed to repair, recovery, and interruption so they can be clearly linked to their definitions introduced by HAZUS (see image below, taken from Open File on scenarios). Described in HAZUS Technical Manual Section 15.2.4.
  • Change 'displaced' people to 'affected', which is a truer description. These calculations don't appear to be based on HAZUS, so there's no precedent we need to match.
  • Simplifying shelter calculations, as explained in Issue #75
  • Omit BCR and ROI? Tentative

Screen Shot 2021-09-09 at 11 06 46 AM

@tieganh
Copy link

tieganh commented Sep 9, 2021

@wkhchow ok, and in this table it looks like construction was already changed to recovery. So then we'd just need to change 'downtime' to 'interruption'.

@wkhchow
Copy link
Collaborator Author

wkhchow commented Sep 9, 2021

@tieganh for bullet 2 above DisplRes_# I can change disrupted to affected vice versa, but we also have DisrupEmpl_# which I assume is disrupted, would it make sense to use disrupted for res instead of affected? I think they have the same meaning do they not? DisrupRes_# vs AfftRes_# ?

@wkhchow
Copy link
Collaborator Author

wkhchow commented Sep 10, 2021

compilation of tasks from above and updates (applies to both building level/sauid):

  • sLm_Asset / sLm_Bldg - updated with replacement value from exposure table
  • sH_RuppAbbr, - removed and kept SH_RupName
  • sH_GMPE, - DSRA - "gmpe_Model" indicator defaults to value "NBCC2020_TEST_PLACEHOLDER" for all views model-factory#57
  • sH_PGV - removed
  • sH_PGA - added
  • Renamed all 'eC*' prefixes to 'sC*'
  • Renamed sC_Downtime to sC_Interruption to follow Hazus definition
  • Renamed sC_DisplRes_# to sC_AfftRes, this applies in building level, for sauid level our naming convention just becomes sCt_Res#, same goes for sC_DisrupEmpl# to Sct_Empl#. Not sure if this needs to be changed?
  • BCR / ROI indicators - removed for now
  • sC_DisplHshld - updated calculation, removed 3/30/90/180/360
  • sCt_Shelter - updated calculation but still having having issues getting reasonable results, will need to follow up with @tieganh. To add household income sources could be enhanced in census source files, (need to start another issue) to reflect the percentage distribution of incomes as right now we only have average income values per sauid.
  • Updated risk_profile_indicators gsheet to reflect all additional/removal/rename indicators mentioned above

@wkhchow
Copy link
Collaborator Author

wkhchow commented Sep 16, 2021

All issues resolved pending sH_GMPE @drotheram to pull the GMPE file name into the source dsra file
https://github.com/OpenDRR/model-factory/blob/master/scripts/DSRA_outputs2postgres_lfs.py#L153

@wkhchow
Copy link
Collaborator Author

wkhchow commented Sep 20, 2021

@tieganh GMPE issue has been resolved. All changes completed.

@wkhchow wkhchow closed this as completed Sep 20, 2021
@wkhchow wkhchow reopened this Sep 22, 2021
@wkhchow
Copy link
Collaborator Author

wkhchow commented Sep 22, 2021

Issue reopened to add new indicator @tieganh suggested.

@wkhchow
Copy link
Collaborator Author

wkhchow commented Oct 25, 2021

MMI indicator placeholder coded in but commented out for now until further notice.

@wkhchow wkhchow closed this as completed Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants