Issue while executing DOE-2 in Command line!

asked Aug 13

Rajeev's avatar

updated Aug 14

I am trying to execute DOE-2 in command line based on different weather files. Means, simulate every combination of BIN and INP files located in the same directory in quick order, and will retain/name the associated SIM with unique naming for clarity.

So far, I have created folder in root directory, set up doe22 having .BAT file and all files like- BDLLIB.DAT, bdldft.dat, DOEBDL.EXE, DOESIM.EXE , HDRFIL.BIN and TDVCTZ.BIN. The version of doe22 is EXE48z. In C folder i have doe22 folder and projectDirectory have - weatherbatch.py and testing files folder(inp and bin files)

C:\

└───doe22\
       DOE22.BAT
       EXE48r.EXE (or the appropriate DOE2 executable)
    
    └───weather\
           (weather files will be copied here during execution)
        
└───YourProjectDirectory\
       weatherbatch.py  (your provided script)
    
    └───testing files\
           input1.inp
           input2.inp
           ...
           weather1.bin
           weather2.bin
           ...

The issue that currently I am facing is- there is no STDFIL.TMP file.

Preview: (hide)

Comments

You didn't tell us how you're calling DOE2 exactly. (what is weatherbatch.py doing)

Julien Marrec's avatar Julien Marrec  ( Aug 14 )

@Julien Marrec Actually, I am taking DOE22.BAT path which is located in C drive. INP and .BIN (Weather file path). Above you can see folder structure. Also weatherbatch.py code is here to generate INP to SIM.

weatherbatch.py code 👉 (https://unmethours.com/question/21471...)

AIM:I want to convert to INP to SIM files based on different weather files. @Julien Marrec Please share you answers in my mail: rajeev@edsglobal.com.

Rajeev's avatar Rajeev  ( Aug 14 )