Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

How can I change analysis length in life cycle costs to 50 years?

asked 2016-12-22 12:48:15 -0600

Tokarzewski's avatar

updated 2016-12-27 13:42:06 -0600

25 years is maximum and program does not accept more then this value

edit retag flag offensive close merge delete

Comments

What program are you using?

JasonGlazer's avatar JasonGlazer  ( 2016-12-23 14:52:56 -0600 )edit

I use OpenStudio

Tokarzewski's avatar Tokarzewski  ( 2016-12-23 15:18:49 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2016-12-26 08:47:49 -0600

updated 2017-01-05 12:02:16 -0600

REVISED

In OpenStudio 1.14.0 on the Site tab click on the Life Cycle Costs. Change the "Analysis Type" to "Custom" and the "Use National Institute of Standards and Technology (NIST) Fuel Escalation Rates to "No" then in the "Analysis Length (Years)" field enter the number 50. image description

edit flag offensive delete link more
1

answered 2016-12-26 15:30:55 -0600

As a work around here is code with use in some utility tariff EnergyPlus measures. You could use this to set an analysis period greater than 30 years in OpenStudio 1.14.0. This was too long to put as comment under @JasonGlazer's answer.

#remove any existing lifecycle cost parameters
workspace.getObjectsByType("LifeCycleCost:Parameters".to_IddObjectType).each do |object|
  runner.registerInfo("removed existing lifecycle parameters named #{object.name}")
  workspace.removeObjects([object.handle])
end

#and replace with the FEMP ones
life_cycle_params_string = "    
LifeCycleCost:Parameters,
  FEMP LifeCycle Cost Parameters,         !- Name
  EndOfYear,                              !- Discounting Convention
  ConstantDollar,                         !- Inflation Approach
  0.03,                                   !- Real Discount Rate
  ,                                       !- Nominal Discount Rate
  ,                                       !- Inflation
  ,                                       !- Base Date Month
  2011,                                   !- Base Date Year
  ,                                       !- Service Date Month
  2011,                                   !- Service Date Year
  25,                                     !- Length of Study Period in Years
  ,                                       !- Tax rate
  None;                                   !- Depreciation Method      
"  
life_cycle_params = OpenStudio::IdfObject::load(life_cycle_params_string).get
workspace.addObject(life_cycle_params)
runner.registerInfo("added lifecycle cost parameters named #{life_cycle_params.name}")
edit flag offensive delete link more

Comments

I'm a beginner, how can i implement that? Where should I paste this code? Will it also work in Open Studio v.2.0.0?

Tokarzewski's avatar Tokarzewski  ( 2016-12-28 16:13:08 -0600 )edit

Just wondering, are you adding any economics to your model other than tariffs? If not then changing the analysis length won't mean much. It is more important if you have objects with an effective life less than your analysis period that need to be replaced, or O&M costs that don't occur annually.

If you are a beginner, then altering or writing measures may not be easy. We will fix this, just don't have a timeframe for when that will happen. The same issues exists in OpenStudio 2.0 as well.

David Goldwasser's avatar David Goldwasser  ( 2016-12-28 16:49:31 -0600 )edit

I will need to create LCC life cycle cost analysis for 50 years period. I shoudl change https://github.com/NREL/openstudio-st... Should I download whole SDK?

By the way, I am launching the Open Studio and the first information is "Could not find or download Open Studio Result Measure."

Tokarzewski's avatar Tokarzewski  ( 2016-12-29 12:09:55 -0600 )edit

You can take the code from my answer and put the in the run method of an new EnergyPlus measure in place of everything after super(workspace, runner, user_arguments). As far as the issue finding OpenStudio Results. Were you online when you launched OpenStudio and did that happen in 1.14 or 2.0

David Goldwasser's avatar David Goldwasser  ( 2016-12-29 13:55:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2016-12-22 12:48:15 -0600

Seen: 501 times

Last updated: Jan 05 '17