Comments (4)
That's the designed behavior. read_idf()
will fail if eplusr could not find the corresponding version of IDD file and run_idf()
will fail if corresponding version of EnergyPlus. But the error messages you got were wired. It should be something like below:
read_idf("schedule.idf")
#> Error : Idd v8.5.0 has not been parsed before. Try to locate `Energy+.idd` in EnergyPlus v8.5.0 installation folder `C:/EnergyPlusV8-5-0`.
#> Failed to locate `Energy+.idd` because EnergyPlus v8.5.0 is not available.
run_idf(model = "schedule.idf", weather = "test.epw")
#> Error : Cannot locate EnergyPlus v8.5.0 at default installation path `C:/EnergyPlusV8-5-0`. Please specify explicitly the path of EnergyPlus installation.
You can list all available EnergyPlus and IDD using avail_eplus()
and avail_idd()
.
eplusr tries to find all available EnergyPlus installed at default locations (for Windows C:\EnergyPlusVX-Y-Z
) . As your EnergyPlus was not installed at the default location, you have to add the path using use_eplus()
before you parse or run any model of that version.
from eplusr.
Thanks for the reply! In fact, I have use specify the corresponding version of IDD by use_eplus(eplus = 'D:/EnergyPlusV8-5-0' )
, the results seems indicate the IDD file has been parsed:
> library(eplusr)
> use_eplus(eplus = 'D:/EnergyPlusV8-5-0')
EnergyPlus v8.5.0 located at `D:/EnergyPlusV8-5-0` has been added.
> idd <- use_idd(8.5)
Idd v8.5.0 has not been parsed before. Try to locate `Energy+.idd` in EnergyPlus v8.5.0 installation folder `C:/EnergyPlusV8-5-0`.
IDD file found: `D:\EnergyPlusV8-5-0\Energy+.idd`.
Start parsing...
Parsing IDD (Complete) [====================================================] 100% in 3s
The avail_eplus()
and avail_idd()
also show the V8-5 is available:
> avail_eplus()
[1] "8.5.0"
> avail_idd()
[1] "8.5.0"
I try to install the EPlus in the default path, but it shows the same error messages. Is there something broken in the processx
package in my R environment?
I install R 3.5.0 and the code works. It seems something is broken in my R 3.5.1 about callr
or processx
.
Thanks for your help.
JY
from eplusr.
The codes also works after I reinstall the ps
processx
and callr
packages. Therefore, I guess the problem occurs because one of the three package is broken, it is not caused by eplusr itself.
from eplusr.
Thanks for the info! Good to know so.
from eplusr.
Related Issues (20)
- Viewer only renders 1 zone in 3 zone model HOT 4
- Provide a way to save and reload `EplusJob` and `EplusGroupJob`
- Document of the `IdfGeometry$coord_system()` isn't correct
- `IdfGeometry$coord_system()` did not work
- `IdfViewer$snapshot()` did not work for PNG output
- `Idf$load()` did not work with single string with no line break
- `$<-.IdfObject` did not work for `ScheduleCompact` object
- File encoding issue for `Idf$save()` HOT 1
- Add support for EnergyPlus v22.1.0
- Enable to use functions to modify fields in `Idf$set()`
- Update weather database based on the updates from OneBuilding
- `read_epw()` should respect `validate_level` option
- Failed to extract EPW data if the data of Feb. 28 is from a leap year HOT 1
- Plotting meter data HOT 2
- [CRAN] CRAN check NOTEs on HTML version of manual
- Release eplusr 0.15.2
- CRAN NOTE on duplicated `\item` entries in doc
- Add support for EnergyPlus v22.2.0
- Failed to parse EPW date due to an update of lubridate
- Consider to use stringi for date time manipulation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eplusr.