write_bpip: Write a data frame to a BPIP input file.

View source: R/write_bpip.R

write_bpipR Documentation

Write a data frame to a BPIP input file.

Description

Output a BPIP input file from a data frame of building parameters.

Usage

write_bpip(data, path = NULL, prj_title = gsub("[.]inp", "", path),
  output_type = "p")

Arguments

data

Data frame of BPIP parameters.

path

Path to write to. Default is "bpip.inp".

prj_title

Title of project added to BPIP file. Defaults to path name.

output_type

A character flag controls the BPIP model's output type. The three flags are: (1) 'p' for PRIME or AERMOD input; (2) 'ST' for ISCST2 input; (3) 'LT' for ISCLT2 input.

Examples

buildings <- new_bpip()

write_bpip(data = buildings, path = "bpip.inp")

dKvale/bpip documentation built on Aug. 30, 2022, 2:05 a.m.