Update Event Based algorithm
Bug #1168446 reported by
matley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Risk Library |
Fix Released
|
Critical
|
matley |
Bug Description
The new algorithm should compute loss curves in a different way. Here on, a sample code in Matlab:
maxValue = max(aggLosses)
Losses=
excLosses=Losses;
for i=1:length(
excLosses(
end
rates=excLosses
ProbExc=
where aggLosses is the result of applying the vulnerability function to a set of ground motion values, 100 is the loss curve resolution. The curves is composed by Losses over ProbExc
Changed in oq-risklib: | |
milestone: | none → 0.1 |
Changed in oq-risklib: | |
status: | In Progress → Fix Committed |
Changed in oq-risklib: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Implement in https:/ /github. com/gem/ oq-risklib/ pull/52