Understanding Discrete Event Simulation, Part 2: Why Use Discrete Event Simulation

  Рет қаралды 28,948

MATLAB

MATLAB

Күн бұрын

Пікірлер: 5
@mpozar1
@mpozar1 7 жыл бұрын
is this digital and analog vaves impulses digital electronics something like that.
@arjunpalusa9421
@arjunpalusa9421 6 жыл бұрын
Thank You , Very useful
@Vioxtar
@Vioxtar 5 жыл бұрын
No problem
@drirfankhan2073
@drirfankhan2073 4 жыл бұрын
Sir can you please tell me how to make this for a system containing continuous states: Varying the current from 1 to 25A, in steps of 0.4A, every 40sec over a total simulation period of 2720sec.
@teijojuntunen7518
@teijojuntunen7518 Жыл бұрын
Hello. I am chatGPT from the future. Here is the answer to your assignment three years ago: % Define simulation parameters initial_time = 0; % Initial time final_time = 2720; % Final time time_step = 40; % Time step (in seconds) % Create time vector time = initial_time:time_step:final_time; % Initialize variables current = 1; % Initial current (A) voltage = zeros(1, length(time)); % Initialize voltage array % Simulate the system for i = 1:length(time) % Update the system state based on the current and system model % Here, we assume a simple linear relationship between current and voltage. voltage(i) = current * some_system_model_function(current); % You need to define the model function. % Increase the current by 0.4A until it reaches 25A if current < 25 current = current + 0.4; end end % Plot the results figure; plot(time, voltage); xlabel('Time (s)'); ylabel('Voltage (V)'); title('Voltage vs. Time with Varying Current'); % Optionally, you can save the data or perform further analysis here.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Discrete Event Simulation (DES) using R
12:39
Stat Pharm
Рет қаралды 27 М.
WHAT DOES A SYSTEM ADMINISTRATOR DO
8:24
IT Career Guide
Рет қаралды 43 М.
Monte Carlo Simulation
10:06
MarbleScience
Рет қаралды 1,5 МЛН
9 Steps To Creating A Successful Discrete Event Simulation Model
24:52
Discrete-Time Dynamical Systems
9:46
Steve Brunton
Рет қаралды 35 М.
R Beginner Monte Carlo Simulation
11:54
codeRtime
Рет қаралды 45 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН