as_EpwDate: Convert to EnergyPlus Weather File date

View source: R/impl-epw.R

as_EpwDateR Documentation

Convert to EnergyPlus Weather File date

Description

as_EpwDate() converts inputs to EnergyPlus Weather File (EPW) dates.

Usage

as_EpwDate(x, leapyear = TRUE)

Arguments

x

An integer vector or a character vector.

leapyear

Whether support leap year. Default: TRUE

Details

EnergyPlus supports multiple formats of date specification Reference: Table 2.14, Chap 2 Weather Converter Program, Auxiliary Program

Those formats include:

  1. Julian day of year

  2. num_Month/num_Day

  3. num_Month/num_Day/num_Year (only for DataPeriod)

  4. num_Day alpha_Month

  5. alpha_Month num_Day

  6. num Weekday In Month (only for Holiday/DaylightSavingPeriod)

  7. last Weekday In Month (only for Holiday/DaylightSavingPeriod)


hongyuanjia/eplusr documentation built on Feb. 14, 2024, 5:38 a.m.