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

CashFlow chapter in OpenStudio Report doesn't appear

asked 2026-04-16 21:26:52 -0500

efrainpuerto's avatar

updated 2026-04-28 06:55:09 -0500

Hi everyone, I’m studying how to implement Life Cycle Cost (LCC) in OpenStudio Application. Based on the documentation, I understand that LifeCycleCosts and Utility Bills cannot be directly assigned through the graphical interface, so I used the measures “Add Cost per Floor Area to Building” and “Tariff Selection – Block” to implement them and evaluate the results.

The EnergyPlus report shows the expected financial results; however, they do not appear in the OpenStudio report.

Has anyone experienced this issue or knows what might be causing it?

C:\fakepath\Measures.png

edit retag flag offensive close merge delete

Comments

Any warnings in the generated run/eplusout.err file? Search for "economics" or "utility". There's possibly a mismatch between the requested Output:Meter keys in the EnergyPlus tariff measure (e.g. ElectricityPurchased:Facility) and the OS:Output:Meter objects in the OSM file. This will likely take a few iterations to fix.

Denis Bourgeois's avatar Denis Bourgeois  ( 2026-04-30 07:50:31 -0500 )edit

Many about DISTRICTCOOLING, GAS and WATER tariff, but this test is just with electricity cost,

GetInputEconomicsTariff: UtilityCost:Tariff="GAS TARIFF" missing meter

CreateDefaultComputation: In UtilityCost:Computation: Circular or invalid dependencies found in tariff: DISTRICTCOOLING TARIFF * ~~~ * UtilityCost variables that may have invalid dependencies and the variables they are dependent on.

Is a simple test, just using a box with ideal HVAC and using those measures to add some cost info, I don't know what I'm missing.

efrainpuerto's avatar efrainpuerto  ( 2026-04-30 16:32:06 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2026-05-01 09:41:49 -0500

updated 2026-05-01 09:48:11 -0500

This is not a straight answer to your question. I simply ran a similar exercise on a variant of the US DOE Prototype Warehouse. Below are a few pointers and suggestions - SDK developers and/or more savy users may correct me …


Only purchased electricity and natural gas rates here, e.g. no district heating/cooling or water rates:

image description


Output meters

You’ll likely need to add meters (as per your run/eplusout.err warnings). I added 2 meters for the Warehouse:

OS:Output:Meter,  
  {71658cd4-932a-4cd7-80bf-03ecded2de39}, !- Handle  
  ElectricityPurchased:Facility,          !- Name
  hourly;                                 !- Reporting Frequency

OS:Output:Meter,  
  {e5f67f71-9e14-4c0d-96ee-a3d162e7d919}, !- Handle
  NaturalGas:Facility,                    !- Name
  hourly;                                 !- Reporting Frequency

Meter names are important (see run/eplusout.mdd file). In the OpenStudio-generated run/in.idf, I get:

Output:Meter:MeterFileOnly,
  ElectricityPurchased:Facility,          !- Key Name
  hourly;                                 !- Reporting Frequency

Output:Meter:MeterFileOnly,
  NaturalGas:Facility,                    !- Key Name
  hourly;                                 !- Reporting Frequency

EnergyPlus Tariff Measure

Based on the EnergyPlus measure “Tariff Selection-Block” settings, I get 2x UtilityCost:Tariff objects in the generated run/in.idf:

UtilityCost:Tariff,
  Electricity Tariff,                     !- Name
  ElectricityPurchased:Facility,          !- Output Meter Name
  kWh,                                    !- Conversion Factor Choice
  …

UtilityCost:Tariff,
  Gas Tariff,                             !- Name
  NaturalGas:Facility,                    !- Output Meter Name
  Therm,                                  !- Conversion Factor Choice
  …

Note the exact match between the auto-generated UtilityCost:Tariff output meter names and the aforementioned user-added output meters (e.g. “ElectricityPurchased:Facility”, not “Electricity:Facility”). One can freely change the output meters in OpenStudio, but one can’t overwrite the outputs of an EnergyPlus measure while staying in the OpenStudio sandbox. Of course, this is not an issue if one is willing to edit the EnergyPlus Tariff measure itself (or rewrite one from scratch).


LCC

OpenStudio SDK (and consequently App) users have limited control over LCC settings:

image description

OpenStudio users can customize default discount and inflation rates, but not tweak price escalation objects - see discussion here. An excerpt of what is generated in the run/in.idf:

LifeCycleCost:UsePriceEscalation,
  U.S. Avg  Commercial-Electricity,       !- Name
  Electricity,                            !- Resource
  2011,                                   !- Escalation Start Year
  January,                                !- Escalation Start Month
  0.9838,                                 !- Year Escalation 1
  0.9730,                                 !- Year Escalation 2
  ...

Without changes, this will generate warnings in the run/eplusout.err file, such as:

* Warning * The resource referenced by LifeCycleCost:UsePriceEscalation= "U.S. AVG COMMERCIAL-ELECTRICITY" has no energy cost. * ~~~ * ... It is likely that the wrong resource is used. The resource should match the meter used in Utility:Tariff.

One can fix the in.idf directly with a text editor, by changing the “Resource” IDF entry: replace “Electricity” with “ElectricityPurchased” - see here. This harmonizes:

  • user-added output meters
  • EnergyPlus measure output meter names
  • OpenStudio LCC energy resources

This, and a few other edits (like deleting monthly output tables), eliminated all run/eplusout.err warnings related to:

  • utility/tariff objects
  • LCC objects
  • missing output meters etc.

Cash Flow tables in the run/eplustbl.htm file seem fine. But as I’ve broken out of the OpenStudio sandbox, I can no longer rely on the OpenStudio Results Measure to show Cash Flow tables. If one insists on exposing Cash Flow tables using the OpenStudio Results Measure with the OpenStudio Application ... (more)

edit flag offensive delete link more

Your Answer

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

Add Answer

Sponsor

Training Workshops

Question Tools

1 follower

Stats

Asked: 2026-04-16 21:26:52 -0500

Seen: 349 times

Last updated: May 01