hyd genus reng

Upload: daniel-cabrera

Post on 14-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 Hyd Genus Reng

    1/5

    PROGRAM HYDGEN

    prepared by

    PSRI

    May 2006

  • 7/29/2019 Hyd Genus Reng

    2/5

    PSR OPTGEN Hydrological Scenarios Generating Program 2

    INDEX

    1 OBJECTIVE.....................................................................................................................................3

    2 EXECUTION....................................................................................................................................3

    3 HYDGEN.DAT FILE DESCRIPTION.........................................................................................5

  • 7/29/2019 Hyd Genus Reng

    3/5

    PSR OPTGEN Hydrological Scenarios Generating Program 3

    1 OBJECTIVE

    This report describes the program that generates the OPTGEN inflow scenarios, that

    means, it generates the DATHISC.CSV and DATHINFXX.CSV data files using the SDDP

    inflow data files, ARQ.USI andARQ.ASC.

    The program, called HYDGEN, reads the following SDDP files:

    ARQ.USI

    ARQ.ASC

    The OPTGEN files:

    DATPARM.CSV

    DATHCNF.CSV

    And the control data file:

    HYDGEN.DAT

    And generates the following OPTGEN files:

    DATHISC.CSV

    DATHINFNN.CSV

    2 EXECUTION

    The hydro inflow scenarios generation, using the SDDP inflow data files, is performed

    from the OPTGEN interface by pressing the button New in the hydro inflowscenarios screen as shown in the following picture:

  • 7/29/2019 Hyd Genus Reng

    4/5

    PSR OPTGEN Hydrological Scenarios Generating Program 4

    The scenario generation screen is shown in the following picture:

    This screen allows selecting the SDDP inflow data file which contains the historical that

    may be compatible with the OPTGEN study data files. After defining the historical file

    directory, the following fields must be filled in:

    Number of scenarios

    Number of years of the scenario(s)

    Initial year of each inflow scenario in the historical file

    Occurrence Probability of each scenario

    In addiction, the following options are also available:

    Include MLT scenario (Mean Long Term)In this case it is calculated the inflow monthly average for all years of the longest

    complete data interval of the historical file. The obtained values are repeated for

    each one of the years of the scenarios.

    Turn the negative inflows null

  • 7/29/2019 Hyd Genus Reng

    5/5

    PSR OPTGEN Hydrological Scenarios Generating Program 5

    3 HYDGEN.DAT FILE DESCRIPTION

    This file contains the data of the inflow scenarios that will be generated by the

    program. The file format is:

    Record type 1

    Field Column Type Description

    1 1-11 A11 # SCENARIOS

    2 13-16 I4 Number of scenarios (NS)

    3 18-21 I4

    Identifier to turn the negative

    inflow null

    (0=keep negative; 1=turn null)

    Record type 2

    Field Column Type Description

    1 1-11 A11 # YEARS

    2 13-16 I4 Number of years of the scenarios

    OBS: This is an optional record. If this field is not informed then the program will

    consider as a default value the number of years of the study (DATPARM.CSV file).

    Record type 3

    This record is a header.

    Record type 4For each one of the NS inflow scenarios:

    Field Column Type Description

    1 1-4 I4 Scenario code

    2 6-17 A12 Scenario Name

    3 19-22 A4Initial year of the scenario in the historical

    file

    4 24-31 F8.0 Occurrence probability of the scenario

    OBS: In the field INITIAL YEAR OF THE SCENARIO two type of data are accepted:

    An integer number representing the initial year of the scenario in thehistorical file;

    A key-word MLT representing the option of generating a scenarioconstituted by the inflow monthly mean of each hydrosite for the longest

    complete data interval of the historical file.