//Michael Stratton II //December 2020 //Grand Valley State University - Master's Thesis, Mechanical Engineering //This is the master file which calls the functions needed to run the program. //Tidy the workspace clc; clear; //Example string for filepath: //user_string = 'mstratton'; //***Update line 16 for your account. Refer to example string in line 12.*** //***This is the only line of code that should be changed!*** user_string = 'mstratton'; //Call Function #1 - Input Questions func_str_1 = ('C:\Users\' + user_string + '\Desktop\input_questions.sci'); exec(func_str_1); [user_answers] = input_questions(); //Call Function #2 - Calculate Water Consupmption func_str_2 = ('C:\Users\' + user_string + '\Desktop\water_calculation.sci'); exec(func_str_2); [water_gal_month] = water_calculation(user_answers); //Call Function #3 - Calculate Live Load func_str_3 = ('C:\Users\' + user_string + '\Desktop\live_load_calculation.sci'); exec(func_str_3); [live_load_BTU_hr] = live_load_calculation(user_answers); //Call Function #4 - Calculate HVAC Needs func_str_4 = ('C:\Users\' + user_string + '\Desktop\HVAC_calculation.sci'); exec(func_str_4); [HVAC_data] = HVAC_calculation(user_answers,live_load_BTU_hr) //Call Function #5 - Calculate Energy Consumption func_str_5 = ('C:\Users\' + user_string + '\Desktop\energy_calculation.sci'); exec(func_str_5); [energy_kWh_month] = energy_calculation(user_answers); //Call Function #6 - Calculate BOM and Approximate Cost func_str_6 = ('C:\Users\' + user_string + '\Desktop\cost_BOM_calculation.sci'); exec(func_str_6); [cost_and_BOM] = cost_BOM_calculation(user_answers); //Call Function #7 - Summary and Closing func_str_7 = ('C:\Users\' + user_string + '\Desktop\summary_info.sci'); exec(func_str_7); [tiny_house_summary] = summary_info(user_answers, water_gal_month, HVAC_data, energy_kWh_month, cost_and_BOM);