asking about how to arrange 1000 EV with 8760 hours

asking about how to arrange 1000 EV with 8760 hours with each EV deffirent SOC, arrive and dep time etc....

回答 (1 件)

Walter Roberson
Walter Roberson 2025 年 9 月 24 日

0 投票

num_EV = 1000;
total_duration = 8760;
longest_ev_duration = 71; %adjust as appropriate
start_times = randi(total_duration, num_EV, 1);
ev_durations = randi(longest_ev_duration, num_EV, 1);
start_times = min(start_times, longest_ev_duration - ev_durations);
end_times = start_times + ev_durations;
Now each EV is due to start at start_times(K) and end at end_times(K)

2 件のコメント

Ahmed
Ahmed 2025 年 9 月 24 日
THANKS,
DO U HAVE ANY REFRENCES PLEASE

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSolar Power についてさらに検索

製品

質問済み:

2025 年 9 月 24 日

コメント済み:

2025 年 9 月 24 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by