12.07.2015 Views

DOE-2 Reference Manual Version 2.1 - DOE2.com

DOE-2 Reference Manual Version 2.1 - DOE2.com

DOE-2 Reference Manual Version 2.1 - DOE2.com

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

14. COMPUTEThe COMPUTE instruction directs the program to execute a particularsimulation program, the data for which have been previously entered followingan INPUT instruction for the same program.The instruction takes the formCOMPUTE Program-Name ••where Program-Name is a code-word indicating which simulation program is to beexecuted using previous input data.Rules: 1. The code-word must be one of the following: LOADS, SYSTEMS,PLANT, ECONOMICS.15. SAVE-FILES2. If no COMPUTE instruction is entered, only error checking of inputdata will occur--no simulation will take place.3. All input data are processed before any simulation occurs. Thus,~a fatal error is detected in the PLANT instructions, the LOADSand SYSTEMS programs are not executed.4. A COMPUTE instruction for the immediately "upstream" program musthave been previously entered. (A COMPUTE SYSTEMS .. must bepreceded by a COMPUTE LOADS •• , etc.) (See Typical Run InstructionSequences section). If one is saving files from a previousrun, this may not be true; see SAVE-FILES.5. A COMPUTE instruction is always associated with the last INPUT orPARAMETRIC-INPUT instruction for the same program.6. The hourly input data used by a program, specified in a COMPUTEinstruction, is always the hourly output data generated by thelast COMPUTE instrucbon for the immediately "upstream" program.(A COMPUTE PLANT .. instruction causes the PLANT program to usehourly data generated by the last COMPUTE SYSTEMS •. instruction.)7. A COMPUTE instruction may not occur between an INPUT instructionand an END instruction.The SAVE-FILES instruction is used when the simulation programsequence is to be continued in a subsequent job.The instruction takes the form of simplySAVE-FILESThe SAVE-FILES instruction may be used only as a control instruction,that is, it must not occur between an INPUT instruction and an END instruction.II.34 (Revised 5/81)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!