This R package provides a data frame interface for EPA's air dispersion downwash model BPIP.
install.packages("remotes")
remotes::install_github("dKvale/bpip")
Create a 10x10x10 building that is rotated 45 degrees and located 20 meters West of the air emissions source.
library(bpip)
builds <- new_bpip()
builds
builds$bld_rotation <- 45
builds$length_x <- 10
builds$angle_from_source <- 270
builds
plot_bpip(builds)
library(installEPA)
install_epa("bpip", dir = "EPA")
write_bpip(builds, "rotated_building.bpi")
run_bpip("rotated_building.bpi", "rotated_results", exe_folder = "EPA/")
results <- read_bpip_out(file = "rotated_results.out", as_text = FALSE)
results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.