WASP Model
C. TECHNICAL PARAMETERS "TP" INPUT FILE (APPLICABLE TO YEARS OF INPUT DATA)
5. EXECUTION OF MODULE 2 (HOURLY ELECTRIC POWER DEMAND)
Module 2 also uses three separate input data sets during its execution:
1) Input Data Set "Sl" (Sector 1) giving information on load modulation coefficients for the aggregate sector Industry/transportation and applicable to the first year of study (the base year). Three types of load coefficients data must be included in this data set:
seasonal (weekly) coefficients; ponderation (daily) coefficients; and the information required for calculating hourly load coefficients of the sector.
Each type of coefficient expresses the level of electricity consumption in the respective week, day or hour with respect to the average consumption.
2) Input Data Set "S2" (Sector 2) which contains similar information as data set "Sl" but for the Household/
service sector.
3) Input Data Set "INPUT" containing all data needed to control the execution of the program, as well as any changes in the load coefficients for anyone sector applicable to all years after the first.
The "LOADSCEN" file created by module 1 (see Figure 4.3) is also used as an input file for the run. From this file and for each year of study, module 2 retrieves all data concerning the annual
electricity demand of sectors 1 and 2.
The program starts execution by reading general information on scenario title (from "LOADSCEN") and selected printed output option (from the "INPUT" data set). Then, for the first year of study and sector 1, it reads in sequence: the annual electricity demand (from data set "S1"), its growth rate (from "INPUT") and all data related to load coefficients (also from "Sl"). Using all this information, the program calculates first, each coefficient affecting electricity consumption of the sector in each hour, day type and respective week of the year, then the electricity demand for the average working day and finally, the electric load imposed by this sector in each hour of the year. The process is repeated for sector 2, but using the appropriate data set (e.g. "S2"). Once all sectoral hourly loads have been determined, the loads for the same hour of the year are added up to give the grand totals for the electric power generating system under study and these values are written out on the output file "LOADYEAR" for later use by module 3.
A similar procedure is followed for the remaining years of study, except that this time:
- the annual growth rate of the electricity demand of each sector is read from the "LOADSCEN" file.
- if any changes of the load coefficients for any sector are to be considered, they must be given in data set "INPUT"
using the appropriate options and suboptions for reading these coefficients.
2
-5.1 Contrcl Cards
The second group of cards i; Figure 3.4 are the job control cards for executing module 2 for our sample problem. In appearence they are very similar tc the ones needed for module i, except that the progranm name (PGM= in the first card) and data sets numbers (in the 3rd tc 5th cards) are defferent. In addition, only one printing file (FT06; is used by this module. Finally, the file created in the run is numbered FT13 and named CASENA.LOADYEAR. "CASENA" is the label assigned to the particular hourly electric power demand
file (LOADYEAR) created for this sample problem. We will label all files created by the various modules "CASENA"; however, this is a matter of convenience in identifying a study, not a necessity.
A run of module 2 using a file name that has been used before will replace the old information filed under this name with the new informat ion (i.e. the old information is lost).
5.2 Data cards
Table 5.1 describes the data card types used in module 2 along with the FORTRAN names and units of each piece of information given as input ct this module. The first section of this table (5.1.A) shows the input variables which are contained in the LOADSCEN file, and the cther sections those varia.bles included in the input data sets "S1" and "S2" (Table 5.1.B) a.d "INPUT" (Table 5.l.C).
The "LCADSCEN" file is created by module i (see Section 4.5) sc that no comments are needed as to Table 5.1.A, which is included here for completeness of the list cf input variables. The following paragraphs describe the proper sequence for the cards to be given in each of the input data sets used by module 2.
The input data to be included in each data set are arranged in the following sequence (note that the format used by the program for reading the input variables is alsc stated in each case):
Data Sets "S1" and "S2": (Table 5.1.B)
- First cards: Four cards to give seasonal coefficients --- for the sector. One coefficient for each
week of the year, organized in 13 values by card with a total of 52 values.
(format 3x,13(F4.3,1x))
- Following cards: Eight groups of cards giving the load --- ponderaticn coefficients of the sector for
each type of day considered by the program.
For each type of day, one coefficient must be specified for each week of the year, organized in 13 values by card with a total of 52 values. (format: 5x,i3(F4.3,1x))
- 83
-- Next cards:
- Last cards:
Data Set "INPUT":
________________
8 groups of cards to specify the hourly load distribution in summer for each client type (up to 5) identified in the sector;
each group arranged as follows: The first card gives the share of each client type in the total electricity demand of the sector
(format 7x,5(I3,1x)) and is followed, in the same order, by the hourly coefficients of each client type for which the respective
share in the first card is not zero (0).
One coefficient must be given for each hour of the day (1-24) organized in two cards
(12 values by card, format 5x,12(F4.3,1x)) 8 groups of cards giving the hourly load distribution in winter for each client type
(organized in a similar fashion and using identical formats as the preceeding cards for the summer).
(Table 5.1.C)
a) For the first year:
_______ __________
- First card:
- Following cards:
- Next cards:
__________
One card indicating the output option selected for the run (format 20x,I4).
Two cards with general information for the year, specifying in the first one the year (format: 20x,I4) and in the second, the number of the first day of the year and the dates of beginning and end of the summer and the special holiday periods (format for this card:
9x,Il,llx,I4,9x,I4,11x,I4,9x,I4).
One group of cards for sector 1 and one group for sector 2 in the same order;
each group is composed by five cards as follows: The 1st card identifies the sector (it can be replaced by a blank card, since this information is skipped by the program); the 2nd card gives the annual growth rate of the electricity demand (format 26x,F10.3); the 3rd one specifies the options for reading load coefficients for the sector and finally the 4th and 5th, suboptions for reading information concerning the client types identified in this sector. All options and suboptions (format: 10x,10I4) must have a value unequal 0 in this year.
- 84
-b) For the remaining years of study:
- First card:
- Next cards:
_ -_---__ - -_
Two cards with general data for the year:
year, number of first day, and dates for beginning and end of the summer and special holiday periods.
One group of cards for Sector 1 and another for Sector 2. Each group is arranged as follows: The first card identifies the sector (or is left blank). The second card specifies in four columns the options for reading load coefficients information;
a value not equal 0 in any column of this card indicates that some coefficients are to be read next from the respective cards which follow: A non-zero value in the first column requires that 4 cards follow to specify new values for the seasonal coefficients, and in second column that 32 cards follow to give new values for the daily ponderation coefficients. A non-zero value in columns 3 or 4 indicates that new
information related to the client types in summer (col. 3) or winter (col. 4) follows, and the type of change to be read is
controlled by the suboptions given in the next card. The first column of the latter
corresponds to changes in the share of the clients in the total demand of the sector and the second column to actual new values for
the hourly load distribution of the clients.
All new coefficients use the same format as the respective ones already explained for data sets "S1" and "S2".
5.3 Input Data Sets
Figure 5.1 shows also separately the listing of the data sets used in the run of Module 2 for CASENA: XBIM.MAED.PROG(M2INPS1), (M2INPS2) and (M2INPU5). Again, each card has been identified with a number (appearing to the left of the page) for the convenience of the description which follows. Also, some cards contain headers used for quick identification of the respective data, but these are simply skipped by the reading formats of the program (i.e., they can be replaced by blank cards). Consequently, it is very important that the user's input data appear in the correct position (field) leaving also the appropriate empty/headers lines in each case.
Concerning the fields in which actual data are to be entered, these were already indicated in section 5.2.
The following paragraphs describe the data sets shown in Figure 5.1, with special emphasis on those cards containing actual piece of input information (i.e., headers or equivalent blank lines are in general disregarded).
- 85
-Table 5.1 (Page 1) List and Definition of Input Variables of Module 2
LIST AND DEFINITION OF THE INPUT VARIABLES TO MAED-1 MODULE 2: HOURLY ELECTRICITY DEMAND
(See Appendix C for details about the effect of each variable)