--
You received this message because you are subscribed to the Google Groups "energyplus-fmu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energyplus-fm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/energyplus-fmu/d78ef26d-e257-4eca-8732-94e3294ad4f2%40googlegroups.com.
You wrote, " I'm currently using subprocess in Python to call a batch file that calls EnergyPlusToFMU "Why can't subprocess not call EnergyPlusToFMU directly? Why do you need the intermediate step?
On Thu, May 14, 2020 at 10:15 AM 'Esther Borkowski' via energyplus-fmu <energyp...@googlegroups.com> wrote:
Hi Thierry, many thanks for getting back to me so quickly.--I'm currently running some Monte Carlo simulations. So I created an automated script in Python, which changes variables in the EnergyPlus file, creates an FMU from the EnergyPlus file, links this to the controller model in Dymola and runs the co-simulation. The script then returns the results and repeats the process until all the Monte Carlo simulations are done.I'm currently using subprocess in Python to call a batch file that calls EnergyPlusToFMU but I just wonder if there is a more straightforward way to export all the EnergyPlus files as FMUs for the co-simulation?
Am Donnerstag, 14. Mai 2020 09:03:28 UTC+2 schrieb Thierry Nouidui:I don't understand the question. EnergyplusToFMU is written in Python.What do you mean by directly creating the FMU from Python? Could you describe the workflow you anticipate and why it doesn't work with EnergyPlusToFMU?
On Thursday, May 14, 2020 at 9:57:35 AM UTC+3, Esther Borkowski wrote:Hi there,I would like to export EnergyPlus files as FMUs for co-simulation through EnergyPlusToFMU directly from Python. Is anyone aware of a workable solution?I know how to create FMUs from the command-line, and at the moment, I am using a small batch file that is calling EnergyPlusToFMU to create the FMUs. I am currently calling this batch file from Python but I think the code would be much cleaner if I would be able to create FMUs directly from Python and not through the detour with the batch file. So I was wondering if anyone out there has come across the same question and already got an answer?Many thanks and best regards,Esther
You received this message because you are subscribed to the Google Groups "energyplus-fmu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energyp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/energyplus-fmu/d78ef26d-e257-4eca-8732-94e3294ad4f2%40googlegroups.com.