- Opyplus Package Version: 1.3.0
- Operating System: Ubuntu 18.04 LTS
- Python Version: 3.9.10
Describe the bug
I am trying to load a building IDF file with opyplus, but apparently it does not have support for the On/Off Schedule Type Limits Name.
To Reproduce
Steps to reproduce the behavior:
- Download warehouse IDF from ASHRAE9012016_Warehouse_Denver.zip
- Extract IDF file
- Use opyplus to load from IDF:
from opyplus import Epm
import os
building = Epm.from_idf(
'ASHRAE9012016_Warehouse_Denver.idf',
check_length=False)
Expected behavior
building should be an Epm object, but the next Traceback happens:
opyplus.exceptions.FieldValidationError: No object found with any of given references : (('ScheduleTypeLimitsNames', 'on/off'),). Table: Schedule:Compact, index: 1, ref: schedule_type_limits_name, value: on/off.
With Energyplus 9.5.0 this type (On/Off) is a valid type. The lines in the IDF that cause the error are as follows:
Schedule:Compact,
ALWAYS_OFF, !- Name
On/Off, !- Schedule Type Limits Name
Through: 12/31, !- Field 1
For: AllDays, !- Field 2
Until: 24:00,0; !- Field 3
Schedule:Compact,
ALWAYS_ON, !- Name
On/Off, !- Schedule Type Limits Name
Through: 12/31, !- Field 1
For: AllDays, !- Field 2
Until: 24:00,1; !- Field 3
If On/Off is changed to Any Number value, for example, The Epm.from_idf() function is executed successfully.
Describe the bug
I am trying to load a building IDF file with opyplus, but apparently it does not have support for the On/Off Schedule Type Limits Name.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
building should be an Epm object, but the next Traceback happens:
With Energyplus 9.5.0 this type (On/Off) is a valid type. The lines in the IDF that cause the error are as follows:
If On/Off is changed to Any Number value, for example, The Epm.from_idf() function is executed successfully.