Skip to content

Levelized label changes#770

Merged
cpaulgilman merged 2 commits into
patchfrom
levelized-label-changes
Feb 28, 2022
Merged

Levelized label changes#770
cpaulgilman merged 2 commits into
patchfrom
levelized-label-changes

Conversation

@cpaulgilman

Copy link
Copy Markdown
Collaborator

Change variable labels for LCOE, NPV, and IRR to use consistent style like "LCOE Levelized cost of energy nominal:"

  • Abbreviation precedes full name for alphabetic sorting and to facilitate searches
  • Full name is capitalized (first letter only)
  • Descriptor like "nominal" is at end of label with no parentheses to avoid confusion with units displayed in parentheses
  • Avoid non-alphanumeric characters in labels to minimize potential parsing problems when exporting to CSV and other formats on different operating systems

Fixes NatLabRockies/SAM#648

Goes with NatLabRockies/SAM#954

Also:

* Remove parentheses from labels "LCOE Levelized cost of energy nominal" instead of "LCOE Levelized cost of energy (nominal)" because parentheses are used to indicate units.

* Change WACC and LTE labels to follow convention of levelized variables.
Fix NPV and IRR labels
@cpaulgilman cpaulgilman added this to the 2021.12.02 Patch 2 milestone Feb 24, 2022
@cpaulgilman cpaulgilman self-assigned this Feb 24, 2022

@brtietz brtietz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up! One minor comment about pre-tax vs after-tax IRR (in line), but I trust your judgement on the solution there.

// metrics table
{ SSC_OUTPUT, SSC_NUMBER, "project_return_aftertax_irr", "Internal rate of return (IRR, after-tax)", "%", "", "Metrics", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "project_return_aftertax_npv", "Net present value (NPV, after-tax)", "$", "", "Metrics", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "project_return_aftertax_irr", "IRR Internal rate of return", "%", "", "Metrics", "*", "", "" },

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a little odd to me to remove after-tax from this variable label, given that we also present pre-tax. Is it sufficiently obvious in the help that the "default" IRR presentation is after tax?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brtietz Thanks for noticing. I see that there is some inconsistency in these IRR and NPV labels throughout the financial cmods. For example, single owner has analysis_period_irr and flip_actual_irr in common.cpp and project_return_aftertax_irr in cmod_singleowner.cpp. There is also a distinction between the cash flow array variables like cf_project_return_aftertax_irr and metric number variables like project_return_aftertax_irr. I will clean those up.

@cpaulgilman cpaulgilman merged commit bbce319 into patch Feb 28, 2022
@cpaulgilman cpaulgilman deleted the levelized-label-changes branch February 28, 2022 17:09
tyneises pushed a commit that referenced this pull request Mar 10, 2022
* Levelized label changes (#770)

* Revise labels of "levelized" variables

Also:

* Remove parentheses from labels "LCOE Levelized cost of energy nominal" instead of "LCOE Levelized cost of energy (nominal)" because parentheses are used to indicate units.

* Change WACC and LTE labels to follow convention of levelized variables.

* Fix cashloan LCOE labels

Fix NPV and IRR labels

* Fix DC degradation check should be lt instead of gt zero (#772)

* Improve error messages for wfcheck (#773)

* Improve error messages for wfcheck

* fix mm-dd-hh

* first test upload artifacts steps ssc

* use upload artifacts path format, add ls checks for paths

* fixes for PySAM (#775)

* Add subcooled outlet option to DSG LF IPH model (#776)

* add dsg lf subcooled outlet target

add ui callback to calc saturation temp

* update ssc cmake

* add boolean and unique input for subcooled output

* add cmake flag for shared dylib

* remove path test steps

Co-authored-by: Paul Gilman <cpaulgilman@gmail.com>
Co-authored-by: Brian Mirletz <brian.mirletz@nrel.gov>
Co-authored-by: Darice L Guittet <dguittet@nrel.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve labels of "levelized cost" outputs

3 participants