Generator and Storage TrackMeter no change/crash
I've modeled a PV with battery storage two ways. First by having the PV and battery operate based on the whole facility's loads by setting the Generator Operation Scheme Type
toBaseLoad
and the Storage Operation Scheme
to FacilityDemandLeveling
in the ElectricLoadCenter:Distribution
object. Works just as expected. But if I try to operate the object by setting it to track a particular meter it doesn't operate as expected.
If I change only the Generator Operation Scheme Type
toTrackMeter
the ElectricityPurchased:Facility
and ElectricitySurplusSold:Facility
are exactly the same for every hour as BaseLoad
. I've verified the meter does not track the whole facility's electricity.
If I change the Storage Operation Scheme
to TrackMeterDemandStoreExcessOnSite
I get the below error even though I have a name in the field for the meter:
** Fatal ** ElectPowerLoadCenter::setupLoadCenterMeterIndices Did not find Meter named: in ElectricLoadCenter:Distribution named LOADCENTER
Here's how I'm specifying the objects:
ElectricLoadCenter:Distribution,
LoadCenter, !- Name
ELCGen, !- Generator List Name
TrackMeter, !- Generator Operation Scheme Type
0, !- Generator Demand Limit Scheme Purchased Electric Demand Limit {W}
, !- Generator Track Schedule Name Scheme Schedule Name
ResElecTotal, !- Generator Track Meter Scheme Meter Name
DirectCurrentWithInverterDCStorage, !- Electrical Buss Type
PVWattsInverter, !- Inverter Name
BatterySimple, !- Electrical Storage Object Name
, !- Transformer Object Name
TrackMeterDemandStoreExcessOnSite, !- Storage Operation Scheme
ResElecTotal, !- Storage Control Track Meter Name
StorageConverter, !- Storage Converter Object Name
0.95, !- Maximum Storage State of Charge Fraction
0.2, !- Minimum Storage State of Charge Fraction
, !- Design Storage Control Charge Power {W}
, !- Storage Charge Power Fraction Schedule Name
, !- Design Storage Control Discharge Power {W}
, !- Storage Discharge Power Fraction Schedule Name
210000, !- Storage Control Utility Demand Target {W}
Always On; !- Storage Control Utility Demand Target Fraction Schedule Name
Meter:CustomDecrement,
ResElecTotal, !- Name
Electricity, !- Fuel Type
Electricity:Facility, !- Source Meter Name
, !- Key Name 1
NRElecClg, !- Output Variable or Meter Name 1
, !- Key Name 1
NRElecHtg, !- Output Variable or Meter Name 1
, !- Key Name 1
NRElecFans, !- Output Variable or Meter Name 1
, !- Key Name 1
NRElecPumps, !- Output Variable or Meter Name 1
, !- Key Name 1
NRElecWH, !- Output Variable or Meter Name 1
, !- Key Name 1
NRElecLightsSpc, !- Output Variable or Meter Name 1
, !- Key Name 2
NRElecLightsCirc, !- Output Variable or Meter Name 2
, !- Key Name 1
NRElecEquipSpc, !- Output Variable or Meter Name 1
, !- Key Name 2
NRElecEquipElev; !- Output Variable or Meter Name 2
Which version of EnergyPlus are you using?
This part of the severe error makes it sound like EnergyPlus is expecting one of your blank input fields to be a meter name:
Did not find Meter named: in ElectricLoadCenter:Distribution named LOADCENTER
Can you paste the definition of the "ResElecTotal" meter too?
Version 9.0. I've added ResElecTotal. Unfortunately it's a
Meter:CustomDecrement
and I'd have to add a lot ofMeter:Custom
s to show everything. @"Aaron Boranian" it absolutely sounds like that, right?@Determinant have you tried setting
*
for the Key Name input fields instead of leaving those blank? That would provide all the cases where each custom meter is measuring energy use.Just tried it with
*
, still get same error, but thanks for the idea!