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

Revision history [back]

click to hide/show revision 1
initial version

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:Facilityand 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 object:

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

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:Facilityand 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 object: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

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:Facilityand 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