R: Simulate Rehabilitation Strategies for Water Distribution Systems

# Simulate Rehabilitation Strategies for Water Distribution Systems

## Documentation for package ‘WaMaSim’ version 1.0.0

- DESCRIPTION file
- Package README

## Help Pages

WaMaSim-package | WaMaSim - Water Management Simulator
$.statelist | Extract time or budget as vectors
costs.per.year | Calculate the total costs per year
do.nothing | Rehabilitation strategy: no pipe replacement, repairs only
expand | Model expansion of the network
fail | Model failures of the network
failure.cost | Calculate the (random) cost of a failure
failures.per.year | Calculate number of failures per year
initiate.network | creates the initial network
pipes.built.per.year | Calculate number of newly built pipes for each year
pipes.inservice.per.year | Returns the number of pipes in service for each year
replace.more.failures.than | Rehabilitation strategy: replace pipes with too many failures
replace.n.highest.risk | Rehabilitation strategy: replace the 'n' pipes with the highest risk
replace.n.oldest | Rehabilitation strategy: replace the 'n' oldest pipes
replace.n.random | Rehabilitation strategy: replace 'n' randomly selected pipes
replace.older.than | Rehabilitation strategy: replace pipes older than 'age'
replacement.value | Calculate replacement value
sample.diameter | Sample a diameter of a new pipe.
simulate_network | Simulate the failures, expansion, rehabilitation, and costs of a network
simulate_network.period | Simulate the network for a period of time
WaMaSim | WaMaSim - Water Management Simulator