Search found 10 matches

by anan
2 weeks ago
Forum: Solvers
Topic: chance constraint
Replies: 1
Views: 59

chance constraint

can Cplex solver solve a chance constraint in stochastic modeling?
by anan
2 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 1
Views: 190

stochastic programming

Hello everyone, I really appreciate your help and I have a problem in my code I wish it is the last one it says that the Wait-See model is infeasible $ontext this code for 6-bus system considering the line constraints when solved as deterministic the cost=110915 after solving the deterministic probl...
by anan
2 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 403

Re: stochastic programming

thank you for your help. I'm confused now becuase i want PV to be in equation Const2 as generation so I put everything in stage 2 to make the equation const 2 equality constraint but there is something wrong i cant find it $ontext this code for 6-bus system considering the line constraints when solv...
by anan
2 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 403

Re: stochastic programming

My final code looks like this and it is working but I was trying to index PV over time and I couldn't figure out how to do it could you help me, please? $ontext this code for 6-bus system considering the line constraints when solved as deterministic the cost=110915 after solving the deterministic pr...
by anan
3 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 403

Re: stochastic programming

yes thank you for your help this was helpful

and yes I'm comparing the new result after adding PV with the deterministic solution without stochastic
I think I had a problem with the distribution fitting of the historical dataset giving me the wrong parameters of the Beta PDF

Best Regards,
Anan
by anan
3 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 403

Re: stochastic programming

Dear Fred, sorry for the late reply, thank you so much this worked perfectly. all the load was satisfied by the units but at time t23 the load is 208.93 and the generated power is 218.7528 which is much higher and affects the cost logically after adding the PV the cosThermal should decrease not incr...
by anan
3 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 403

stochastic programming

I was trying to minimize the cost of three generating units and the code is working well but when I added the stochastic part random variable (PV) it became infeasible no solution please anyone can help me * 6-bus system UC without line constraints only generating units and load Set t 'time' / t1*t2...
by anan
3 months ago
Forum: Modeling
Topic: IEEE 6-bus system modeling
Replies: 1
Views: 222

IEEE 6-bus system modeling

please I need help in modeling this I'm stuck at start-up cost equation number 12 startup cost func.pdf * 24 bus system with 24 hours demand set bus number of buses /1*6/ Gen number of generators /g1*g3/ t number of hours /t1*t24/ k /1*100/ nl number of segment /1*3/ slack(bus) / 1 / j start up cost...
by anan
3 months ago
Forum: Modeling
Topic: power system scheduling
Replies: 2
Views: 164

Re: power system scheduling

thank you so much for your prompt reply.
I don't have distribution yet, I will work with hourly output power for one year and I'm looking for a way to fit this data into a distribution normal or discrete.
by anan
3 months ago
Forum: Modeling
Topic: power system scheduling
Replies: 2
Views: 164

power system scheduling

Dear All, I’m working on microgrid scheduling using GAMS considering the PV uncertainty and the gams documentation for stochastic programming is recommending to use LINDO solver for making a random variable normally distributed but I saw other codes using Cplex solver with multiple scenarios to cons...