risk_calculation {CNAIM}R Documentation

Calculates risk and converts to matrix coordinates

Description

This function calculates risk matrix coordinates dimensions.

Usage

risk_calculation(
  matrix_dimensions,
  id,
  chs,
  cof,
  asset_type,
  hi_bands = NULL,
  ci_bands = NULL
)

Arguments

matrix_dimensions

A data frame with the dimensions of the desired risk matrix.

id

An integer that identifies the asset

chs

The Current Health Score (CHS) of the asset

cof

The Consequence of Failure of the asset

asset_type

The asset type to be calculated for class

hi_bands

Specific Health Index (HI) bands for risk matrix. Default values are the same as defined in the CNAIM v2.1 standard

ci_bands

Specific Criticality Index (CI) bands for the risk matrix. Default values are the same as defined in the CNAIM v.2.1 standard.

Source

DNO Common Network Asset Indices Methodology (CNAIM), Health & Criticality - Version 2.1, 2021: https://www.ofgem.gov.uk/sites/default/files/docs/2021/04/dno_common_network_asset_indices_methodology_v2.1_final_01-04-2021.pdf

Examples

# Calculate risk matrix coordinates for an asset
# 1. Make the risk matrix structure
matrix_structure <- risk_matrix_structure(5,4,NA)

# 2. Calculate risk matrix coordinates
risk_calculation(matrix_dimensions = matrix_structure,
id = 1,
chs = 4,
cof = 15000,
asset_type = "6.6/11kV Transformer (GM)")



[Package CNAIM version 2.1.4 Index]