Comments (6)
This is because when you mentioning a class that contains a colon, you have to change the class name to underscore style, i.e. from WindowMaterial:Glazing
to WindowMaterial_Glazing
, or quote it "WindowMaterial:Glazing"
from epluspar.
Thanks for your response, sir.
I implemented your recommendation, as follows:
mywork<-(WindowMaterial_Glazing = list(Name = "clear glass 4 mm",
Optical_Data_Type = "SpectralAverage",
SpectralAverage =0.0039,
Solar_Transmittance_at_Normal_Incidence =0.812 ,
Front_Side_Solar_Reflectance_at_Normal_Incidence =0.076 ,
Back_Side_Solar_Reflectance_at_Normal_Incidence =0.075,
Visible_Transmittance_at_Normal_Incidence =0.893,
Front_Side_Visible_Reflectance_at_Normal_Incidence =0.084,
Back_Side_Visible_Reflectance_at_Normal_Incidence =0.084,
Infrared_Transmittance_at_Normal_Incidence =0,
Front_Side_Infrared_Hemispherical_Emissivity =0.840,
Back_Side_Infrared_Hemispherical_Emissivity =0.840,
Conductivity = 0.9))
idf$add(mywork)
However, I still encounted the following error:
Error: Assertion on 'Input' failed: Must be named.
from epluspar.
If you are trying to modify or add objects to an Idf
object, please follow the instruction here, i.e. make sure input passed to Idf$add()
is a list. For your case, you should do:
mywork<- list(WindowMaterial_Glazing = list(Name = "clear glass 4 mm",
Optical_Data_Type = "SpectralAverage",
SpectralAverage =0.0039,
Solar_Transmittance_at_Normal_Incidence =0.812 ,
Front_Side_Solar_Reflectance_at_Normal_Incidence =0.076 ,
Back_Side_Solar_Reflectance_at_Normal_Incidence =0.075,
Visible_Transmittance_at_Normal_Incidence =0.893,
Front_Side_Visible_Reflectance_at_Normal_Incidence =0.084,
Back_Side_Visible_Reflectance_at_Normal_Incidence =0.084,
Infrared_Transmittance_at_Normal_Incidence =0,
Front_Side_Infrared_Hemispherical_Emissivity =0.840,
Back_Side_Infrared_Hemispherical_Emissivity =0.840,
Conductivity = 0.9))
idf$add(mywork)
from epluspar.
Followed your suggestions again Sir, but am still faced with the following error:
Error: Invalid field name found:
#3| Class 'WindowMaterial:Glazing': 'SpectralAverage'.
from epluspar.
Sorry Sir, noticed my mistake. Below is the correct code and its working now.
mywork<-list(WindowMaterial_Glazing = list(Name = "clear glass 4 mm",
Optical_Data_Type = "SpectralAverage",
Thickness =0.0039,
Solar_Transmittance_at_Normal_Incidence =0.812 ,
Front_Side_Solar_Reflectance_at_Normal_Incidence =0.076 ,
Back_Side_Solar_Reflectance_at_Normal_Incidence =0.075,
Visible_Transmittance_at_Normal_Incidence =0.893,
Front_Side_Visible_Reflectance_at_Normal_Incidence =0.084,
Back_Side_Visible_Reflectance_at_Normal_Incidence =0.084,
Infrared_Transmittance_at_Normal_Incidence =0,
Front_Side_Infrared_Hemispherical_Emissivity =0.840,
Back_Side_Infrared_Hemispherical_Emissivity =0.840,
Conductivity = 0.9))
idf$add(mywork)
Thanks for your swift response, sir.
from epluspar.
Great. Good to know it works.
from epluspar.
Related Issues (20)
- .() does not work when .names are specified HOT 1
- Use cmdstan instead of stan to reduce compile time
- Scale samples to range [0,1] before evaluating sensitivity
- Submit to CRAN
- Add multi-objective optimization support
- Add vignettes
- Error message installing epluspar package HOT 5
- Error encountered while trying to run a simple optimization problem with Epluspar R package HOT 6
- What are the support functions in epluspar? HOT 2
- Can Epluspar be used for energy vs cost-optimazation? HOT 10
- Cannot see the error message when optimization validation failed HOT 1
- Verbose messages are printed during optimization
- Incorrectly logging for optimization
- Questions on how to use the packages HOT 27
- Error encountered while trying to run an optimization with Epluspar R package.
- Question related to storing design parameters and vital outputs using Epluspar HOT 9
- Custom:meter cannot be loaded in $output() HOT 1
- Allow multiple `.dir` input in `GAOptim$objective()`
- Rename package
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 epluspar.