santoshphilip / eppy

scripting language for E+, Energyplus
MIT License
158 stars 66 forks source link

Broken idf #34

Closed amaliahicks closed 9 years ago

amaliahicks commented 9 years ago

Hi there,

Eppy is fabulous, thank you for creating it. I am having a slight problem with it breaking my idf file, however. I have a 3 story building with about 17 zones per floor. Each zone is included in a water outlet group, so in total I have 51 pieces of water use equipment.

When I run eppy on my input idf, it only transfers 10 pieces of water use equipment to the resulting idf file (under the WaterUse:Connections object). Subsequently, when I try to run the new idf file in E+ it crashes.

Any suggestions you could send along would be much appreciated. I can cut and paste the rest of the water use equipment into the new idf file, but that kind of cuts into eppy's usefulness...

Thanks so much for your help, Amalia

WaterUse:Connections,
Water Outlet Group, !- Name Water Outlet Group Water Inlet Node, !- Inlet Node Name Water Outlet Group Water Outlet Node, !- Outlet Node Name , !- Supply Water Storage Tank Name , !- Reclamation Water Storage Tank Name , !- Hot Water Supply Temperature Schedule Name , !- Cold Water Supply Temperature Schedule Name None, !- Drain Water Heat Exchanger Type Plant, !- Drain Water Heat Exchanger Destination 1500.0, !- Drain Water Heat Exchanger UFactor Times Area 01FirstFloor:Office7 Water Outlet, !- Water Use Equipment 1 Name 01FirstFloor:Corridor Water Outlet, !- Water Use Equipment 2 Name 01FirstFloor:Office8 Water Outlet, !- Water Use Equipment 3 Name 01FirstFloor:Office1 Water Outlet, !- Water Use Equipment 4 Name 01FirstFloor:Office3 Water Outlet, !- Water Use Equipment 5 Name 01FirstFloor:Office2 Water Outlet, !- Water Use Equipment 6 Name 01FirstFloor:Office4 Water Outlet, !- Water Use Equipment 7 Name 01FirstFloor:Office6 Water Outlet, !- Water Use Equipment 8 Name 01FirstFloor:Office5 Water Outlet, !- Water Use Equipment 9 Name 01FirstFloor:Bathroom1 Water Outlet, !- Water Use Equipment 10 Name [there should be 41 more items in this list]

JasonGlazer commented 9 years ago

You need to modify the IDD file that Eppy is using to add additional copies of that repeating field.

C:\eppy046\resources\iddfiles

amaliahicks commented 9 years ago

Thank you!!! That makes sense. Can I use the same IDD file for other models that don't have that many pieces of water equipment, or is it important to have a customized IDD file for each model?

While I've got your attention, I'm also having trouble getting eppy to print a single object from a list. I can print the entire list just fine, but when I try to just print one element I get errors. Here's a snippet from the code:

LPD

lights = idf1.idfobjects['LIGHTS'] for light in lights: light.Design_Level_Calculation_Method= "Watts/Area" light.Lighting_Level="" light.Watts_per_Zone_Floor_Area="8.61112"

firstlight = lights[0]

print firstlight

Thanks so much!!! Amalia

_Amalia Hicks, Ph.D._Director of Research ahicks@sustaineng.com ahicks@alum.mit.edu Sustainable Engineering Group 7475 Hubbard Avenue Suite 201 Middleton, WI 53562 608.836.4488 ext. 22 | Fax: 608.836.4477 www.sustaineng.com

On Mon, Dec 8, 2014 at 1:12 PM, Jason Glazer notifications@github.com wrote:

You need to modify the IDD file that Eppy is using to add additional copies of that repeating field.

C:\eppy046\resources\iddfiles

— Reply to this email directly or view it on GitHub https://github.com/santoshphilip/eppy/issues/34#issuecomment-66168648.

santoshphilip commented 9 years ago

Amalia, I thought it would print. Will take a look and check. I am traveling now, so my response may be slow. Santosh

santoshphilip commented 9 years ago

Amalia, You can use the modified IDD for on your other models too Santosh

santoshphilip commented 9 years ago

I am unable to recreate the front problem, If it reoccurs open a new issue with the error message it is throwing out.

I am closing this issue

amaliahicks commented 9 years ago

Ok, thanks!

On Tuesday, December 16, 2014, santoshphilip notifications@github.com wrote:

I am unable to recreate the front problem, If it reoccurs open a new issue with the error message it is throwing out.

I am closing this issue

— Reply to this email directly or view it on GitHub https://github.com/santoshphilip/eppy/issues/34#issuecomment-67264111.