Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eval issue in IdfScheduleCompact$set #405

Closed
hongyuanjia opened this issue Dec 17, 2020 · 0 comments · Fixed by #406
Closed

Eval issue in IdfScheduleCompact$set #405

hongyuanjia opened this issue Dec 17, 2020 · 0 comments · Fixed by #406
Assignees

Comments

@hongyuanjia
Copy link
Owner

library(eplusr)

f1 <- function() {
    idf <- empty_idf()
    f2(idf, list(..24 = 100))
}

f2 <- function(idf, input) {
    sch <- schedule_compact(idf, "Bedroom Activity Sch", new = TRUE)
    sch$set(AllDays = input, .check_range = FALSE)
    sch
}

f1()
#> IDD v9.4.0 has not been parsed before.
#> Try to locate 'Energy+.idd' in EnergyPlus v9.4.0 installation folder 'C:/EnergyPlusV9-4-0'.
#> IDD file found: 'C:\Users\hongy\AppData\Local\EnergyPlusV9-4-0\Energy+.idd'.
#> Start parsing...
#> Parsing completed.
#> Error in eval(l[[i]], .env): object 'input' not found

Created on 2020-12-18 by the reprex package (v0.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant