DamageCalculator

floodsim.model.report.DamageCalculator

Collection of analysis tools for evaluating the situation on the flood map. Provides methods to calculate various damage metrics and flooding statistics for flood simulation analysis.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def averageWaterHeight(grid: Grid[Cell]): Double

Calculates the average water height across all cells in the grid.

Calculates the average water height across all cells in the grid.

Attributes

def floodedCellPercentage(cell: Cell): Double

Calculates the flooding percentage for a single cell.

Calculates the flooding percentage for a single cell.

Attributes

def floodedHousesPercentage(grid: Grid[Cell], floodThreshold: Double): Double

Calculates the percentage of houses that are flooded above a given threshold.

Calculates the percentage of houses that are flooded above a given threshold.

Attributes

def floodedMapPercentage(grid: Grid[Cell], floodThreshold: Double): Double

Calculates the percentage of the entire map that is flooded above a given threshold.

Calculates the percentage of the entire map that is flooded above a given threshold.

Attributes