def load_frame_building_sample_data():
    """
    Sample data for the BuildingFrame object

    :return:
    """
    number_of_storeys = 6
    interstorey_height = 3.4  # m
    masses = 40.0e3  # kg
    n_bays = 3

    fb = models.BuildingFrame(number_of_storeys, n_bays)
    fb.interstorey_heights = interstorey_height * np.ones(number_of_storeys)
    fb.floor_length = 18.0  # m
    fb.floor_width = 16.0  # m
    fb.storey_masses = masses * np.ones(number_of_storeys)  # kg

    fb.bay_lengths = [6., 6.0, 6.0]
    fb.set_beam_prop("depth", [0.5, 0.5, 0.5], repeat="up")
    fb.set_beam_prop("width", [0.4, 0.4, 0.4], repeat="up")
    fb.set_column_prop("width", [0.5, 0.5, 0.5, 0.5], repeat="up")
    fb.set_column_prop("depth", [0.5, 0.5, 0.5, 0.5], repeat="up")
    fb.n_seismic_frames = 3
    fb.n_gravity_frames = 0
    return fb
def load_frame_building_sample_data ( ) : number_of_storeys = 6 interstorey_height = 3.4 masses = 40.0e3 n_bays = 3 fb = models . BuildingFrame ( number_of_storeys , n_bays ) fb . interstorey_heights = interstorey_height * np . ones ( number_of_storeys ) fb . floor_length = 18.0 fb . floor_width = 16.0 fb . storey_masses = masses * np . ones ( number_of_storeys ) fb . bay_lengths = [ 6. , 6.0 , 6.0 ] fb . set_beam_prop ( "depth" , [ 0.5 , 0.5 , 0.5 ] , repeat = "up" ) fb . set_beam_prop ( "width" , [ 0.4 , 0.4 , 0.4 ] , repeat = "up" ) fb . set_column_prop ( "width" , [ 0.5 , 0.5 , 0.5 , 0.5 ] , repeat = "up" ) fb . set_column_prop ( "depth" , [ 0.5 , 0.5 , 0.5 , 0.5 ] , repeat = "up" ) fb . n_seismic_frames = 3 fb . n_gravity_frames = 0 return fb
Sample data for the BuildingFrame object

    :return: