Find the optimum of two variables in complex code

조회 수: 1 (최근 30일)
Nils Norlander
Nils Norlander 2017년 2월 24일
Hi all!
So I'm investigating the optimal battery size and consumption power to achieve even power consumption in a smaller smart grid for all hours of a year. The code is built up as: if the power consumption is higher than set allowed, discharge batteries, and if the power consumption is lower than set allowed, charge the batteries (w. solar power or from the grid).
Now I'm just testing different battery sizes and set allowed power consumption to see what combination results in my goal: 10 % of the hours can be ~= allowed_power.
Is there a more efficient way of doing this?
Thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Power and Energy Systems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by