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 4 years ago

stef.papathan's avatar

updated 4 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 4 years ago

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.

Preview: (hide)
link

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's avatar stef.papathan  ( 4 years ago )

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's avatar Thierry Nouidui  ( 4 years ago )

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's avatar stef.papathan  ( 4 years ago )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 4 years ago

Seen: 354 times

Last updated: Jun 26 '20