Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

DMS project

Group No.3
Prasad Prashant Adhav
Harsh Kumar Ename
Shiva Hari Prasad

The purpose of this report is to elaborate the logical thinking which shaped the
Excel spreadsheet and the MATLAB code.
This report explains the Excel sheet workflow followed by the coding logic
behind the MATLAB output.
Spreadsheet inputs:

 For user convenience we have marked the input cells in red ink. The user
can go through the document and input in the highlighted cells instead of
navigating through the entire sheet.
Elevation:

 User can input the elevation data in this table. There is a margin left for
increasing or decreasing the number of stories.
 Inputs required are height and length of the storey from the elevation
which is exposed to wind. The program calculates Total Exposed area,
Total Horizontal Shear and the Point of Application of the force.
Plan:

 Plan inputs are user friendly to understand. No matter how the plan is, it
can be accommodated in the sheet.
 User needs to mark only the locations of periphery columns of the plan
and input the distances between the frame.
 The input itself is fairly graphical so that user gets a feel of the data he is
inputting. He can verify his inputs on the spot.
 E and I represent exterior and interior columns. Rows and columns
adjacent to the input sheet calculate the number of exterior and interior
columns in each frame in both directions.
Rigidity of frames:

 By reading the input the program calculates the rigidity of the frames
in x and y directions.
 It is assumed that the wind acts only in one direction at a time. So, if
the input is in y direction, terms like px, Fx, Vx are not calculated.
Centre of Rigidity, Eccentricity and Polar Moment of Inertia:

The program further calculates CRx, CRy, e and Jp. No inputs are required.
Design Shear:

 Finally, the Design shear for each frame is calculated along with the
percentage of horizontal shear carried by each frame. As the data is
provided in y direction, values in x direction are not calculated.
 After this, the user can save the file and run the MATLAB code to
verify his inputs.
MATLAB Output:
Elevation:

Pre-Diagram setup:
 The code reads the data from the excel sheet. It includes the inputs about
number of stories, height of each storey, length of each storey and the
distances between two adjacent frames.
 Since we have left vacant cells to accommodate more data for input, we
need to eliminate the rows associated with zero stories in order to not
have blank spaces in the figure.
 The distance input in the excel sheet is read and cumulative sum is
applied to find out distance of next frame from the origin.
Storey Gridlines:
 The code calculates storey height of each storey from ground by a
cumulative sum. It defines the points on the y axis where the gridline
should be placed.
 It extends the horizontal gridline of each storey up to the length of that
particular storey.
Frame Gridlines:
 In a similar way, positions of frames are fixed on the x axis using the
cumulative sum of frame distances.
 Now the loop iterates through every storey to check the match for the
frame distance and storey length.
 For example, if a frame is placed at 22 meters from origin, the loop
will find out at which storey frame distance > storey length. Let’s say
the length of 7th storey is 22 meters and of 8th storey is 20 meters.
 Following the logic, the frame will be curtailed at 7th storey as it has
found its match.
 If this is not followed the frame might go above where there exists no
storey.

Floor Plan:

Pre diagram setup:


 The code reads the sheet for the data input regarding floor plan.
 Excel input requires the user to mark the periphery columns of the plan,
whether the column is internal or external, it is decided by the program.
 The MATLAB code reads the sheet and looks for cells that are not blank.
The cells which are not blank contain a character either E or I.
Column Nodes and Walls:
 The for loop iterates through every cell and identifies the cells that are not
blank and puts a node at that coordinate in the diagram.
 After this another loop iterates through every inserted node and looks if a
node exists at its right or bottom.
 If it does it inserts a line connecting the dots representing the wall.
 Ticks and labels are inserted on axes. X axis is labelled alphabetically and
y axis is numbered from the origin.

You might also like