Search found 11 matches

by anan
1 day ago
Forum: Modeling
Topic: chance constraint
Replies: 0
Views: 39

chance constraint

dear all, please help me with this code why is it infeasible?? what is the problem with random variable Q or the equation hydro_output?? * this code for 6-bus system considering the line constraints with one hydro unit and one thermal unit Set t 'time' / t1*t24 / i 'generators indices' / g1*g3 / k '...
by anan
2 months ago
Forum: Solvers
Topic: chance constraint
Replies: 1
Views: 116

chance constraint

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

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
4 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 550

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
4 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 550

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
4 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 550

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
4 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 550

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
5 months ago
Forum: Modeling
Topic: stochastic programming
Replies: 7
Views: 550

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
5 months ago
Forum: Modeling
Topic: IEEE 6-bus system modeling
Replies: 1
Views: 285

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
5 months ago
Forum: Modeling
Topic: power system scheduling
Replies: 2
Views: 222

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.