Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

FMU schedule example file

asked 2020-06-25 10:55:27 -0500

stef.papathan gravatar image

updated 2020-06-25 11:38:25 -0500

Have been playing around with EnergyPlusToFMU and have managed to get the example file (yShade) to work. The reason for looking into this workflow in the first place, is because I want to be able to change the occupancy's schedule real-time, by feeding it the output from another source. As there is a steep learning curve in this, I would appreciate if someone has already looked into this or is able to point me to the right direction of examples files/tutorial.

I've had a look here link text, but I was wondering if someone has an example IDF file willing to share, so I can understand the naming conventions and how things interact when trying to do this for schedules.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-06-26 03:44:51 -0500

I suggest to look at the Schedule example file that comes along with EnergyPlusToFMU to see an example file that uses a Schedule object.

I also suggest to look at Section 7.1 of the user guide of EnergyplusToFMU that discusses how to set-up such object.

Last but not least, take a look at the section discussing Functional Mock-up Unit (FMU) Export in the InputOutput Reference of EnergyPlus for detailed naming conventions.

edit flag offensive delete link more

Comments

Thanks for pointing me to the direction of the above. Probably should have mentioned it in my initial post, but I am planning to use FMU via PyFMI, so I can change the schedule in Python. Is there an example file compiled in Python that indicates how the code needs to be structured for an example that uses the schedule object?

stef.papathan gravatar imagestef.papathan ( 2020-06-29 04:56:54 -0500 )edit

From the master algorithm point of view, EnergyPlusFMU will not be different from any other FMU. So if you know how to set the inputs of FMU, ask an FMU to perform a step simulation, and get the outputs, then you will be able to apply the same to EnergyPlusFMU. EnergyPlusFMU will expose the Schedule as an input that can be set by the master. I hence suggest to check how PyFMI works and how it is used as a master to drive FMUs.

Thierry Nouidui gravatar imageThierry Nouidui ( 2020-06-29 05:50:33 -0500 )edit

Thanks again, I managed to work out how the FunctionalMockupUnitExport:To:Schedule works and modify it via PyFMI. I've set my timestep to be per minute increments, but it seems that the schedule picks up hourly increments from the schedule I've created within Python even though it's been generated for minute increments. Is this some sort of limitation? I know that you can import minute schedules from the Schedule:File and set it to interpolate to the timestep. Can you do minute schedules though via FMU?

stef.papathan gravatar imagestef.papathan ( 2020-06-29 10:33:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2020-06-25 10:55:27 -0500

Seen: 60 times

Last updated: Jun 26