infotech2015 / cbecc

Automatically exported from code.google.com/p/cbecc
0 stars 0 forks source link

RunPeriod and SimDsgnDay -> Schedule translation issue #198

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the translation issue or enhancement:
Schedule translation error for - p.xml file, likely linked to 

If issue occurs during translation, describe what steps reproduce the
problem:
1. Import SDD via plug-in attached 00100... - AnnualSim.xml file, translation 
and simulation of DDY files is successful
2. Import SDD via plug-in attached 01000333 - p.xml file, translation 
successful, and simulation of DDY files fails; eplusout.err file indicates the 
following for all schedules in the file: 

   ** Severe  ** IP: IDF line~8506 Object=SCHEDULE:YEAR, name=SCHOOL OCCUP SCH, Required Field=[Schedule:Week Name 1] was blank.
   ** Severe  ** IP: IDF line~8506 Object=SCHEDULE:YEAR, name=SCHOOL OCCUP SCH, Required Field=[Start Month 1] was blank.
   ** Severe  ** IP: IDF line~8506 Object=SCHEDULE:YEAR, name=SCHOOL OCCUP SCH, Required Field=[Start Day 1] was blank.
   ** Severe  ** IP: IDF line~8506 Object=SCHEDULE:YEAR, name=SCHOOL OCCUP SCH, Required Field=[End Month 1] was blank.
   ** Severe  ** IP: IDF line~8506 Object=SCHEDULE:YEAR, name=SCHOOL OCCUP SCH, Required Field=[End Day 1] was blank.

Sch objects in xml file have correct EndMonth/EndDay/SchWeekRef values.

I believe this has something to do with translation of the following 
properties, since copying out of AnnualSim.xml file into p.xml file corrects 
issue:

AnnualSim.xml, <Proj>
....
    <HVACAutoSizing>1</HVACAutoSizing>
    <SimDsgnDays>1</SimDsgnDays>
    <RunPeriodBeginMonth>0</RunPeriodBeginMonth>
    <RunPeriodBeginDay>0</RunPeriodBeginDay>
    <RunPeriodEndMonth>0</RunPeriodEndMonth>
    <RunPeriodEndDay>0</RunPeriodEndDay>
    <RunPeriodYear>0</RunPeriodYear>

p.xml, <Proj>
....
    <HVACAutoSizing>1</HVACAutoSizing>
    <SimDsgnDays>0</SimDsgnDays>
    <RunPeriodBeginMonth>1</RunPeriodBeginMonth>
    <RunPeriodBeginDay>1</RunPeriodBeginDay>
    <RunPeriodEndMonth>12</RunPeriodEndMonth>
    <RunPeriodEndDay>31</RunPeriodEndDay>
    <RunPeriodYear>1991</RunPeriodYear>

What version of OpenStudio are you using? On what operating system?
0.11.2.11762, Win7 64bit

Please provide any additional information below.

Original issue reported on code.google.com by da...@360-analytics.com on 13 Apr 2013 at 12:12

Attachments:

GoogleCodeExporter commented 9 years ago
I'll take a look at this ASAP

Original comment by dan.macu...@gmail.com on 13 Apr 2013 at 2:41

GoogleCodeExporter commented 9 years ago
Fix has been committed and new build is at 

https://pfs.nrel.gov/main.html?download&weblink=0c4613f9706b39e00a46676ecea1a019
&realfilename=OpenStudio-0.11.2.11775-Windows.exe

Original comment by dan.macu...@gmail.com on 13 Apr 2013 at 4:12

GoogleCodeExporter commented 9 years ago
Thanks Dan, I'll check this and the other items included in this build today.

Original comment by da...@360-analytics.com on 13 Apr 2013 at 8:31

GoogleCodeExporter commented 9 years ago
Reviewed and confirmed fix.

Original comment by da...@360-analytics.com on 15 Apr 2013 at 10:49