Results with sequential price period resolution#
From Prodrisk 10.2.0, all module-specific results (detsimres.h5) can be obtained with sequential price period resolution. This is different from the ordinary result format, where results on reservoir volume, spillage and inflow are given with aggregated (weekly) resolution, regardless of the resolution used during optimization.
The functionality is activated by setting the attribute suppress_seq_res to 0 in the API, or in the file prodrisk.CPAR if you are running Prodrisk from the command line. Its default value is 1, meaning that results will be given in the ordinary format. Note that the new result writing routines might take considerable longer time for large datasets. Additionally, LTM result programs such as PCKURVETEGN and ET are not compatible with the new result format.
The reservoir volume, spillage and inflow will only have meaningful results with sequential price periods in the following cases:
The specified price periods are sequential and reservoirBalanceOption is set to 1 in the API. This corresponds to setting MAGBAL to 1 in prodrisk.CPAR.
Prodrisk is run with the command line option -SEKV. The results will be meaningful for all weeks within the specified interval for sequential resolution (sequentialPricePeriodStartWeek/sequentialPricePeriodEndWeek in the API, or JSEKV_STARTUKE/JSEKV_SLUTTUKE in prodrisk.CPAR).
For all remaining cases, Prodrisk will write results in the following way:
For each sequential price period, inflow/spillage is set to the average inflow/spillage within the week.
For each sequential price period, the reservoir volume is set to the end reservoir volume for the given week.