Hello,
I’m by no means an expert BCVTB user so maybe someone else has more relevant experience but here are some thoughts to get you started.
I have never used python as part of BCVTB but in theory it should be similar to connecting to a MATLAB function. If you follow the MATLAB simulator actor documentation but instead create a python function and point the simulator actor to your python.exe that could be a good starting point. Then you add in the EnergyPlus component as has been done many times before and is well documented.
Alternatively, you could explore creating an EnergyPlus FMU and interacting with that through PyFMI right from your python script. That’s not a BCVTB solution but could actually be better for your needs.
Best,
Zach
On May 8, 2020, at 10:53 AM, yale liu <yapan...@gmail.com> wrote:
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/bcvtb/af48170d-3308-41f4-81a0-b9265a29d72c%40googlegroups.com.
Hello,
I’m by no means an expert BCVTB user so maybe someone else has more relevant experience but here are some thoughts to get you started.
I have never used python as part of BCVTB but in theory it should be similar to connecting to a MATLAB function. If you follow the MATLAB simulator actor documentation but instead create a python function and point the simulator actor to your python.exe that could be a good starting point. Then you add in the EnergyPlus component as has been done many times before and is well documented.
Alternatively, you could explore creating an EnergyPlus FMU and interacting with that through PyFMI right from your python script. That’s not a BCVTB solution but could actually be better for your needs.
Best,
Zach
On May 8, 2020, at 10:53 AM, yale liu <yapan...@gmail.com> wrote:
Dear all,--Recently I'm working on a project which requires me to interact with energyplus model (version 9.2.0) from python. I want to read from and write to energyplus at each timestep.I'm wondering if you have any comments or suggestions to couple python, bcvtb and energyplus together?Thank you so much for your time.
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 bc...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bcvtb+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bcvtb/b3cf4833-5d1b-4743-b00c-941848163d80n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bcvtb/ae83c4d6-853b-490b-bf69-3e8534e6f742n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bcvtb/CACXXVchWK6onoVs497fnsuStqM0YOdqUUEefMSohEgSf2K5rNw%40mail.gmail.com.