Exemplo n.º 1
0
    def build_load_function(self):

        self.loads_nodelta = [load for load in self.Loads if load.kind != "END_DELTA"]
        self.loads_delta = [load for load in self.Loads if load.kind == "END_DELTA"]

        self.equations, self.equation_strings = ppbeam.center_span_piecewise_function(self.loads_nodelta)

        if len(self.loads_delta) == 0:
            pass
        else:
            self.equations_delta, self.equations_strings_delta = ppbeam.center_span_piecewise_function(self.loads_delta)

        # points of inflection
        self.zero_shear_loc = ppbeam.points_of_zero_shear(self.equations[0])

        self.zero_moment_loc = ppbeam.points_of_zero_shear(self.equations[1])

        self.zero_slope_loc = ppbeam.points_of_zero_shear(self.equations[2])

        # add points of inflection to the charting stations
        self.chart_stations.extend(self.zero_shear_loc)
        self.chart_stations.extend(self.zero_moment_loc)
        self.chart_stations.extend(self.zero_slope_loc)
        self.chart_stations = list(set(self.chart_stations))
        self.chart_stations.sort()

        self.loads_built = 1
Exemplo n.º 2
0
    def build_load_function(self):
        Mi = sum(self.mi)
        Mj = sum(self.mj)

        L1 = ppbeam.point_moment(Mi, 0, self.Length)
        L2 = ppbeam.point_moment(Mj, self.Length, self.Length)

        self.equations, self.equation_strings = ppbeam.center_span_piecewise_function(
            [L1, L2])

        # points of inflection
        self.zero_shear_loc = ppbeam.points_of_zero_shear(self.equations[0])

        self.zero_moment_loc = ppbeam.points_of_zero_shear(self.equations[1])

        self.zero_slope_loc = ppbeam.points_of_zero_shear(self.equations[2])

        # add points of inflection to the charting stations
        self.chart_stations.extend(self.zero_shear_loc)
        self.chart_stations.extend(self.zero_moment_loc)
        self.chart_stations.extend(self.zero_slope_loc)
        self.chart_stations = list(set(self.chart_stations))
        self.chart_stations.sort()

        self.loads_built = 1
Exemplo n.º 3
0
    def build_load_function(self):
        
        self.equations, self.equation_strings = ppbeam.center_span_piecewise_function(self.Loads)

        self.loads_built = 1