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 pqcurves

iLab Assistant

Print out the PQ curves constructed by SHOP to the specified file name in xml format. The different options will write either the original PQ curves based on the input data, the PQ curves after convexification, the finalized PQ curves used in the optimization, or all of the mentioned cases. If a file name is not specified, a default file name starting with “pq_curves_” and ending with the current iteration number will be used.

Options/all, /original, /convex, /final
Value(string)
LicenseSHOP_OPEN
Release version13.0.0.a

The PQ curves can be written on xml format for each unit at each time step for each iteration.

print pqcurves /<option> (<filename.xml>)

The command will only print the PQ curve in the very next iteration, so the command cannot be given after the last start sim command.

If no filename is given by the user, the file will be saved with the default file “pq_curves_full_mode_iter1.xml” where the mode and the iteration number depend on the very next iteration.

Note that if a unit is under maintenance or committed not to run, it will not be taken into account in the optimization and hence no PQ curve can be printed out. In the incremental mode, only the committed units from full mode will be considered in the optimization and hence only PQ curve for those units will be printed out.

Comment
allPrint all three types of PQ curves
originalPrint PQ curves calculated based on given generator- and turbine efficiency curves
convexPrint PQ curves after convexification
finalPrint PQ curves after extending to Q=0

Three types of PQ curves can be printed out:

Note that how many points of the PQ curves will be printed out relies on how the PQ curves are built. See for details. If the user chooses to build PQ curve including all the limits, i.e. set build_pq_curve /all_limits, and there is production schedule or discharge schedule on the unit, only one point referring to the schedule will be given. Otherwise, the number of points of the PQ curves depend on the number of segments defined by the user and default number is 7.