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

# Whole building electric consumption from FMU

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 close merge delete

Sort by » oldest newest most voted

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.

more

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

( 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?

( 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.

( 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?

( 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.

( 2021-07-27 12:38:07 -0600 )edit

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