The document describes a Monte Carlo simulation that analyzes the fire resistance of reinforced concrete beams under different fire exposure scenarios. It defines simulation parameters like number of simulations, beam properties, load ratios, and compartment characteristics. Thermal properties and resistance models are also defined. The simulation then loops through different exposure times, beam cases, and load ratios to calculate reliability indices and failure probabilities for both standard and parametric fire curves. Results are plotted for each beam case.
The document describes a Monte Carlo simulation that analyzes the fire resistance of reinforced concrete beams under different fire exposure scenarios. It defines simulation parameters like number of simulations, beam properties, load ratios, and compartment characteristics. Thermal properties and resistance models are also defined. The simulation then loops through different exposure times, beam cases, and load ratios to calculate reliability indices and failure probabilities for both standard and parametric fire curves. Results are plotted for each beam case.
The document describes a Monte Carlo simulation that analyzes the fire resistance of reinforced concrete beams under different fire exposure scenarios. It defines simulation parameters like number of simulations, beam properties, load ratios, and compartment characteristics. Thermal properties and resistance models are also defined. The simulation then loops through different exposure times, beam cases, and load ratios to calculate reliability indices and failure probabilities for both standard and parametric fire curves. Results are plotted for each beam case.
The document describes a Monte Carlo simulation that analyzes the fire resistance of reinforced concrete beams under different fire exposure scenarios. It defines simulation parameters like number of simulations, beam properties, load ratios, and compartment characteristics. Thermal properties and resistance models are also defined. The simulation then loops through different exposure times, beam cases, and load ratios to calculate reliability indices and failure probabilities for both standard and parametric fire curves. Results are plotted for each beam case.
reliability_indices = zeros(length(exposure_times), length(cases), length(load_ratios), 2); % Last dimension for fire types (1: standard, 2: parametric) probabilities_of_failure = zeros(length(exposure_times), length(cases), length(load_ratios), 2); % Last dimension for fire types
% Loop over exposure times, cases, and load ratios
for t = 1:length(exposure_times) for c = 1:length(cases) for r = 1:length(load_ratios) % Perform Monte Carlo simulation for standard fire [reliability_index_std, probability_of_failure_std] = monte_carlo_simulation(num_simulations, exposure_times(t), cases(c,:), load_ratios(r), 'standard', alpha_r_standard(t, c), compartment, L, gamma_g, gamma_q); reliability_indices(t, c, r, 1) = reliability_index_std; probabilities_of_failure(t, c, r, 1) = probability_of_failure_std;
% Perform Monte Carlo simulation for parametric fire
if gX <= 0 failure_count = failure_count + 1; end end
% Calculate the probability of failure and reliability index
probability_of_failure = failure_count / num_simulations; reliability_index = -norminv(probability_of_failure); end
function [Tr, Tc] = calculate_temperatures(exposure_time, alpha, fire_type,
case_params, compartment) % Convert exposure time to hours for the Wickstrom model t = exposure_time / 60;
% Calculate the gas temperature (Tg) based on the fire type
if strcmp(fire_type, 'standard') Tg = 20 + 345 * log10(8 * t + 1); % Standard fire curve (ISO 834) else % Parametric fire curve time_temperature = [20, 821; 30, 840; 60, 639; 90, 333; 100, 224; 120, 20]; Tg = interp1(time_temperature(:, 1), time_temperature(:, 2), exposure_time, 'linear', 'extrap'); end
% Calculate the temperature of the steel reinforcement (Tr) andconcrete
(Tc) using Wickstrom's model s = case_params(3); % Distance from the steel bar axis to the concrete face (d') nw = 1 - 0.0616 * t^(-0.88); nss = 0.18 * log(alpha * t / s^2) - 0.81; nx = nss; % Assuming symmetrical heating ny = nss; % Assuming symmetrical heating Tr = nw * (nx + ny - 2 * nx * ny) + nx * ny * Tg; Tc = Tg; end
function plot_results(exposure_times, reliability_indices,
probabilities_of_failure, load_ratios, cases) % Plot reliability indices and probabilities of failure for each case and load ratio for c = 1:length(cases) % Plotar índices de confiabilidade em um único gráfico para o caso c figure; hold on; for r = 1:length(load_ratios) for f = 1:2 % Fire types (1: standard, 2: parametric) if f == 1 fire_type = 'Standard'; line_style = '-'; else fire_type = 'Parametric'; line_style = '--'; end plot(exposure_times, squeeze(reliability_indices(:, c, r, f)), line_style, 'DisplayName', ['Load Ratio ' num2str(load_ratios(r)) ' ' fire_type ' Fire']); end end title(['Reliability Index for Case ' num2str(c)]); xlabel('Exposure Time (min)'); ylabel('Reliability Index'); legend('show');
% Plotar probabilidades de falha em um único gráfico para o caso c
figure; hold on; for r = 1:length(load_ratios) for f = 1:2 % Fire types (1: standard, 2: parametric) if f == 1 fire_type = 'Standard'; line_style = '-'; else fire_type = 'Parametric'; line_style = '--'; end plot(exposure_times, squeeze(probabilities_of_failure(:, c, r, f)), line_style, 'DisplayName', ['Load Ratio ' num2str(load_ratios(r)) ' ' fire_type ' Fire']); end end title(['Probability of Failure for Case ' num2str(c)]); xlabel('Exposure Time (min)'); ylabel('Probability of Failure'); legend('show'); end end