资源简介
yalmip解决电力系统机组组合问题范例1的资源分为详细介绍yalmip解决机组组合问题的文档和相应的代码。后续将继续推出相关范例
代码片段和文件信息
Nunits = 3;
Horizon = 48;
Pmax = [100;50;25];
Pmin = [20;40;1];
Q = diag([.04 .01 .02]);
C = [10 20 20];
Pforecast = 100 + 50*sin((1:Horizon)*2*pi/24);
onoff = binvar(NunitsHorizon‘full‘);
P = sdpvar(NunitsHorizon‘full‘);
Constraints = [];
for k = 1:Horizon
Constraints = [Constraints onoff(:k).*Pmin <= P(:k) <= onoff(:k).*Pmax];
end
for k = 1:Horizon
Constraints = [Constraints sum(P(:k)) >= Pforecast(k)];
end
objective = 0;
for k = 1:Horizon
objective = objective + P(:k)‘*Q*P(:k) + C*P(:k);
end
ops = sdpsettings(‘verbose‘1‘debug‘1);
optimize(Constraintsobjectiveops)
stairs(value(P)‘);
legend(‘Unit 1‘‘Unit 2‘‘Unit 3‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 694 2018-10-27 16:56 yalmip解决电力系统机组问题的范例1\UC1.m
文件 29491 2018-10-27 17:08 yalmip解决电力系统机组问题的范例1\yalmip范例解析1.docx
目录 0 2018-10-27 17:08 yalmip解决电力系统机组问题的范例1
----------- --------- ---------- ----- ----
30185 3
相关资源
- 一种基于LM3150 Buck型开关电源设计.p
- 基于BuckBoost拓扑的数字DCDC变换器设计
- S3C4510 开发板中uCLinux系统开发
- 用ARM7和UC/OS-II设计的信号采集系统
- 一种用ARM7+UC/OS-II设计的信号采集系统
- Electricity and hydrogen co-production from me
- Numerical simulation and prediction of radio f
- Can EC-MPS reduce gastrointestinal side effect
- PolSARpro Introduction PolSARpro操作说明
- An investigation into the effect of maize prod
- 短期化疗对乳腺癌组织UCH-L1表达的影
- 浑水做空瑞幸咖啡报告 Luckin Coffee F
- 浑水做空瑞幸咖啡89页报告 Luckin Cof
- The Synthesis and Structure of a Novel Three-D
- Photoluminescence and photoabsorbance blue shi
- Coordination-resolved 4f binding energy shift
- BEIJING-FANUCOi-MA数控系统在X53T立式铣床
- Lawson Products在IBM的帮助下积极改造运
- 瑞昱 Semiconductor RTL8168/8111 PCI-E Gigabi
- Origin of anomalous hysteresis loops induced b
- Sub-wavelength surface structuring of NiTi all
- Gold-film coating assisted femtosecond laser f
- delphi 取硬件序列号(souce)
- Effects of cerium on the microstructure and me
- Discovery of Reversible and Persistent Electri
- UG fanuc 18i后处理
- Effects of L-type Matching Network on Characte
- buck dcdc设计
- Profibus GSD文件.rar
- Touchpad Gesture触摸板多点触控技术应用
评论
共有 条评论