Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: A minimization problem with variable length
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 1
Registered: 5/4/13
A minimization problem with variable length
Posted: May 4, 2013 4:22 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am currently modeling a simple short-run marginal cost dispatch for plants in an electricity system. I developed a (slow, iterative) implementation of the problem in Excel/VBA, but am now interested in experimenting with optimization approaches in Mathematica instead.

I have been experimenting with different ways to pose the problem in Mathematica, but have gotten quite stuck, and would appreciate some pointers.

The problem looks more or less like the table below:

Plant SRMC ($/MWh) Max (MW) Q (Dispatch MW)
Plant 1 5.0 500 Q1 (?)
Plant 2 10.0 500 Q2 (?)
=85 =85 =85 =85
Plant n 25.0 500 Qn (?)

If I had a small (and fixed...) number of plants to optimize across, I would write something like the following to minimize the total energy cost, such that (1) no plant exceeds its maximum capacity, (2) the sum of dispatch is equal to demand:

Equation 1

This is where I could use a push in the right direction. In real life, the number of the plants in the model may vary, and total several dozen or more plants. Writing the problem out fully is therefore unwieldy.

Is there a way to pose a variable length minimization problem, perhaps taking advantage of Mathematica's notation capabilities?

Equation 2
Minimize[sum_(i=1)^n (Q_i*P_i),Q_i<=Max_i...

Or should I be looking for a different approach to the problem?

Thank you very much for your thoughts.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2016. All Rights Reserved.