Skip to content

Class: Waterheater

Copyright (C) 2008 Battelle Memorial Institute

@file waterheater.cpp

@addtogroup waterheater Electric waterheater

@ingroup residential

The residential electric waterheater uses a hybrid thermal model that is capable

of tracking either a single-mass of water, or a dual-mass with a varying thermocline.

The driving dynamic parameters of the waterheater are

- demand: the current consumption of water in gallons/minute; the higher

the demand, the more quickly the thermocline drops.

- voltage: the line voltage for the coil; the lower the voltage, the

more slowly the thermocline rises.

- inlet water temperature: the inlet water temperature; the lower the inlet

water temperature, the more heat is needed to raise it to the set point

- indoor air temperature: the higher the indoor temperature, the less heat

loss through the jacket.

@{

__

Inherits from: residential_enduse

__

Type: Instance (network topology element)

__

Note: Inherits from residential_enduse (not in residential module)

URI: glm:Waterheater

 classDiagram
    class Waterheater
    click Waterheater href "../Waterheater/"
      ResidentialEnduse <|-- Waterheater
        click ResidentialEnduse href "../ResidentialEnduse/"

      Waterheater : actual_load

      Waterheater : actual_power





        Waterheater --> "0..1" Complex : actual_power
        click Complex href "../Complex/"



      Waterheater : actual_voltage

      Waterheater : breaker_amps

      Waterheater : circular_flow_rate

      Waterheater : configuration

      Waterheater : constant_admittance





        Waterheater --> "0..1" Complex : constant_admittance
        click Complex href "../Complex/"



      Waterheater : constant_current





        Waterheater --> "0..1" Complex : constant_current
        click Complex href "../Complex/"



      Waterheater : constant_power





        Waterheater --> "0..1" Complex : constant_power
        click Complex href "../Complex/"



      Waterheater : COP

      Waterheater : cumulative_heatgain

      Waterheater : current_fraction

      Waterheater : current_tank_status

      Waterheater : demand





        Waterheater --> "0..1" Complex : demand
        click Complex href "../Complex/"



      Waterheater : discrete_step_size

      Waterheater : dr_signal

      Waterheater : energy





        Waterheater --> "0..1" Complex : energy
        click Complex href "../Complex/"



      Waterheater : flags

      Waterheater : fortran_sim_time

      Waterheater : gas_fan_power

      Waterheater : gas_standby_power

      Waterheater : groupid

      Waterheater : heat_mode





        Waterheater --> "0..1" HeatMode : heat_mode
        click HeatMode href "../HeatMode/"



      Waterheater : heat_needed

      Waterheater : heat_pump_coefficient_of_performance

      Waterheater : heatgain

      Waterheater : heatgain_fraction

      Waterheater : heating_element_capacity

      Waterheater : heating_element_on

      Waterheater : heatpump_predicted_energy

      Waterheater : height

      Waterheater : impedance_fraction

      Waterheater : in_svc

      Waterheater : init_tank_temp

      Waterheater : inlet_water_temperature

      Waterheater : is_waterheater_on

      Waterheater : latitude

      Waterheater : load_state

      Waterheater : location





        Waterheater --> "0..1" Location : location
        click Location href "../Location/"



      Waterheater : longitude

      Waterheater : lower_heating_element_state

      Waterheater : lower_tank_deadband

      Waterheater : lower_tank_setpoint

      Waterheater : lower_tank_temperature

      Waterheater : name

      Waterheater : nominal_voltage

      Waterheater : operating_mode

      Waterheater : out_svc

      Waterheater : override

      Waterheater : parent

      Waterheater : peak_demand





        Waterheater --> "0..1" Complex : peak_demand
        click Complex href "../Complex/"



      Waterheater : power





        Waterheater --> "0..1" Complex : power
        click Complex href "../Complex/"



      Waterheater : power_factor

      Waterheater : power_fraction

      Waterheater : power_state

      Waterheater : previous_load

      Waterheater : rank

      Waterheater : re_override

      Waterheater : shape

      Waterheater : T_mixing_valve

      Waterheater : tank_diameter

      Waterheater : tank_height

      Waterheater : tank_setpoint

      Waterheater : tank_UA

      Waterheater : tank_volume

      Waterheater : Tcontrol

      Waterheater : temperature

      Waterheater : thermostat_deadband

      Waterheater : time_to_transition

      Waterheater : Tlower

      Waterheater : turn_fan_on

      Waterheater : upper_heating_element_state

      Waterheater : upper_tank_deadband

      Waterheater : upper_tank_setpoint

      Waterheater : upper_tank_temperature

      Waterheater : voltage_factor

      Waterheater : water_demand

      Waterheater : water_demand_old

      Waterheater : waterheater_model

      Waterheater : waterheater_power

Inheritance

Slots

Name Cardinality and Range Description Inheritance
tank_volume 0..1
Float
the volume of water in the tank when it is full direct
tank_UA 0..1
Float
the UA of the tank (surface area divided by R-value) direct
tank_diameter 0..1
Float
the diameter of the water heater tank direct
tank_height 0..1
Float
the height of the water heater tank direct
water_demand 0..1
Float
the hot water draw from the water heater direct
heating_element_capacity 0..1
Float
the power of the heating element direct
inlet_water_temperature 0..1
Float
the inlet temperature of the water tank direct
waterheater_model 0..1
String
the water heater model to use direct
heat_mode 0..1
HeatMode
the energy source for heating the water heater direct
location 0..1
Location
whether the water heater is inside or outside direct
heatpump_predicted_energy 0..1
Float
Amount of energy heat pump predicts to need to reach setpoint - energy increa... direct
tank_setpoint 0..1
Float
the temperature around which the water heater will heat its contents direct
thermostat_deadband 0..1
Float
the degree to heat the water tank, when needed direct
temperature 0..1
Float
the outlet temperature of the water tank direct
height 0..1
Float
the height of the hot water column within the water tank direct
demand 0..1
Complex
the water heater power consumption direct
actual_load 0..1
Float
the actual load based on the current voltage across the coils direct
previous_load 0..1
Float
the previous load based on voltage across the coils at the last sync operatio... direct
actual_power 0..1
Complex
the actual power based on the current voltage across the coils direct
time_to_transition 0..1
Float
CHECKPOINT_VAR: internal variable for time to transition direct
Tlower 0..1
Float
CHECKPOINT_VAR: internal variable for Tlower direct
heating_element_on 0..1
Boolean
CHECKPOINT_VAR: internal variable for heating element on direct
turn_fan_on 0..1
Boolean
CHECKPOINT_VAR: internal variable for turn fan on direct
heat_needed 0..1
Boolean
CHECKPOINT_VAR: internal variable for heat needed direct
water_demand_old 0..1
Float
CHECKPOINT_VAR: internal variable for previous water demand direct
init_tank_temp 0..1
Float
CHECKPOINT_VAR: internal variable for initial tank temperature direct
is_waterheater_on 0..1
Float
simple logic output to determine state of waterheater (1-on, 0-off) direct
gas_fan_power 0..1
Float
load of a running gas waterheater direct
gas_standby_power 0..1
Float
load of a gas waterheater in standby direct
heat_pump_coefficient_of_performance 0..1
Float
current COP of the water heater pump - currently calculated internally and no... direct
Tcontrol 0..1
Float
in heat pump operation, defines the blended temperature used for turning on a... direct
current_tank_status 0..1
String
direct
dr_signal 0..1
Float
the on/off signal to send to the fortran waterheater model direct
COP 0..1
Float
the cop of the fortran heat pump water heater model direct
operating_mode 0..1
Float
the operating mode the fortran water heater should be using direct
fortran_sim_time 0..1
Float
the amount of time the fortran model should simulate direct
waterheater_power 0..1
Float
the current power draw from the fortran water heater direct
load_state 0..1
String
direct
actual_voltage 0..1
Float
direct
nominal_voltage 0..1
Float
direct
re_override 0..1
String
the override setting for the water heater direct
lower_tank_setpoint 0..1
Float
MULTILAYER_MODEL: The setpoint for the lower heating element thermostat in th... direct
upper_tank_setpoint 0..1
Float
MULTILAYER_MODEL: The setpoint for the upper heating element thermostat in th... direct
lower_tank_deadband 0..1
Float
MULTILAYER_MODEL: The deadband for the lower heating element thermostat in th... direct
upper_tank_deadband 0..1
Float
MULTILAYER_MODEL: The deadband for the upper heating element thermostat in th... direct
lower_tank_temperature 0..1
Float
MULTILAYER_MODEL: The water temperature at the lower heating element thermost... direct
upper_tank_temperature 0..1
Float
MULTILAYER_MODEL: The water temperature for the upper heating element thermos... direct
discrete_step_size 0..1
Float
MULTILAYER MODEL: The step size in seconds to use in the discrete tank temper... direct
circular_flow_rate 0..1
Float
MULTILAYER MODEL: Heuristic flow activated once the heating elements turn on direct
T_mixing_valve 0..1
Float
MULTILAYER MODEL: Reference temperature to which mixing valve operate direct
lower_heating_element_state 0..1
String
MULTILAYER MODEL: The state of the lower heating element in the tank direct
upper_heating_element_state 0..1
String
MULTILAYER MODEL: The state of the upper heating element in the tank direct
shape 0..1
String
the loadshape driving the enduse ResidentialEnduse
override 0..1
String
override the load state: NORMAL, ON or OFF ResidentialEnduse
power_state 0..1
String
the power state: OFF, ON or UNKNOWN ResidentialEnduse
energy 0..1
Complex
the total energy consumed since the last meter reading ResidentialEnduse
power 0..1
Complex
the total power consumption of the load ResidentialEnduse
peak_demand 0..1
Complex
the peak power consumption since the last meter reading ResidentialEnduse
heatgain 0..1
Float
the heat transferred from the enduse to the parent ResidentialEnduse
cumulative_heatgain 0..1
Float
the cumulative heatgain from the enduse to the parent ResidentialEnduse
heatgain_fraction 0..1
Float
the fraction of the heat that goes to the parent (pu) ResidentialEnduse
current_fraction 0..1
Float
the fraction of total power that is constant current (pu) ResidentialEnduse
impedance_fraction 0..1
Float
the fraction of total power that is constant impedance (pu) ResidentialEnduse
power_fraction 0..1
Float
the fraction of the total power that is constant power (pu) ResidentialEnduse
power_factor 0..1
Float
the power factor of the load ResidentialEnduse
constant_power 0..1
Complex
the constant power portion of the total load ResidentialEnduse
constant_current 0..1
Complex
the constant current portion of the total load ResidentialEnduse
constant_admittance 0..1
Complex
the constant admittance portion of the total load ResidentialEnduse
voltage_factor 0..1
Float
the voltage change factor (pu) ResidentialEnduse
breaker_amps 0..1
Float
the rated breaker amperage ResidentialEnduse
configuration 0..1
String
the load configuration options: IS110, IS220 ResidentialEnduse
name 1
String
The object's name; unique across the model GlmObject
parent 0..1
String
The parent object's name GlmObject
groupid 0..1
String
Free-text group label GlmObject
latitude 0..1
String
Latitude, as written (decimal degrees or GridLAB-D's 37N26:12 form) GlmObject
longitude 0..1
String
Longitude, as written GlmObject
in_svc 0..1
String
Timestamp the object enters service GlmObject
out_svc 0..1
String
Timestamp the object leaves service GlmObject
rank 0..1
String
Solver rank GlmObject
flags 0..1
String
Core object flags GlmObject

Comments

  • CIMHub does not convert this class. The importer reads no property of it and lists it, with its count, on the master's not-mapped comment; the exporter writes none.

Identifier and Mapping Information

Schema Source

  • from schema: https://gridlabd.org/schema/glm

Mappings

Mapping Type Mapped Value
self glm:Waterheater
native glm:Waterheater

LinkML Source

Direct

name: waterheater
description: 'Copyright (C) 2008 Battelle Memorial Institute

  @file waterheater.cpp

  @addtogroup waterheater Electric waterheater

  @ingroup residential

  The residential electric waterheater uses a hybrid thermal model that is capable

  of tracking either a single-mass of water, or a dual-mass with a varying thermocline.

  The driving dynamic parameters of the waterheater are

  - <b>demand</b>: the current consumption of water in gallons/minute; the higher

  the demand, the more quickly the thermocline drops.

  - <b>voltage</b>: the line voltage for the coil; the lower the voltage, the

  more slowly the thermocline rises.

  - <b>inlet water temperature</b>: the inlet water temperature; the lower the inlet

  water temperature, the more heat is needed to raise it to the set point

  - <b>indoor air temperature</b>: the higher the indoor temperature, the less heat

  loss through the jacket.

  @{


  Inherits from: residential_enduse


  Type: Instance (network topology element)


  Note: Inherits from residential_enduse (not in residential module)'
comments:
- CIMHub does not convert this class. The importer reads no property of it and lists
  it, with its count, on the master's not-mapped comment; the exporter writes none.
from_schema: https://gridlabd.org/schema/glm
is_a: residential_enduse
attributes:
  tank_volume:
    name: tank_volume
    annotations:
      order:
        tag: order
        value: 1
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_volume[gal]
    description: the volume of water in the tank when it is full
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: gal
  tank_UA:
    name: tank_UA
    annotations:
      order:
        tag: order
        value: 2
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_UA[Btu*h/degF]
    description: the UA of the tank (surface area divided by R-value)
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: Btu*h/degF
  tank_diameter:
    name: tank_diameter
    annotations:
      order:
        tag: order
        value: 3
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_diameter[ft]
    description: the diameter of the water heater tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: ft
  tank_height:
    name: tank_height
    annotations:
      order:
        tag: order
        value: 4
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_height[ft]
    description: the height of the water heater tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: ft
  water_demand:
    name: water_demand
    annotations:
      order:
        tag: order
        value: 5
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: water_demand[gpm]
    description: the hot water draw from the water heater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: gpm
  heating_element_capacity:
    name: heating_element_capacity
    annotations:
      order:
        tag: order
        value: 6
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: heating_element_capacity[kW]
    description: the power of the heating element
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  inlet_water_temperature:
    name: inlet_water_temperature
    annotations:
      order:
        tag: order
        value: 7
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: inlet_water_temperature[degF]
    description: the inlet temperature of the water tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  waterheater_model:
    name: waterheater_model
    annotations:
      order:
        tag: order
        value: 8
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: waterheater_model
    description: the water heater model to use
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: string
    required: false
  heat_mode:
    name: heat_mode
    annotations:
      order:
        tag: order
        value: 9
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: heat_mode
    description: the energy source for heating the water heater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - house_a
    - range
    - waterheater
    range: HeatMode
    required: false
  location:
    name: location
    annotations:
      order:
        tag: order
        value: 10
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: location
    description: whether the water heater is inside or outside
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: Location
    required: false
  heatpump_predicted_energy:
    name: heatpump_predicted_energy
    annotations:
      order:
        tag: order
        value: 11
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: heatpump_predicted_energy[Wh]
    description: Amount of energy heat pump predicts to need to reach setpoint - energy
      increases as water temperature decreases
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: Wh
  tank_setpoint:
    name: tank_setpoint
    annotations:
      order:
        tag: order
        value: 12
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_setpoint[degF]
    description: the temperature around which the water heater will heat its contents
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  thermostat_deadband:
    name: thermostat_deadband
    annotations:
      order:
        tag: order
        value: 13
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: thermostat_deadband[degF]
    description: the degree to heat the water tank, when needed
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - house
    - house_a
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  temperature:
    name: temperature
    annotations:
      order:
        tag: order
        value: 14
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: temperature[degF]
    description: the outlet temperature of the water tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - ZIPload
    - freezer
    - range
    - refrigerator
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  height:
    name: height
    annotations:
      order:
        tag: order
        value: 15
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: height[ft]
    description: the height of the hot water column within the water tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: ft
  demand:
    name: demand
    annotations:
      order:
        tag: order
        value: 16
      value_type:
        tag: value_type
        value: complex
      native_name:
        tag: native_name
        value: demand[kVA]
    description: the water heater power consumption
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - clotheswasher
    - lights
    - plugload
    - waterheater
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  actual_load:
    name: actual_load
    annotations:
      order:
        tag: order
        value: 17
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: actual_load[kW]
    description: the actual load based on the current voltage across the coils
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  previous_load:
    name: previous_load
    annotations:
      order:
        tag: order
        value: 18
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: previous_load[kW]
    description: the previous load based on voltage across the coils at the last sync
      operation
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  actual_power:
    name: actual_power
    annotations:
      order:
        tag: order
        value: 19
      value_type:
        tag: value_type
        value: complex
      native_name:
        tag: native_name
        value: actual_power[kVA]
    description: the actual power based on the current voltage across the coils
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - ZIPload
    - lights
    - plugload
    - range
    - waterheater
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  time_to_transition:
    name: time_to_transition
    annotations:
      order:
        tag: order
        value: 20
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: time_to_transition
    description: 'CHECKPOINT_VAR: internal variable for time to transition'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
  Tlower:
    name: Tlower
    annotations:
      order:
        tag: order
        value: 21
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: Tlower
    description: 'CHECKPOINT_VAR: internal variable for Tlower'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
  heating_element_on:
    name: heating_element_on
    annotations:
      order:
        tag: order
        value: 22
      value_type:
        tag: value_type
        value: bool
      native_name:
        tag: native_name
        value: heating_element_on
    description: 'CHECKPOINT_VAR: internal variable for heating element on'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: boolean
    required: false
  turn_fan_on:
    name: turn_fan_on
    annotations:
      order:
        tag: order
        value: 23
      value_type:
        tag: value_type
        value: bool
      native_name:
        tag: native_name
        value: turn_fan_on
    description: 'CHECKPOINT_VAR: internal variable for turn fan on'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: boolean
    required: false
  heat_needed:
    name: heat_needed
    annotations:
      order:
        tag: order
        value: 24
      value_type:
        tag: value_type
        value: bool
      native_name:
        tag: native_name
        value: heat_needed
    description: 'CHECKPOINT_VAR: internal variable for heat needed'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - range
    - waterheater
    range: boolean
    required: false
  water_demand_old:
    name: water_demand_old
    annotations:
      order:
        tag: order
        value: 25
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: water_demand_old
    description: 'CHECKPOINT_VAR: internal variable for previous water demand'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
  init_tank_temp:
    name: init_tank_temp
    annotations:
      order:
        tag: order
        value: 26
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: init_tank_temp
    description: 'CHECKPOINT_VAR: internal variable for initial tank temperature'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
  is_waterheater_on:
    name: is_waterheater_on
    annotations:
      order:
        tag: order
        value: 27
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: is_waterheater_on
    description: simple logic output to determine state of waterheater (1-on, 0-off)
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
  gas_fan_power:
    name: gas_fan_power
    annotations:
      order:
        tag: order
        value: 28
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: gas_fan_power[kW]
    description: load of a running gas waterheater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  gas_standby_power:
    name: gas_standby_power
    annotations:
      order:
        tag: order
        value: 29
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: gas_standby_power[kW]
    description: load of a gas waterheater in standby
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  heat_pump_coefficient_of_performance:
    name: heat_pump_coefficient_of_performance
    annotations:
      order:
        tag: order
        value: 30
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: heat_pump_coefficient_of_performance[Btu/kWh]
    description: current COP of the water heater pump - currently calculated internally
      and not an input
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: Btu/kWh
  Tcontrol:
    name: Tcontrol
    annotations:
      order:
        tag: order
        value: 31
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: Tcontrol[degF]
    description: in heat pump operation, defines the blended temperature used for
      turning on and off HP - currently calculated internally and not an input
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  current_tank_status:
    name: current_tank_status
    annotations:
      order:
        tag: order
        value: 32
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: current_tank_status
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: string
    required: false
  dr_signal:
    name: dr_signal
    annotations:
      order:
        tag: order
        value: 33
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: dr_signal
    description: the on/off signal to send to the fortran waterheater model
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
  COP:
    name: COP
    annotations:
      order:
        tag: order
        value: 34
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: COP
    description: the cop of the fortran heat pump water heater model.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
  operating_mode:
    name: operating_mode
    annotations:
      order:
        tag: order
        value: 35
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: operating_mode
    description: the operating mode the fortran water heater should be using.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - switch
    - waterheater
    range: float
    required: false
  fortran_sim_time:
    name: fortran_sim_time
    annotations:
      order:
        tag: order
        value: 36
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: fortran_sim_time[s]
    description: the amount of time the fortran model should simulate.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: s
  waterheater_power:
    name: waterheater_power
    annotations:
      order:
        tag: order
        value: 37
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: waterheater_power[kW]
    description: the current power draw from the fortran water heater.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  load_state:
    name: load_state
    annotations:
      order:
        tag: order
        value: 38
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: load_state
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: string
    required: false
  actual_voltage:
    name: actual_voltage
    annotations:
      order:
        tag: order
        value: 39
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: actual_voltage
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
  nominal_voltage:
    name: nominal_voltage
    annotations:
      order:
        tag: order
        value: 40
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: nominal_voltage
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    domain_of:
    - powerflow_object
    - battery
    - waterheater
    range: float
    required: false
  re_override:
    name: re_override
    annotations:
      order:
        tag: order
        value: 41
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: re_override
    description: the override setting for the water heater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: string
    required: false
  lower_tank_setpoint:
    name: lower_tank_setpoint
    annotations:
      order:
        tag: order
        value: 42
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: lower_tank_setpoint[degF]
    description: 'MULTILAYER_MODEL: The setpoint for the lower heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  upper_tank_setpoint:
    name: upper_tank_setpoint
    annotations:
      order:
        tag: order
        value: 43
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: upper_tank_setpoint[degF]
    description: 'MULTILAYER_MODEL: The setpoint for the upper heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  lower_tank_deadband:
    name: lower_tank_deadband
    annotations:
      order:
        tag: order
        value: 44
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: lower_tank_deadband[degF]
    description: 'MULTILAYER_MODEL: The deadband for the lower heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  upper_tank_deadband:
    name: upper_tank_deadband
    annotations:
      order:
        tag: order
        value: 45
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: upper_tank_deadband[degF]
    description: 'MULTILAYER_MODEL: The deadband for the upper heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  lower_tank_temperature:
    name: lower_tank_temperature
    annotations:
      order:
        tag: order
        value: 46
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: lower_tank_temperature[degF]
    description: 'MULTILAYER_MODEL: The water temperature at the lower heating element
      thermostat in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  upper_tank_temperature:
    name: upper_tank_temperature
    annotations:
      order:
        tag: order
        value: 47
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: upper_tank_temperature[degF]
    description: 'MULTILAYER_MODEL: The water temperature for the upper heating element
      thermostat in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  discrete_step_size:
    name: discrete_step_size
    annotations:
      order:
        tag: order
        value: 48
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: discrete_step_size[s]
    description: 'MULTILAYER MODEL: The step size in seconds to use in the discrete
      tank temperature dynamics loop.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: s
  circular_flow_rate:
    name: circular_flow_rate
    annotations:
      order:
        tag: order
        value: 49
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: circular_flow_rate[gpm]
    description: 'MULTILAYER MODEL: Heuristic flow activated once the heating elements
      turn on.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: gpm
  T_mixing_valve:
    name: T_mixing_valve
    annotations:
      order:
        tag: order
        value: 50
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: T_mixing_valve[degF]
    description: 'MULTILAYER MODEL: Reference temperature to which mixing valve operate.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  lower_heating_element_state:
    name: lower_heating_element_state
    annotations:
      order:
        tag: order
        value: 51
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: lower_heating_element_state
    description: 'MULTILAYER MODEL: The state of the lower heating element in the
      tank.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: string
    required: false
  upper_heating_element_state:
    name: upper_heating_element_state
    annotations:
      order:
        tag: order
        value: 52
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: upper_heating_element_state
    description: 'MULTILAYER MODEL: The state of the upper heating element in the
      tank.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    domain_of:
    - waterheater
    range: string
    required: false

Induced

name: waterheater
description: 'Copyright (C) 2008 Battelle Memorial Institute

  @file waterheater.cpp

  @addtogroup waterheater Electric waterheater

  @ingroup residential

  The residential electric waterheater uses a hybrid thermal model that is capable

  of tracking either a single-mass of water, or a dual-mass with a varying thermocline.

  The driving dynamic parameters of the waterheater are

  - <b>demand</b>: the current consumption of water in gallons/minute; the higher

  the demand, the more quickly the thermocline drops.

  - <b>voltage</b>: the line voltage for the coil; the lower the voltage, the

  more slowly the thermocline rises.

  - <b>inlet water temperature</b>: the inlet water temperature; the lower the inlet

  water temperature, the more heat is needed to raise it to the set point

  - <b>indoor air temperature</b>: the higher the indoor temperature, the less heat

  loss through the jacket.

  @{


  Inherits from: residential_enduse


  Type: Instance (network topology element)


  Note: Inherits from residential_enduse (not in residential module)'
comments:
- CIMHub does not convert this class. The importer reads no property of it and lists
  it, with its count, on the master's not-mapped comment; the exporter writes none.
from_schema: https://gridlabd.org/schema/glm
is_a: residential_enduse
attributes:
  tank_volume:
    name: tank_volume
    annotations:
      order:
        tag: order
        value: 1
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_volume[gal]
    description: the volume of water in the tank when it is full
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: gal
  tank_UA:
    name: tank_UA
    annotations:
      order:
        tag: order
        value: 2
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_UA[Btu*h/degF]
    description: the UA of the tank (surface area divided by R-value)
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: Btu*h/degF
  tank_diameter:
    name: tank_diameter
    annotations:
      order:
        tag: order
        value: 3
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_diameter[ft]
    description: the diameter of the water heater tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: ft
  tank_height:
    name: tank_height
    annotations:
      order:
        tag: order
        value: 4
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_height[ft]
    description: the height of the water heater tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: ft
  water_demand:
    name: water_demand
    annotations:
      order:
        tag: order
        value: 5
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: water_demand[gpm]
    description: the hot water draw from the water heater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: gpm
  heating_element_capacity:
    name: heating_element_capacity
    annotations:
      order:
        tag: order
        value: 6
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: heating_element_capacity[kW]
    description: the power of the heating element
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  inlet_water_temperature:
    name: inlet_water_temperature
    annotations:
      order:
        tag: order
        value: 7
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: inlet_water_temperature[degF]
    description: the inlet temperature of the water tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  waterheater_model:
    name: waterheater_model
    annotations:
      order:
        tag: order
        value: 8
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: waterheater_model
    description: the water heater model to use
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: string
    required: false
  heat_mode:
    name: heat_mode
    annotations:
      order:
        tag: order
        value: 9
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: heat_mode
    description: the energy source for heating the water heater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - house_a
    - range
    - waterheater
    range: HeatMode
    required: false
  location:
    name: location
    annotations:
      order:
        tag: order
        value: 10
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: location
    description: whether the water heater is inside or outside
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: Location
    required: false
  heatpump_predicted_energy:
    name: heatpump_predicted_energy
    annotations:
      order:
        tag: order
        value: 11
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: heatpump_predicted_energy[Wh]
    description: Amount of energy heat pump predicts to need to reach setpoint - energy
      increases as water temperature decreases
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: Wh
  tank_setpoint:
    name: tank_setpoint
    annotations:
      order:
        tag: order
        value: 12
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: tank_setpoint[degF]
    description: the temperature around which the water heater will heat its contents
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  thermostat_deadband:
    name: thermostat_deadband
    annotations:
      order:
        tag: order
        value: 13
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: thermostat_deadband[degF]
    description: the degree to heat the water tank, when needed
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - house
    - house_a
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  temperature:
    name: temperature
    annotations:
      order:
        tag: order
        value: 14
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: temperature[degF]
    description: the outlet temperature of the water tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - ZIPload
    - freezer
    - range
    - refrigerator
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  height:
    name: height
    annotations:
      order:
        tag: order
        value: 15
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: height[ft]
    description: the height of the hot water column within the water tank
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: ft
  demand:
    name: demand
    annotations:
      order:
        tag: order
        value: 16
      value_type:
        tag: value_type
        value: complex
      native_name:
        tag: native_name
        value: demand[kVA]
    description: the water heater power consumption
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - clotheswasher
    - lights
    - plugload
    - waterheater
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  actual_load:
    name: actual_load
    annotations:
      order:
        tag: order
        value: 17
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: actual_load[kW]
    description: the actual load based on the current voltage across the coils
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  previous_load:
    name: previous_load
    annotations:
      order:
        tag: order
        value: 18
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: previous_load[kW]
    description: the previous load based on voltage across the coils at the last sync
      operation
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  actual_power:
    name: actual_power
    annotations:
      order:
        tag: order
        value: 19
      value_type:
        tag: value_type
        value: complex
      native_name:
        tag: native_name
        value: actual_power[kVA]
    description: the actual power based on the current voltage across the coils
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - ZIPload
    - lights
    - plugload
    - range
    - waterheater
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  time_to_transition:
    name: time_to_transition
    annotations:
      order:
        tag: order
        value: 20
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: time_to_transition
    description: 'CHECKPOINT_VAR: internal variable for time to transition'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
  Tlower:
    name: Tlower
    annotations:
      order:
        tag: order
        value: 21
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: Tlower
    description: 'CHECKPOINT_VAR: internal variable for Tlower'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: float
    required: false
  heating_element_on:
    name: heating_element_on
    annotations:
      order:
        tag: order
        value: 22
      value_type:
        tag: value_type
        value: bool
      native_name:
        tag: native_name
        value: heating_element_on
    description: 'CHECKPOINT_VAR: internal variable for heating element on'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: boolean
    required: false
  turn_fan_on:
    name: turn_fan_on
    annotations:
      order:
        tag: order
        value: 23
      value_type:
        tag: value_type
        value: bool
      native_name:
        tag: native_name
        value: turn_fan_on
    description: 'CHECKPOINT_VAR: internal variable for turn fan on'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: boolean
    required: false
  heat_needed:
    name: heat_needed
    annotations:
      order:
        tag: order
        value: 24
      value_type:
        tag: value_type
        value: bool
      native_name:
        tag: native_name
        value: heat_needed
    description: 'CHECKPOINT_VAR: internal variable for heat needed'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - range
    - waterheater
    range: boolean
    required: false
  water_demand_old:
    name: water_demand_old
    annotations:
      order:
        tag: order
        value: 25
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: water_demand_old
    description: 'CHECKPOINT_VAR: internal variable for previous water demand'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
  init_tank_temp:
    name: init_tank_temp
    annotations:
      order:
        tag: order
        value: 26
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: init_tank_temp
    description: 'CHECKPOINT_VAR: internal variable for initial tank temperature'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
  is_waterheater_on:
    name: is_waterheater_on
    annotations:
      order:
        tag: order
        value: 27
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: is_waterheater_on
    description: simple logic output to determine state of waterheater (1-on, 0-off)
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
  gas_fan_power:
    name: gas_fan_power
    annotations:
      order:
        tag: order
        value: 28
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: gas_fan_power[kW]
    description: load of a running gas waterheater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  gas_standby_power:
    name: gas_standby_power
    annotations:
      order:
        tag: order
        value: 29
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: gas_standby_power[kW]
    description: load of a gas waterheater in standby
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  heat_pump_coefficient_of_performance:
    name: heat_pump_coefficient_of_performance
    annotations:
      order:
        tag: order
        value: 30
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: heat_pump_coefficient_of_performance[Btu/kWh]
    description: current COP of the water heater pump - currently calculated internally
      and not an input
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: Btu/kWh
  Tcontrol:
    name: Tcontrol
    annotations:
      order:
        tag: order
        value: 31
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: Tcontrol[degF]
    description: in heat pump operation, defines the blended temperature used for
      turning on and off HP - currently calculated internally and not an input
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  current_tank_status:
    name: current_tank_status
    annotations:
      order:
        tag: order
        value: 32
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: current_tank_status
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: string
    required: false
  dr_signal:
    name: dr_signal
    annotations:
      order:
        tag: order
        value: 33
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: dr_signal
    description: the on/off signal to send to the fortran waterheater model
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
  COP:
    name: COP
    annotations:
      order:
        tag: order
        value: 34
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: COP
    description: the cop of the fortran heat pump water heater model.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
  operating_mode:
    name: operating_mode
    annotations:
      order:
        tag: order
        value: 35
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: operating_mode
    description: the operating mode the fortran water heater should be using.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - switch
    - waterheater
    range: float
    required: false
  fortran_sim_time:
    name: fortran_sim_time
    annotations:
      order:
        tag: order
        value: 36
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: fortran_sim_time[s]
    description: the amount of time the fortran model should simulate.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: s
  waterheater_power:
    name: waterheater_power
    annotations:
      order:
        tag: order
        value: 37
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: waterheater_power[kW]
    description: the current power draw from the fortran water heater.
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: kW
  load_state:
    name: load_state
    annotations:
      order:
        tag: order
        value: 38
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: load_state
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: string
    required: false
  actual_voltage:
    name: actual_voltage
    annotations:
      order:
        tag: order
        value: 39
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: actual_voltage
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
  nominal_voltage:
    name: nominal_voltage
    annotations:
      order:
        tag: order
        value: 40
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: nominal_voltage
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    owner: waterheater
    domain_of:
    - powerflow_object
    - battery
    - waterheater
    range: float
    required: false
  re_override:
    name: re_override
    annotations:
      order:
        tag: order
        value: 41
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: re_override
    description: the override setting for the water heater
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: string
    required: false
  lower_tank_setpoint:
    name: lower_tank_setpoint
    annotations:
      order:
        tag: order
        value: 42
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: lower_tank_setpoint[degF]
    description: 'MULTILAYER_MODEL: The setpoint for the lower heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  upper_tank_setpoint:
    name: upper_tank_setpoint
    annotations:
      order:
        tag: order
        value: 43
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: upper_tank_setpoint[degF]
    description: 'MULTILAYER_MODEL: The setpoint for the upper heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  lower_tank_deadband:
    name: lower_tank_deadband
    annotations:
      order:
        tag: order
        value: 44
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: lower_tank_deadband[degF]
    description: 'MULTILAYER_MODEL: The deadband for the lower heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  upper_tank_deadband:
    name: upper_tank_deadband
    annotations:
      order:
        tag: order
        value: 45
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: upper_tank_deadband[degF]
    description: 'MULTILAYER_MODEL: The deadband for the upper heating element thermostat
      in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  lower_tank_temperature:
    name: lower_tank_temperature
    annotations:
      order:
        tag: order
        value: 46
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: lower_tank_temperature[degF]
    description: 'MULTILAYER_MODEL: The water temperature at the lower heating element
      thermostat in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  upper_tank_temperature:
    name: upper_tank_temperature
    annotations:
      order:
        tag: order
        value: 47
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: upper_tank_temperature[degF]
    description: 'MULTILAYER_MODEL: The water temperature for the upper heating element
      thermostat in the tank'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  discrete_step_size:
    name: discrete_step_size
    annotations:
      order:
        tag: order
        value: 48
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: discrete_step_size[s]
    description: 'MULTILAYER MODEL: The step size in seconds to use in the discrete
      tank temperature dynamics loop.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: s
  circular_flow_rate:
    name: circular_flow_rate
    annotations:
      order:
        tag: order
        value: 49
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: circular_flow_rate[gpm]
    description: 'MULTILAYER MODEL: Heuristic flow activated once the heating elements
      turn on.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: gpm
  T_mixing_valve:
    name: T_mixing_valve
    annotations:
      order:
        tag: order
        value: 50
      value_type:
        tag: value_type
        value: float
      precision:
        tag: precision
        value: 6
      native_name:
        tag: native_name
        value: T_mixing_valve[degF]
    description: 'MULTILAYER MODEL: Reference temperature to which mixing valve operate.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: float
    required: false
    unit:
      ucum_code: degF
  lower_heating_element_state:
    name: lower_heating_element_state
    annotations:
      order:
        tag: order
        value: 51
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: lower_heating_element_state
    description: 'MULTILAYER MODEL: The state of the lower heating element in the
      tank.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: string
    required: false
  upper_heating_element_state:
    name: upper_heating_element_state
    annotations:
      order:
        tag: order
        value: 52
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: upper_heating_element_state
    description: 'MULTILAYER MODEL: The state of the upper heating element in the
      tank.'
    from_schema: https://gridlabd.org/schema/glm/residential/waterheater
    rank: 1000
    owner: waterheater
    domain_of:
    - waterheater
    range: string
    required: false
  shape:
    name: shape
    annotations:
      order:
        tag: order
        value: 1
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: shape
    description: the loadshape driving the enduse
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: string
    required: false
  override:
    name: override
    annotations:
      order:
        tag: order
        value: 2
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: override
    description: 'override the load state: NORMAL, ON or OFF'
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: string
    required: false
  power_state:
    name: power_state
    annotations:
      order:
        tag: order
        value: 3
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: power_state
    description: 'the power state: OFF, ON or UNKNOWN'
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: string
    required: false
  energy:
    name: energy
    annotations:
      order:
        tag: order
        value: 4
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: energy
    description: the total energy consumed since the last meter reading
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: Complex
    required: false
    unit:
      ucum_code: kVA.h
  power:
    name: power
    annotations:
      order:
        tag: order
        value: 5
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: power
    description: the total power consumption of the load
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  peak_demand:
    name: peak_demand
    annotations:
      order:
        tag: order
        value: 6
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: peak_demand
    description: the peak power consumption since the last meter reading
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  heatgain:
    name: heatgain
    annotations:
      order:
        tag: order
        value: 7
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: heatgain
    description: the heat transferred from the enduse to the parent
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
    unit:
      ucum_code: '[Btu_IT]/h'
  cumulative_heatgain:
    name: cumulative_heatgain
    annotations:
      order:
        tag: order
        value: 8
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: cumulative_heatgain
    description: the cumulative heatgain from the enduse to the parent
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
    unit:
      ucum_code: '[Btu_IT]'
  heatgain_fraction:
    name: heatgain_fraction
    annotations:
      order:
        tag: order
        value: 9
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: heatgain_fraction
    description: the fraction of the heat that goes to the parent (pu)
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
  current_fraction:
    name: current_fraction
    annotations:
      order:
        tag: order
        value: 10
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: current_fraction
    description: the fraction of total power that is constant current (pu)
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
  impedance_fraction:
    name: impedance_fraction
    annotations:
      order:
        tag: order
        value: 11
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: impedance_fraction
    description: the fraction of total power that is constant impedance (pu)
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
  power_fraction:
    name: power_fraction
    annotations:
      order:
        tag: order
        value: 12
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: power_fraction
    description: the fraction of the total power that is constant power (pu)
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
  power_factor:
    name: power_factor
    annotations:
      order:
        tag: order
        value: 13
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: power_factor
    description: the power factor of the load
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    owner: waterheater
    domain_of:
    - performance_motor
    - battery
    - inverter
    - windturb_dg
    - residential_enduse
    range: float
    required: false
  constant_power:
    name: constant_power
    annotations:
      order:
        tag: order
        value: 14
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: constant_power
    description: the constant power portion of the total load
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  constant_current:
    name: constant_current
    annotations:
      order:
        tag: order
        value: 15
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: constant_current
    description: the constant current portion of the total load
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  constant_admittance:
    name: constant_admittance
    annotations:
      order:
        tag: order
        value: 16
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: constant_admittance
    description: the constant admittance portion of the total load
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: Complex
    required: false
    unit:
      ucum_code: kVA
  voltage_factor:
    name: voltage_factor
    annotations:
      order:
        tag: order
        value: 17
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: voltage_factor
    description: the voltage change factor (pu)
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
  breaker_amps:
    name: breaker_amps
    annotations:
      order:
        tag: order
        value: 18
      value_type:
        tag: value_type
        value: float
      native_name:
        tag: native_name
        value: breaker_amps
    description: the rated breaker amperage
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    rank: 1000
    owner: waterheater
    domain_of:
    - residential_enduse
    range: float
    required: false
    unit:
      ucum_code: A
  configuration:
    name: configuration
    annotations:
      order:
        tag: order
        value: 19
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: configuration
    description: 'the load configuration options: IS110, IS220'
    from_schema: https://gridlabd.org/schema/glm/residential/residential_enduse
    owner: waterheater
    domain_of:
    - line
    - regulator
    - transformer
    - residential_enduse
    range: string
    required: false
  name:
    name: name
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: name
    description: The object's name; unique across the model.
    comments:
    - 'Import: <CIM class>.name, copied as written; mRID = the class''s prefix + name
      (none on a bus). Export: Names, sanitized for GridLAB-D; a name two objects
      share raises.'
    from_schema: https://gridlabd.org/schema/glm/types/common
    exact_mappings:
    - cim:IdentifiedObject.name
    rank: 1000
    identifier: true
    owner: waterheater
    domain_of:
    - glm_object
    range: string
    required: true
  parent:
    name: parent
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: parent
    description: The parent object's name. A child node is solved as its parent's
      bus; a nested object block sets it to the enclosing object.
    comments:
    - 'Import: a bus whose parent is a bus is its root bus''s ConnectivityNode, named
      on the root''s row; no object of its own. On a link it is not mapped.'
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string
  groupid:
    name: groupid
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: groupid
    description: Free-text group label.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string
  latitude:
    name: latitude
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: latitude
    description: Latitude, as written (decimal degrees or GridLAB-D's 37N26:12 form).
    comments:
    - Not converted. Home is the EquipmentLocation shape.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string
  longitude:
    name: longitude
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: longitude
    description: Longitude, as written.
    comments:
    - Not converted. Home is the EquipmentLocation shape.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string
  in_svc:
    name: in_svc
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: in_svc
    description: Timestamp the object enters service.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string
  out_svc:
    name: out_svc
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: out_svc
    description: Timestamp the object leaves service.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string
  rank:
    name: rank
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: rank
    description: Solver rank.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string
  flags:
    name: flags
    annotations:
      order:
        tag: order
        value: 0
      value_type:
        tag: value_type
        value: string
      native_name:
        tag: native_name
        value: flags
    description: Core object flags.
    from_schema: https://gridlabd.org/schema/glm/types/common
    rank: 1000
    owner: waterheater
    domain_of:
    - glm_object
    range: string