def __init__(self, name=None, section=None, mannings=None, length=None, invert1=None, invert2=None, node1=None, node2=None): super(Inlet, self).__init__(name, section, mannings, length, invert1, invert2, node1, node2) self.weirs = ob.ObjectList(weir.Weir) self.report = inp.InputReport(self)
def __init__(self, name=None, duration=None, interval=None, rainfall=None, distribution=None): self.name = name self.duration = duration # hours self.interval = interval # hours self.rainfall = rainfall # inches self.distribution = distribution self.networks = obj.ObjectList(nw.Network) self.report = inp.InputReport(self) self.result = None
def __init__(self, name=None, section=None, mannings=None, length=None, invert1=None, invert2=None, node1=None, node2=None): super(Pipe, self).__init__(name, node1, node2, section) self.mannings = mannings self.length = length # feet self.invert1 = invert1 # feet self.invert2 = invert2 # feet self.report = inp.InputReport(self)
def __init__(self, name=None, rainfall_ratios=None): self.name = name self.rainfall_ratios = cpl.CoupleList('Time-Rainfall Ratios', ('Time', 'Rainfall'), rainfall_ratios) self.report = inp.InputReport(self, self.rainfall_ratios)
def __init__(self, name=None, start_stage=None, contours=None): super(Reservoir, self).__init__(name, start_stage) self.contours = cpl.CoupleList('Contours', ('Stage (ft)', 'Area (ac)'), contours) self.report = inp.InputReport(self, self.contours)
def __init__(self, name=None, section=None, orif_coef=None, weir_coef=None, invert=None, node1=None, node2=None): super(Weir, self).__init__(name, node1, node2, section) self.orif_coef = orif_coef self.weir_coef = weir_coef self.invert = invert self.report = inp.InputReport(self)
def __init__(self, name=None, start_stage=None, stage_volumes=None): super(Storage, self).__init__(name, start_stage) self.stage_volumes = cpl.CoupleList('Stage-Volumes', ('Stage (ft)', 'Volume (ac-ft)'), stage_volumes) self.report = inp.InputReport(self, self.stage_volumes)
def __init__(self, name=None, area=None, cn=None, tc=None, uh=None): self.name = name self.tc = tc # minutes self.uh = uh self.shapes = ob.ObjectList(Shape) self.report = inp.InputReport(self)
def __init__(self, name=None, start_stage=None, time_stages=None): super(Boundary, self).__init__(name, start_stage) self.time_stages = cpl.CoupleList('Time-Stages', ('Time (hr)', 'Stage (ft)'), time_stages) self.report = inp.InputReport(self, self.time_stages)