[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EnergyPlus_Support] RunEplus.bat problems





Output the filename that your calling fuction is requesting to make sure that from your side you are indeed requesting the same correct filepath. Else, i have no idea.

On 20 Jun 2016 18:41, "lmblanes@xxxxxxxxx [EnergyPlus_Support]" <EnergyPlus_Support@xxxxxxxxxxxxxxx> wrote:
 

Dear modellers

I am developing some code to run energy plus as a console applications.
My code in python calls RunEplus.bat using "os.system" python command module with two arguments: (1) idf_filename and (2) epw_filename.

I noticed that using windows I had to give RunEplus.bat filenames without extensions and I also had to use absolute path in order to get that executable running.

I am sorted now with this. However, after implementing my code, when I run the same function calling two different idf files, RunEplus.bat behaves differently. While for one idf file it runs OK, for the other one it still generates a pathname starting with "ExampleFile/whateverfile.."

If I try the same script in isolation using another folder etc, it runs perfectly.

If the code is exactly the same and generates the same command calls, why it behaves differently.
I didn't modify the RunEplus.bat file and I reinstalled E+ again.

Any idea of what can be wrong?

Best Regards
Luis
IRUSE group - NUIG




__._,_.___

Posted by: Jean Marais <jeannieboef@xxxxxxxxx>


EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The EnergyPlus web site is found at:
http://www.energyplus.net/

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the &quot;search&quot; button.




Visit Your Group
Yahoo! Groups
PrivacyUnsubscribeTerms of Use

__,_._,___