-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting value to variables using PyFMI #34
Comments
Which version of E+ are you using? Could you try the same example using the |
@lymereJ any feedback on this? Otherwise, I will close the issue. |
@tsnouidui, I have not tried your suggestion yet. I'll try this week and get back to you. |
@tsnouidui, I'm using EnergyPlus 9.0 but I've also tried using version 8.9. I got the same results when trying the same example using the |
@Denzo77, thanks for getting back to me! I actually did try using For what it's worth, here's the approach I was following using the
@tsnouidui is it expected behavior to return an array of 0s? |
@JChung-rpi - Wow, that's a blast from the past! I think that I did find a solution but I don't have that particular example anymore, I think., I've moved on to using the EnergyPlus Python API for newer projects. That being said, in a script that I still have on my machine (which is a bit more complex than the example) and also relies on PyFMI, it looks like I ended up using |
I built an FMU of the
_fmu-export-variable.idf
example file and I am using PyFMI to run the simulation. I've noticed that the value ofyShadeFMU
is always 0. I've tried to modify it using.set()
(see here) butyShadeFMU
stays at 0. I've tried doing the same using a FMU shipped with PyFMI, and there it worked. I'm concerned that there might something wrong with my FMU. I've tried on different operating system and get the same result. Am I missing something?The text was updated successfully, but these errors were encountered: