2

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

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

Tokarzewski's avatar
504
Tokarzewski
asked 2016-12-22 12:48:15 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2016-12-27 13:42:06 -0500
edit flag offensive 0 remove flag close merge delete

Comments

What program are you using?

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

I use OpenStudio

Tokarzewski's avatar Tokarzewski (2016-12-23 15:18:49 -0500) edit
add a comment see more comments

2 Answers

3

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

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2016-12-26 08:47:49 -0500, updated 2017-01-05 12:02:16 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

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}")
David Goldwasser's avatar
20.4k
David Goldwasser
answered 2016-12-26 15:30:55 -0500
edit flag offensive 0 remove flag delete link

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 -0500) 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 -0500) 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 -0500) 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 -0500) edit
add a comment see more comments