Modelling Functions
OpenFAIR modelling components

compare_tef_vuln()

Calculate number of loss events which occur in a simulated period 
get_mean_control_strength()

Calculate difficulty strength across multiple controls by taking the mean 
openfair_tef_tc_diff_lm()

Run an OpenFAIR simulation at the TEF/TC/DIFF/LM levels 
run_simulations()

Run simulations for all scenarios 
sample_diff()

Calculate the difficulty presented by controls, given a function and
parameters for that function 
sample_lef()

Sample loss event frequency 
sample_lm()

Given a number of loss events and a loss distribution, calculate losses 
sample_tc()

Sample threat capabilities (TC) from a distribution function 
sample_tef()

Calculate the number of simulated threat event frequencies (TEF) 
sample_vuln()

Calculate the vulnerability 
select_loss_opportunities()

Determine which threat events result in loss opportunities 