jamiebull1 / geomeppy

GeomEppy is a scripting language for use with Eppy, which in turn is a scripting language for EnergyPlus IDF files and output files.
https://pypi.python.org/pypi/geomeppy
MIT License
35 stars 23 forks source link

The coordinates generated by geomeppy in the BuildingSurfaceDetailed are incorrect #271

Open ShihongZHANG1999 opened 8 months ago

ShihongZHANG1999 commented 8 months ago
**This is a simple code, but the coordinates in the generated idf file are wrong! Why?**

IDF.setiddname("D:/02_Software/EnergyPlus/Energy+.idd")
idf = IDF(r'D:\02_Software\EnergyPlus\ExampleFiles\Minimal.idf')
idf.epw = "USA_CO_Golden-NREL.724666_TMY3.epw"

idf.add_block(
    name='BOC',
    coordinates=[[10,0], [10,10], [0,10], [0,0]],
    height=3,
    num_stories=1,
    zoning="core/perim",        
    perim_depth=3)

idf.set_default_constructions()
idf.intersect_match()
idf.saveas('1.idf')

idf file

maynouf commented 7 months ago

Maybe this comes from intersect_match()? Perhaps you could test it without it and post results.