Issue while executing DOE-2 in Command line!

asked 2024-08-13 01:02:28 -0600

Rajeev's avatar

updated 2024-08-14 03:27:38 -0600

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.

edit retag flag offensive close merge delete

Comments

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

Julien Marrec's avatar Julien Marrec  ( 2024-08-14 03:28:54 -0600 )edit

@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  ( 2024-08-14 03:42:29 -0600 )edit