Skip to content
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

Custom:meter cannot be loaded in $output() #34

Open
fabienrouault opened this issue Nov 3, 2022 · 1 comment
Open

Custom:meter cannot be loaded in $output() #34

fabienrouault opened this issue Nov 3, 2022 · 1 comment
Assignees
Labels

Comments

@fabienrouault
Copy link

Hello @hongyuanjia,

Before any comments, I want to thank you and your collaborators for your great job with the packages eplusr and epluspar. These tools are very useful.

I am trying to carry out a Bayesian calibration with epluspar. However, I am facing a problem with adding the following custom meter in $output() :

Meter:Custom,
CustomLights, !- Name
Electricity, !- Resource Type
Depto201_8376d7ca, !- Key Name 1
Zone Lights Electricity Energy, !- Output Variable or Meter Name 1
Depto202_065db6d5, !- Key Name 2
Zone Lights Electricity Energy, !- Output Variable or Meter Name 2
Depto203_ee2eff98, !- Key Name 3
Zone Lights Electricity Energy, !- Output Variable or Meter Name 3
Depto204_b3ba733f, !- Key Name 4
Zone Lights Electricity Energy, !- Output Variable or Meter Name 4
Depto205_ca4768b6, !- Key Name 5
Zone Lights Electricity Energy, !- Output Variable or Meter Name 5
Depto206_2149faff, !- Key Name 6
Zone Lights Electricity Energy; !- Output Variable or Meter Name 6

When I run a simulation with the seed .idf file the custom meter is present in the mdd file :

══ EnergyPlus Meter Data Dictionary File ════════════════════════════════════════════════════════════════════════════════════════════════════════

  • EnergyPlus version: NA
  • Simulation started: 2022-11-03 16:09:00

── Details ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
index reported_time_step report_type variable units
1: 623 Zone Meter CUSTOMLIGHTS

However, when I try to add it with $output() I have the following error :

Error: Invaid variable name found in input 'key_value': 'CUSTOMLIGHTS'.

The custom does not appear in the data frame mdd <- bc$read_mdd().

Custom meters is very useful to calibrate the model using measured data from submetering data.

Best regards

Fabien

@hongyuanjia
Copy link
Owner

Good to know those packages help! This is a reasonable feature request. I will work on it this week.

@hongyuanjia hongyuanjia self-assigned this Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants