Skip to content

How to perform sensitivity analysis using eplusr? #553

Answered by hongyuanjia
hongyuanjia asked this question in Q&A
Discussion options

You must be logged in to vote

Here I use the morris() function from {sensitivity} package for demonstration. There are 5 steps to perform sensitivity analyses using {eplusr}

  1. Create a ParametricJob object using eplusr::param_job() by specifying a seed model and a weather file
  2. Define a measure function to give the steps about how to modify the IDF using input parameter values
  3. Generate parameter values using the selected sensitivity method
  4. Create parametric models, run simulations, and collect results using {eplusr}
  5. Calculate the sensitivity metrics using {sensitivity} package, do plotting, etc.

Below is a code snippet showcasing the whole workflow:

# use an example file from EnergyPlus v22.1 for demonstration here
pat…

Replies: 5 comments 82 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by hongyuanjia
Comment options

You must be logged in to vote
5 replies
@hongyuanjia
Comment options

@IbrahimTajuddeen
Comment options

@IbrahimTajuddeen
Comment options

@IbrahimTajuddeen
Comment options

@hongyuanjia
Comment options

Comment options

You must be logged in to vote
17 replies
@IbrahimTajuddeen
Comment options

@IbrahimTajuddeen
Comment options

@hongyuanjia
Comment options

@hongyuanjia
Comment options

@IbrahimTajuddeen
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
60 replies
@hongyuanjia
Comment options

@IbrahimTajuddeen
Comment options

@IbrahimTajuddeen
Comment options

@IbrahimTajuddeen
Comment options

@IbrahimTajuddeen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants