Esempio n. 1
0
 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)
Esempio n. 2
0
 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
Esempio n. 3
0
 def __init__(self, name=None):
     self.name = name
     self.networks = ob.ObjectList(nw.Network)
     self.simulations = ob.ObjectList(sm.Simulation)
     self.hydrographs = ob.ObjectList(uh.UnitHydrograph, hd.defaults_list)
     self.distributions = ob.ObjectList(ds.RainfallDistribution, sd.defaults_list)
Esempio n. 4
0
 def __init__(self, name=None, start_stage=None, network=None):
     self.name = name
     self.start_stage = start_stage
     self.network = network
     self.basins = ob.ObjectList(bsn.Basin)
Esempio n. 5
0
 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)