First time here? Check out the Help page!

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

PerformancePhotovoltaic:Simple with scheduled efficiency in OpenStudio

asked 9 years ago

updated 7 years ago

The OpenStudio::Model::PhotovoltaicPerformanceSimple class has a conversionEfficiencyInputMode method, but no setConversionEfficiencyInputMode.

Does this mean you can't create one with a Schedule efficiency?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 9 years ago

updated 9 years ago

It seems that calling setFixedEfficiency and setEfficiencySchedule will automatically switch the conversionEfficiencyInputMode to Fixed and Scheduled respectively.

performance is my OpenStudio::Model::PhotovoltaicPerformanceSimple

In [1]: puts performance
Out[1]:
OS:PhotovoltaicPerformance:Simple,
  {4031fe67-2794-4fbc-ab61-891fb8b6216f}, !- Handle
  Photovoltaic Performance Simple 1,      !- Name
  0.85,                                   !- Fraction of Surface Area with Active Solar Cells
  Fixed,                                  !- Conversion Efficiency Input Mode
  0.2,                                    !- Value for Cell Efficiency if Fixed
  ;                                       !- Efficiency Schedule Name

 In [2]:  performance.setEfficiencySchedule(schedule)
 Out[2]: ==> nil

 In [3]: puts performance
 Out[3]:
 OS:PhotovoltaicPerformance:Simple,
  {4031fe67-2794-4fbc-ab61-891fb8b6216f}, !- Handle
  Photovoltaic Performance Simple 1,      !- Name
  0.85,                                   !- Fraction of Surface Area with Active Solar Cells
  Scheduled,                              !- Conversion Efficiency Input Mode
  0.2,                                    !- Value for Cell Efficiency if Fixed
  {9fe66c83-b05c-43c4-8cf9-1397a38be653}; !- Efficiency Schedule Name
Preview: (hide)
link

Comments

That is correct, I think I need to document that better

macumber's avatar macumber  ( 9 years ago )

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

1 follower

Stats

Asked: 9 years ago

Seen: 207 times

Last updated: Oct 29 '15