read.hs6.velocity: Read Heat Source 6 flow velocity outputs.

View source: R/read.hs6.velocity.R

read.hs6.velocityR Documentation

Read Heat Source 6 flow velocity outputs.

Description

Read flow velocity outputs in a Heat Source version 6 model. The Heat Source excel workbook needs to be saved as .xlsm. Workbooks in .xls do not seem to work.

Usage

read.hs6.velocity(output_dir, file_name, sheet_name = "Main Menu")

Arguments

output_dir

The path to the directory where the Heat Source 6 .xlsm model is located.

file_name

The file name of the .xlsm Heat Source 6 model. The ".xlsm" extension should be included in the file name.

sheet_name

The name of the output worksheet to read.

Details

Data is returned in wide format with the long distance used as the column name for all values. An "X" is added as a prefix to every long distance value to have syntactically valid column names. The datetime is the first column and is formatted in excel numeric date format.

This function is setup to read the "Main Menu" worksheet.

Value

data frame


DEQrmichie/heatsourcetools documentation built on Jan. 25, 2025, 2:31 p.m.