Class: Lights¶
Copyright (C) 2008 Battelle Memorial Institute
@file lights.cpp
@addtogroup residential_lights Lights
@ingroup residential
The residential lighting object supports the major types of residential
lights (see lights::type). The lighting type effects the power factor
used (see lights::load.power_factor).
The lighting enduse is driven by an analog loadshape which is driven by
a general purpose schedule.
@{
__
Inherits from: residential_enduse
__
Type: Instance (network topology element)
__
Note: Inherits from residential_enduse (not in residential module)
URI: glm:Lights
classDiagram
class Lights
click Lights href "../Lights/"
ResidentialEnduse <|-- Lights
click ResidentialEnduse href "../ResidentialEnduse/"
Lights : actual_power
Lights --> "0..1" Complex : actual_power
click Complex href "../Complex/"
Lights : breaker_amps
Lights : configuration
Lights : constant_admittance
Lights --> "0..1" Complex : constant_admittance
click Complex href "../Complex/"
Lights : constant_current
Lights --> "0..1" Complex : constant_current
click Complex href "../Complex/"
Lights : constant_power
Lights --> "0..1" Complex : constant_power
click Complex href "../Complex/"
Lights : cumulative_heatgain
Lights : current_fraction
Lights : curtailment
Lights : demand
Lights : energy
Lights --> "0..1" Complex : energy
click Complex href "../Complex/"
Lights : flags
Lights : groupid
Lights : heatgain
Lights : heatgain_fraction
Lights : impedance_fraction
Lights : in_svc
Lights : installed_power
Lights : latitude
Lights : longitude
Lights : name
Lights : out_svc
Lights : override
Lights : parent
Lights : peak_demand
Lights --> "0..1" Complex : peak_demand
click Complex href "../Complex/"
Lights : placement
Lights : power
Lights --> "0..1" Complex : power
click Complex href "../Complex/"
Lights : power_density
Lights : power_factor
Lights : power_fraction
Lights : power_state
Lights : rank
Lights : shape
Lights : type
Lights : voltage_factor
Inheritance¶
- GlmObject
- ResidentialEnduse
- Lights
- ResidentialEnduse
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| type | 0..1 String |
lighting type (affects power_factor) | direct |
| placement | 0..1 String |
lighting location (affects where heatgains go) | direct |
| installed_power | 0..1 Float |
installed lighting capacity | direct |
| power_density | 0..1 Float |
installed power density | direct |
| curtailment | 0..1 Float |
lighting curtailment factor | direct |
| demand | 0..1 Float |
the current lighting demand | direct |
| actual_power | 0..1 Complex |
actual power demand of lights object | 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:Lights |
| native | glm:Lights |
LinkML Source¶
Direct¶
name: lights
description: 'Copyright (C) 2008 Battelle Memorial Institute
@file lights.cpp
@addtogroup residential_lights Lights
@ingroup residential
The residential lighting object supports the major types of residential
lights (see lights::type). The lighting type effects the power factor
used (see lights::load.power_factor).
The lighting enduse is driven by an analog loadshape which is driven by
a general purpose schedule.
@{
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:
type:
name: type
annotations:
order:
tag: order
value: 1
value_type:
tag: value_type
value: string
native_name:
tag: native_name
value: type
description: lighting type (affects power_factor)
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
domain_of:
- lights
range: string
required: false
placement:
name: placement
annotations:
order:
tag: order
value: 2
value_type:
tag: value_type
value: string
native_name:
tag: native_name
value: placement
description: lighting location (affects where heatgains go)
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
domain_of:
- lights
range: string
required: false
installed_power:
name: installed_power
annotations:
order:
tag: order
value: 3
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: installed_power[kW]
description: installed lighting capacity
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
domain_of:
- lights
- microwave
- plugload
range: float
required: false
unit:
ucum_code: kW
power_density:
name: power_density
annotations:
order:
tag: order
value: 4
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: power_density[W/sf]
description: installed power density
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
domain_of:
- lights
range: float
required: false
unit:
ucum_code: W/sf
curtailment:
name: curtailment
annotations:
order:
tag: order
value: 5
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: curtailment[pu]
description: lighting curtailment factor
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
domain_of:
- lights
range: float
required: false
unit:
ucum_code: pu
demand:
name: demand
annotations:
order:
tag: order
value: 6
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: demand[pu]
description: the current lighting demand
from_schema: https://gridlabd.org/schema/glm/residential/lights
domain_of:
- clotheswasher
- lights
- plugload
- waterheater
range: float
required: false
unit:
ucum_code: pu
actual_power:
name: actual_power
annotations:
order:
tag: order
value: 7
value_type:
tag: value_type
value: complex
native_name:
tag: native_name
value: actual_power[kVA]
description: actual power demand of lights object
from_schema: https://gridlabd.org/schema/glm/residential/lights
domain_of:
- ZIPload
- lights
- plugload
- range
- waterheater
range: Complex
required: false
unit:
ucum_code: kVA
Induced¶
name: lights
description: 'Copyright (C) 2008 Battelle Memorial Institute
@file lights.cpp
@addtogroup residential_lights Lights
@ingroup residential
The residential lighting object supports the major types of residential
lights (see lights::type). The lighting type effects the power factor
used (see lights::load.power_factor).
The lighting enduse is driven by an analog loadshape which is driven by
a general purpose schedule.
@{
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:
type:
name: type
annotations:
order:
tag: order
value: 1
value_type:
tag: value_type
value: string
native_name:
tag: native_name
value: type
description: lighting type (affects power_factor)
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
owner: lights
domain_of:
- lights
range: string
required: false
placement:
name: placement
annotations:
order:
tag: order
value: 2
value_type:
tag: value_type
value: string
native_name:
tag: native_name
value: placement
description: lighting location (affects where heatgains go)
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
owner: lights
domain_of:
- lights
range: string
required: false
installed_power:
name: installed_power
annotations:
order:
tag: order
value: 3
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: installed_power[kW]
description: installed lighting capacity
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
owner: lights
domain_of:
- lights
- microwave
- plugload
range: float
required: false
unit:
ucum_code: kW
power_density:
name: power_density
annotations:
order:
tag: order
value: 4
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: power_density[W/sf]
description: installed power density
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
owner: lights
domain_of:
- lights
range: float
required: false
unit:
ucum_code: W/sf
curtailment:
name: curtailment
annotations:
order:
tag: order
value: 5
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: curtailment[pu]
description: lighting curtailment factor
from_schema: https://gridlabd.org/schema/glm/residential/lights
rank: 1000
owner: lights
domain_of:
- lights
range: float
required: false
unit:
ucum_code: pu
demand:
name: demand
annotations:
order:
tag: order
value: 6
value_type:
tag: value_type
value: float
precision:
tag: precision
value: 6
native_name:
tag: native_name
value: demand[pu]
description: the current lighting demand
from_schema: https://gridlabd.org/schema/glm/residential/lights
owner: lights
domain_of:
- clotheswasher
- lights
- plugload
- waterheater
range: float
required: false
unit:
ucum_code: pu
actual_power:
name: actual_power
annotations:
order:
tag: order
value: 7
value_type:
tag: value_type
value: complex
native_name:
tag: native_name
value: actual_power[kVA]
description: actual power demand of lights object
from_schema: https://gridlabd.org/schema/glm/residential/lights
owner: lights
domain_of:
- ZIPload
- lights
- plugload
- range
- waterheater
range: Complex
required: false
unit:
ucum_code: kVA
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
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: lights
domain_of:
- glm_object
range: string