A Damage Function is used to store a set of damage curves defining the relationship between flood depth and damage values, where damage values are expressed as a monetary value used to calculate the cost incurred by flooding.
The curves are associated with Damage Receptors by cross-referencing the Code and Component values of the curves with those specified at the receptor objects. Damage curves are defined and edited in the Damage Function Editor and can be viewed using the Damage Function Graph dialog.
Up to 10 velocity-dependent damage curves can also be defined for each damage curve and these will also be displayed in the Damage Function Graph dialog.
The Damage Function data is used as part of a Risk Analysis Run.
Risk analysis runs can only be carried out if the Risk option is enabled on your licence.
Damage curves can be imported into the Damage Function from:
Multiple csv files can be imported but only csv files for the same property type can be imported at the same time. Duration files can be imported regardless of property type. During the import process, InfoWorks ICM will check each file in turn to ensure that it is suitable for import.
To import damage curves from csv files generated from Excel spreadsheets supplied in the Multi-Coloured Handbook and CD 2010
Right click on a Model group in the
Explorer window and select Import
InfoWorksDamage Function
from MCM 2005/2010 Data from the context menu to create a new Damage Function.
or
Right click on a
(Damage Function) database item in the
Explorer window and select Import
from MCM 2005/2010 Data from the context menu to import into an existing Damage Function.
The Import 2005/2010 MCM Damage Curves dialog will be displayed. In this dialog:
Note that when importing residential property curves, it is necessary to specify whether the file contains short duration or long duration data because not all of the worksheets in the MCH spreadsheets define duration setting. Where duration setting is defined, if the importer detects a different duration setting in the import file to the option selected, a warning message will be displayed.
Damage curves will be imported into the damage function with Damage Type set to Relative to Area and the Duration 2 Threshold set to 12 hours. Data before the 12 hour threshold will be imported to the Short duration curve relative to area graph, while data after the 12 hour threshold will be imported to the Duration 2 relative to area graph. Total damage/square metre data is imported into relative to area curves and Total damage data is imported into absolute curves.
The Land use code or MCM code of the curve is imported into the Code field of the editor. For 2010 non-residential data, the Component field is set to NoBas for without basement data or basem for with basement data. If the code-component combination of an imported damage curve matches the code-component combination of an existing curve, the existing curve will be overwritten.
To import damage curve data from a 2017 MCM csv file
Otherwise, right-click on the applicable model group in the
Explorer window and select the Import
InfoWorksDamage Function
MCM 2017 Data… option from the context menu.
The Import 2017 MCM Damage Curves dialog is then displayed. In this dialog:
InfoWorks ICM checks that all the selected import options are applicable for the type of property being imported.
A message, similar to the one shown below, will be displayed for the first invalid import option it finds:
Click on OK to close the message window and then, in the Import 2017 MCM Damage Curves dialog, change either the import option or the property type as appropriate, and click on OK.
If no invalid options are found, a standard Windows Open dialog is displayed.
Click OK to close the window. Check that the correct import files are available and start the import process once more.
Click OK to close the message window. Check that a valid file type is available and then start the import process once again.
Click OK to close the message window. Check that a file that contains non-residential data is available if the Non-residential properties radio button has been selected, or a file with residential damage data is available if Residential properties was selected, and then start the import process once again.
Click on OK to close the message window. Start the import process once more, ensuring that the correct options are selected for the selected type of property.
Select No to keep the existing data or Yes to import the new data. If Yes is selected, the existing data is deleted and the imported data is added to the applicable Damage Function. If any other files being imported also contain duplicate data, then the existing data will be automatically overwritten.
Select No to keep the existing threshold data or Yes to import the threshold data from the file currently being imported. If Yes is selected, any duplicate threshold data will be automatically overwritten by data in any files subsequently imported. Note that if, for example, 3 duration files are being imported into a Damage Function that currently contains no threshold data, then the first file will be imported. When the second file is being imported, InfoWorks ICM will check if it contains any threshold information whose values are the same as in the first imported file, and if it does, a message similar to the previous one will be displayed.
If InfoWorks ICM encounters any existing threshold data then, at the end of the import process, a message similar to the one shown below, is displayed. This message indicates which file the threshold data is imported from:
If InfoWorks ICM detects no problems with the csv files selected for import, the data will be imported either to the selected existing damage object or a new damage object will be added under the selected model group in the Explorer window. A new damage object will be given the same name as the first csv file the data was imported from, which can be renamed if required.
Double-clicking on the Damage Function object will display the imported data in the editor.
To import damage curves from InfoWorks ICM csv file format
Right click on a Model group in the tree view and select Import
InfoWorksDamage Function
from InfoWorks format CSV file from the context menu to create a new Damage Function.
or
Right click on a
(Damage Function) database item in the tree view and select Import
from InfoWorks format CSV file from the context menu to import into an existing Damage Function.
A standard Windows Open dialog will be displayed.
Curve information from each selected csv file will be imported into the damage function.
The format of the file consists of a version record heading followed by a column record listing the field names. This is followed by the data records; one data record per damage curve.
Example
Damage Function/Curves Version: 4 Depth Units: m Cost Area Units: $/m2 Velocity Units: m/s Duration Units: hours encoding=UTF8
Code Component Start date End date Interpolation Damage Type Short Duration Curve Absolute Short Duration Curve Relative to Value Short Duration Curve Relative to Area Duration 2 Threshold Duration 2 Curve Absolute Duration 2 Curve Relative to Value Duration 2 Curve Relative to Area Duration 3 Threshold Duration 3 Curve Absolute Duration 3 Curve Relative to Value Duration 3 Curve Relative to Area Long Duration Threshold Long Duration Curve Absolute Long Duration Curve Relative to Value Long Duration Curve Relative to Area Description
7 1-Jan 31-Dec Linear Absolute "{{1.000000,2.000000,3.000000,4.000000,5.000000},{},{3.500000,4.000000,4.100000,4.300000,4.400000}}" "{{},{},{}}" "{{},{},{}}" 0 "{{},{},{}}" "{{},{},{}}" "{{},{},{}}" 0 "{{},{},{}}" "{{},{},{}}" "{{},{},{}}" 0 "{{},{},{}}" "{{},{},{}}" "{{},{},{}}" Bungalow
145 2-Sep 2-Sep Linear Relative to Value "{{},{},{}}" "{{2.000000,3.000000,4.000000,5.000000,6.000000},{0.000000,0.000000},{3.000000,3.400000,4.000000,6.000000,8.000000,3.200000,3.600000,4.400000,6.600000,8.500000}}" "{{},{},{}}" 0 "{{},{},{}}" "{{},{},{}}" "{{},{},{}}" 0 "{{},{},{}}" "{{},{},{}}" "{{},{},{}}" 0 "{{},{},{}}" "{{},{},{}}" "{{},{},{}}" PRE 1919 BUNGALOW
Line | Description |
---|---|
Heading |
Set to: Damage Function/Curves Version: 4 Depth Units: m Cost Area Units: $/m2 Velocity Units: m/s Duration Units: hours encoding=UTF8 Note that the units will be native or user depending on the export option. |
Column |
Set to: Code Component Start date End date Interpolation Damage Type Short Duration Curve Absolute Short Duration Curve Relative to Value Short Duration Curve Relative to Area Duration 2 Threshold Duration 2 Curve Absolute Duration 2 Curve Relative to Value Duration 2 Curve Relative to Area Duration 3 Threshold Duration 3 Curve Absolute Duration 3 Curve Relative to Value Duration 3 Curve Relative to Area Long Duration Threshold Long Duration Curve Absolute Long Duration Curve Relative to Value Long Duration Curve Relative to Area Description |
Data Record |
The values in the data record must follow the structure below:
*Depth-value data for each curve type is defined by a comma separated list of values within inverted commas, enclosed by brackets. The first {…} corresponds to the depth values, the second {…} corresponds to the velocity values and the third {…} corresponds to the damage values. |
To export curves in the Damage Function to CSV format
A message is displayed informing you that, by default, the results will be exported as user units and asks if you would prefer to use native units instead.
A standard Windows Save As dialog will be displayed.
The curves will be exported to a CSV file which can be used to import data into another Damage Function.