Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

print mc_curves

iLab Assistant

Prints out marginal cost curves to file. The first input string is the file name, while the two integer input values specify the start and end time intervals (zero indexed) for the marginal cost calculations. Similar curves are produced by the “print bp_curves” command if the option “/mc_format” is used.

Options
Valuestring, two ints
LicenseSHOP_MC
Release version14.4.1.3

Printing marginal cost curves

Marginal cost curves can be printed to an xml file with the command:

Command: print mc_curves <filename.xml> (<start_t> <end_t>) [/<options>]
Comment
upCurves are also printed for combinations where generators are added
downCurves are also printed for combinations where generators are removed
pqOnly production and discharge are printed in the tables. The plant summary tables are also omitted
modWill make curves that are originally non-convex convex

Note that it is not possible to give the start (or end) time step by itself, the time steps must be given as a pair. If they are not provided, the marginal cost curves will be printed for all time steps. Also note that any of the option combinations are valid. For instance:

print mc_curves mc.xml 12 24 /up /down

will print curves for all time steps from 12 to 24 to the file “mc.xml”. Curves for combinations with added/removed generators relative to the given combination will also be printed.