Error: Can't write to simulation log file

96 views
Skip to first unread message

Yanfei Li

unread,
Jun 20, 2017, 10:35:00 AM6/20/17
to bcvtb
Thierry Nouidui,
    I changed the example file by connecting C programming script and the EnergyPlus(8.5.0).
    On EnergyPlus side, it can go successfully. But on SystemCommand side, it can not go. The error:

 How to fix it? I double checked the SystemCommand and did not find any valuable clues.
 I also attached my XML file for reference. 

Yanfei
pcontroller.c
SmOffPSZ.idf
variables.cfg

Thierry Nouidui

unread,
Jun 20, 2017, 11:21:10 AM6/20/17
to bc...@googlegroups.com
This might be a write permission issue. Could you select a Public folder where log file should be written? C:\Users\Public?

--
You received this message because you are subscribed to the Google Groups "bcvtb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bcvtb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--------------------------------------
Thierry Stephane Nouidui, PhD

Simulation Research Group
Lawrence Berkeley National Laboratory
1 Cyclotron Road, MS 90R3147
Berkeley, CA 94720
(510) 495-2337 voice
email: TSNo...@lbl.gov
http://simulationresearch.lbl.gov
----------------------------------------

Yanfei Li

unread,
Jun 20, 2017, 11:44:25 AM6/20/17
to bcvtb
Hey Thierry,
    Thanks. I tried and it did not work. Still the same problem. Any other clues?


On Tuesday, June 20, 2017 at 10:21:10 AM UTC-5, Thierry Nouidui wrote:
This might be a write permission issue. Could you select a Public folder where log file should be written? C:\Users\Public?
On Tue, Jun 20, 2017 at 7:35 AM, Yanfei Li <aero...@gmail.com> wrote:
Thierry Nouidui,
    I changed the example file by connecting C programming script and the EnergyPlus(8.5.0).
    On EnergyPlus side, it can go successfully. But on SystemCommand side, it can not go. The error:

 How to fix it? I double checked the SystemCommand and did not find any valuable clues.
 I also attached my XML file for reference. 

Yanfei

--
You received this message because you are subscribed to the Google Groups "bcvtb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bcvtb+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thierry Nouidui

unread,
Jun 20, 2017, 12:04:18 PM6/20/17
to bc...@googlegroups.com
Could you send a screenshot of the new error message?

Thanks!

Thierry

To unsubscribe from this group and stop receiving emails from it, send an email to bcvtb+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

cfdcoder

unread,
Jun 20, 2017, 12:10:41 PM6/20/17
to bc...@googlegroups.com
Hey Thierry,
   Thanks. 
   The screen shot is attached.  Still the same issue, after i changed to the public folder.


Yanfei

--
You received this message because you are subscribed to a topic in the Google Groups "bcvtb" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bcvtb/TYAFMnU55Vs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bcvtb+unsubscribe@googlegroups.com.
screen2.png

Julien MARREC

unread,
Jun 20, 2017, 6:00:07 PM6/20/17
to bc...@googlegroups.com
Maybe try running bcvtb as admin?!

Envoyé de mon iPhone
<screen2.png>

Thierry Nouidui

unread,
Jun 20, 2017, 6:22:21 PM6/20/17
to bc...@googlegroups.com
Could you also send your XML system model file. Maybe both tools are somehow trying to write to the same folder which causes a conflict?

Kopal Nihar

unread,
Jun 21, 2017, 8:34:08 AM6/21/17
to bcvtb
I faced a similar problem just few days ago. It cannot write to the simulation log file because the names for both EnergyPlus log file and systemCommand log files are same. You can try changing the log file for any one of Energyplus or systemCommand and it will work.

Thanks,
Kopal

cfdcoder

unread,
Jun 21, 2017, 9:57:44 AM6/21/17
to bc...@googlegroups.com
Hey Kopal Nihar,

    Thank you so much. You saved my day! After i renaming the log file, and it works. 
    The EnergyPlus and SystemCommand both write a log file called: simulation.log. If they are the same, they will overwrite each other, causing the error.

Yanfei

--

Thierry Nouidui

unread,
Jun 21, 2017, 11:10:48 AM6/21/17
to bc...@googlegroups.com
The reason is because of both actors writing the file into the same folder which leads to the name clash. 
If you select distinct working folder for each actor then that should be fine.

--
You received this message because you are subscribed to the Google Groups "bcvtb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bcvtb+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Kopal Nihar

unread,
Jun 22, 2017, 1:37:02 AM6/22/17
to bcvtb
You're welcome! Yes, we can change the working folder too as Thierry suggested.
To unsubscribe from this group and all its topics, send an email to bcvtb+un...@googlegroups.com.

doyun...@gmail.com

unread,
Nov 28, 2017, 9:15:09 PM11/28/17
to bcvtb
Hello, guys.

I am facing the similar error that simulation.log cannot be created.
But In my case, I am doing iteration calculation with using VisualModelReference like the photo below.


In visualmodelreference, I have a energyplus simulator. In visualmodelreference2, I have a matlab simulator.
When simulation of visualmodelreference is finished, the simulation of visualmodelreference2 starts. 
It would be repeated again and again, however, from the second iteration term, it cannot be executed because simulation.log cannot be created.

I can not manually change the name of simulation.log file because the iteration will be repeated automatically.
Am I missing something? or Is this the problem that cannot be solved until now?

This is the error, described in the photo below.
 



2017년 6월 22일 목요일 오후 2시 37분 2초 UTC+9, Kopal Nihar 님의 말:

Wenke Fan

unread,
Jan 7, 2018, 8:22:50 PM1/7/18
to bcvtb
Hello Thierry,
A question about the version of Energyplus. Does BCVTV support the Energyplus of version 8.8. many thanks.
Regards
Wenke Fan

Thierry Nouidui

unread,
Jan 8, 2018, 1:05:13 PM1/8/18
to bcvtb
If you transitioned the EnergyPlus examples files which come along with the BCVTB for EnergyPlus 8.8, then you should be fine. 
Note however that examples which used erl external interface variables won't work because of a recent change in EnergyPlus.

Thanks!

To unsubscribe from this group and stop receiving emails from it, send an email to bcvtb+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages