USACE / go-consequences

A lightweight consequences computational engine written in Go
MIT License
14 stars 11 forks source link

Improper Structure Value Reduction for Stories #68

Closed HenryGeorgist closed 3 years ago

HenryGeorgist commented 3 years ago

https://github.com/USACE/go-consequences/blob/c7b4a9fe1e1ff392ba7041f3293616c4c58cbb46/structures/structure.go#L115

The math should probably look something more like this: frac := representativeStories/s.NumStories sval =frac cval =frac

The objective is to have the structure value represent the value exposed by the damage function.