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 2015-10-29 04:40:57 -0500

updated 2017-08-05 08:09:22 -0500

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

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-10-29 04:46:55 -0500

updated 2015-10-29 04:47:42 -0500

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
edit flag offensive delete link more

Comments

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

macumber gravatar imagemacumber ( 2015-10-29 09:04:22 -0500 )edit

Your Answer

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

Add Answer

 



Question Tools

1 follower

Stats

Asked: 2015-10-29 04:40:57 -0500

Seen: 69 times

Last updated: Oct 29 '15