Predefined Simulation

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #14416
    ArdaCivan
    Participant

    Hello

    How can I simulate 2 eNodeB 2 UE simulation. It is a simple scenario but I keep on getting error.

    close all force;
    clc;
    cd ..

    simulation_type = ‘omnidirectional_eNodeBs’;

    % Possible simulation types now:
    % – ‘tri_sector’
    % – ‘tri_sector_tilted’, ‘tri_sector_tilted_4x2’, ‘tri_sector_tilted_4x4’
    % – ‘tri_sector_plus_femtocells’
    % – ‘six_sector_tilted’
    % – ‘capesso_pathlossmaps’
    % – ‘omnidirectional_eNodeBs’
    % – ‘tri_sector_tilted_traffic’

    %% Base configuration

    LTE_config = LTE_load_params(simulation_type);

    LTE_config.bandwidth = 20e6;
    LTE_config.frequency = 2e9;
    LTE_config.UE_speed = 0;%5/3.6;
    LTE_config.UE_per_eNodeB = 1;
    LTE_config.UE_distribution = ‘constant UEs per cell’;

    LTE_config.network_geometry = ‘predefined’;
    LTE_config.eNodeB_positions = [100, 10; 400, 20];
    LTE_config.predefined_roi_x = [500, 500];
    LTE_config.predefined_roi_y = [500, 500];
    LTE_config.antenna.antenna_gain_pattern = “omnidirectional”;

    %% eNodeB configuration

    LTE_config.eNodeB_tx_power = 40;
    LTE_config.nr_eNodeB_rings = 2;
    LTE_config.simulation_time_tti = 10;

    %% Misc options
    LTE_config.show_network = 1;
    LTE_config.keep_UEs_still = true;
    LTE_config.compact_results_file = true;
    LTE_config.delete_ff_trace_at_end = true;
    LTE_config.UE_cache = false;
    LTE_config.cache_network = false;
    LTE_config.selected_codebook = 1;

    %% Antenna

    LTE_config.nTX = 1;
    LTE_config.nRX = 1;
    LTE_config.tx_mode = 1;
    LTE_config.channel_model.type = ‘TU’;
    LTE_config.trace_version = ‘v1′;
    LTE_config.scheduler = ’round robin’;
    LTE_config.shadow_fading_type = ‘claussen’;
    LTE_config.feedback_channel_delay = 1;

    %% Result

    ticIdx = tic;
    output_results_file = LTE_sim_main(LTE_config);
    time = toc(ticIdx);

    simulation_data = load(output_results_file);
    GUI_handles.aggregate_results_GUI = LTE_GUI_show_aggregate_results(simulation_data);
    GUI_handles.positions_GUI = LTE_GUI_show_UEs_and_cells(simulation_data,GUI_handles.aggregate_results_GUI);

    ———————————————error—————————————————–

    TTI 1/10: **Error using ones
    Size inputs must be scalar.

    Error in network_elements.UE/filter_out_interferers_below_SINR (line 1281)
    shadow_lin_i = ones(size(pathloss_lin_i),1);

    Error in network_elements.UE/link_quality_model_v1 (line 412)
    ] = filter_out_interferers_below_SINR(obj,sum(RX_total_RB),interfering_eNodeBs,45);

    Error in network_elements.UE/link_quality_model (line 342)
    obj.link_quality_model_v1(config);

    Error in LTE_sim_main (line 575)
    UEs(u_).link_quality_model(LTE_config,false);

    Error in Predefined_Reuse (line 68)
    output_results_file = LTE_sim_main(LTE_config);

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.