How to use the diagrams.s_entireplantloop1.IdfFunctionWrapper function in diagrams

To help you get started, we’ve selected a few diagrams examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github santoshphilip / eppy / diagrams / s_entireplantloop1.py View on Github external
makeplantloop(self.idf, self.idd.commdct, *args, **kwargs)
    def makebranchlist(self, *args, **kwargs):
        makebranchlist(self.idf, self.idd.commdct, *args, **kwargs)
    def makeconnectorlist(self, *args, **kwargs):
        makeconnectorlist(self.idf, self.idd.commdct, *args, **kwargs)
    def makebranches(self, *args, **kwargs):
        makebranches(self.idf, self.idd.commdct, *args, **kwargs)
    def makesplitter(self, *args, **kwargs):
        makesplitter(self.idf, self.idd.commdct, *args, **kwargs)
    def makemixer(self, *args, **kwargs):
        makemixer(self.idf, self.idd.commdct, *args, **kwargs)
    def rename_endnodes(self, *args, **kwargs):
        rename_endnodes(self.idf, self.idd.commdct, *args, **kwargs)
        
idd = eplus_functions.Idd(commdct, commlst, theidd)
idfw = IdfFunctionWrapper(data, idd)

# TODO : unit testing for classes
class HalfLoop(object):
    """hold the data for the half loop (demand or supply)"""
    def __init__(self, txt, side="supply", loopname="ALoop"):
        self.txt = txt
        self.side = side
        self.loopname = loopname
        self.makevars(txt)
        # - init non-diagram vars (organizational)
        self.plantinlet = "%s_%s_inlet" % (loopname, side)
        self.plantoutlet = "%s_%s_outlet" % (loopname, side)
        self.branchlistN = "%s_%s_Blist" % (loopname, side)
        self.connectorlistN = "%s_%s_Clist" % (loopname, side)
github santoshphilip / eppy / diagrams / s_entireplantloop1.py View on Github external
def __init__(self, idf, idd):
        super(IdfFunctionWrapper, self).__init__(idf, idd)
    def makeentireplantloop(self, *args, **kwargs):