First time here? Check out the Help page!
1 | initial version |
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
2 | No.2 Revision |
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