-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
62 lines (46 loc) · 1.42 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# destep
<!-- badges: start -->
[![R-CMD-check](https://github.com/hongyuanjia/destep/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/hongyuanjia/destep/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
> A toolkit to convert 'DeST' models to 'EnergyPlus' models
## Installation
You can install the development version of destep like so:
```r
install.packages("destep",
repos = c(
hongyuanjia = "https://hongyuanjia.r-universe.dev",
cran = "https://cran.r-project.org"
)
)
```
## Supported DeST components
This package is still under heavy development and is not ready for use. Currently, the following components are supported:
* [x] Geometry
* [x] Material
* [x] Construction
* [ ] Internal gains [WIP]
* [ ] Shading
* [ ] HVAC
## Get started
```{r example}
library(destep)
# use a DeST typical building model as an example
path <- download_dest_model("Commercial office A", "Chongqin", 2015, tempdir())
# make sure EnergyPlus IDD file can be found even if EnergyPlus itself was not
# installed
eplusr::use_idd(23.1, download = "auto")
# read the DeST model and convert it to an EnergyPlus model
read_dest(path) |> to_eplus(23.1)
```