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

Whole building electric consumption from FMU

asked 2019-10-04 03:11:18 -0600

Giorgio gravatar image

updated 2019-10-04 16:20:00 -0600

Hi, I'm trying to extract the signal of the electric consumption for the entire building from the FMU, I can see the voice "Baseboard Electric Power" but I don't find the Index Key Name. There is also the "Electricity:Facility" but it is a meter and I doubt is possible to set it as an output. Anyone has already faced the same problem?

Regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-04 08:20:38 -0600

All EnergyPlus Output:Variable can be exposed as Outputs of an EnergyPlus FMU. So if this variable exists as an EnergyPlus Output:Variable and you can report it when performing a regular EnergyPlus simulation (with no FMU in-the-loop), then there is no reason why you shouldn't be able to extract the value from the FMU.

edit flag offensive delete link more

Comments

I had to manually add the variable in the idf because was not present. After that yes, it is possible to extract the value.

Giorgio gravatar image Giorgio  ( 2019-10-04 08:24:34 -0600 )edit

Hi Giorgio, could you please tell me how did you figure it out? I mean, how exactly did you add the Output:Variable regarding the Energy consumption?

jdominguez94 gravatar image jdominguez94  ( 2021-06-23 08:09:10 -0600 )edit

Hi Thierry, I added the Air System Gas Energy and Facility Total HVAC Electric Demand Power in the Output:Variable. I confirmed that I could get these outputs after a regular EnergyPlus simulation (with no FMU in the loop). But I cannot extract these values using EnergyPlustoFMU tool.

solutionlx gravatar image solutionlx  ( 2021-07-26 14:04:02 -0600 )edit

Did you add in the IDF an object of type ExternalInterface: FunctionalMockupUnitExport:From:Variable, which will expose that Output:Variable at the FMU outputs' ports so you can extract them?

Thierry Nouidui gravatar image Thierry Nouidui  ( 2021-07-27 07:28:00 -0600 )edit

Yes, the variable is added through the object ExternalInterface: FunctionalMockupUnitExport:From:Variable. The error message is * Severe * ExternalInterface: Simulation model has no variable "FACILITY TOTAL HVAC ELECTRIC DEMAND POWER" with key "WHOLE BUILDING". I confirmed that the Whole Building:Facility Total HVAC Electric Demand Power W was output in the csv. file from the regular EnergyPlus simulation.

solutionlx gravatar image solutionlx  ( 2021-07-27 12:38:07 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Question Tools

1 follower

Stats

Asked: 2019-10-04 03:11:18 -0600

Seen: 124 times

Last updated: Oct 04 '19