Hello I am trying to write an energyplus measure that will add more fields to the end of an already existing custom meter. The custom meters I am looking to add to have a varying number of fields, so the measure will also need to be able to insert the fields at the correct index.
The goal is to write an energyplus measure to take the following object:
Meter:Custom,
unit 1:ElectricityCooling, !- Name
Electricity, !- Fuel Type
res ac cooling coil, !- Key Name 1
Cooling Coil Electric Energy, !- Output Variable or Meter Name 1
res ac unitary system, !- Key Name 2
Unitary System Cooling Ancillary Electric Energy, !- Output Variable or Meter Name 2
and add the following fields:
res ac cooling coil, !- Key Name 3
Cooling Coil Crankcase Heater Electric Energy; !- Output Variable or Meter Name 3
So that the final object will be:
Meter:Custom,
unit 1:ElectricityCooling, !- Name
Electricity, !- Fuel Type
res ac cooling coil, !- Key Name 1
Cooling Coil Electric Energy, !- Output Variable or Meter Name 1
res ac unitary system, !- Key Name 2
Unitary System Cooling Ancillary Electric Energy, !- Output Variable or Meter Name 2
res ac cooling coil, !- Key Name 3
Cooling Coil Crankcase Heater Electric Energy; !- Output Variable or Meter Name 3
My initial thought was that "insertExtensibleGroup" might be helpful but I am unsure how to actually use this.