Skip to content

Class: Capcontrol

A Capcontrol object in OpenDSS representing a capacitor bank control that monitors a line or transformer and switches the capacitor ON or OFF.

URI: dss:Capcontrol

 classDiagram
    class Capcontrol
    click Capcontrol href "../Capcontrol/"
      Capcontrol : basefreq

      Capcontrol : capacitor

      Capcontrol : ControlSignal

      Capcontrol : CTPhase

      Capcontrol : CTratio

      Capcontrol : DeadTime

      Capcontrol : Delay

      Capcontrol : DelayOFF

      Capcontrol : element

      Capcontrol : enabled

      Capcontrol : EventLog

      Capcontrol : like

      Capcontrol : name

      Capcontrol : OFFsetting

      Capcontrol : ONsetting

      Capcontrol : pctMinkvar

      Capcontrol : PTPhase

      Capcontrol : PTratio

      Capcontrol : Reset

      Capcontrol : terminal

      Capcontrol : type

      Capcontrol : UserData

      Capcontrol : UserModel

      Capcontrol : VBus

      Capcontrol : Vmax

      Capcontrol : Vmin

      Capcontrol : VoltOverride

Class Properties

Property Value
Class URI dss:Capcontrol

Slots

Name Cardinality and Range Description Inheritance
name 1
String
Object name direct
element 0..1
String
Full object name of the circuit element (typically a line or transformer) to ... direct
terminal 0..1
Integer
Number of the terminal of the circuit element to which the CapControl is conn... direct
capacitor 0..1
String
Name of Capacitor element which the CapControl controls direct
type 0..1
String
{Current voltage
PTratio 0..1
Float
Ratio of the PT that converts the monitored voltage to the control voltage direct
CTratio 0..1
Float
Ratio of the CT from line amps to control ampere setting for current and kvar... direct
ONsetting 0..1
Float
Value at which the control arms to switch the capacitor ON (or ratchet up a s... direct
OFFsetting 0..1
Float
Value at which the control arms to switch the capacitor OFF direct
Delay 0..1
Float
Time delay, in seconds, from when the control is armed before it sends the sw... direct
VoltOverride 0..1
Boolean
{Yes No} Default is No
Vmax 0..1
Float
Maximum voltage, in volts, above which control is forced ON regardless of con... direct
Vmin 0..1
Float
Minimum voltage, in volts, below which control is forced OFF regardless of co... direct
DelayOFF 0..1
Float
Time delay, in seconds, for control to turn OFF when present state is ON direct
DeadTime 0..1
Float
Dead time after capacitor is turned OFF before it can be turned back ON direct
CTPhase 0..1
String
Number of the phase being monitored for CURRENT control or one of {AVG MAX ...
PTPhase 0..1
String
Number of the phase being monitored for VOLTAGE control or one of {AVG MAX ...
VBus 0..1
String
Name of bus to use for voltage override function direct
EventLog 0..1
Boolean
{Yes/True* No/False} Default is YES for CapControl
UserModel 0..1
String
Name of DLL containing user-written CapControl model direct
UserData 0..1
String
String that gets passed to the user-written CapControl model direct
pctMinkvar 0..1
Float
For PF control option, min percent of total bank kvar at which control will c... direct
Reset 0..1
Boolean
{Yes No} If Yes, forces Reset of this CapControl
ControlSignal 0..1
String
Name of the load shape used for controlling the connection/disconnection of t... direct
basefreq 0..1
Float
Base Frequency for ratings direct
enabled 0..1
Boolean
{Yes No or True
like 0..1
String
Make like another object, e direct

Comments

  • Import: one RegulatingControl cc_ + name on the monitored Terminal (capcontrol.cimtbl); its capacitor gets RegulatingControl, aVRDelay and controlEnabled by an Update. Export: one CapControl per RegulatingControl that regulates one LinearShuntCompensator.

Identifier and Mapping Information

Schema Source

  • from schema: https://gridappsd.github.io/dss-graph/opendss

Mappings

Mapping Type Mapped Value
self dss:Capcontrol
native dss:Capcontrol
exact cim:RegulatingControl

LinkML Source

Direct

name: Capcontrol
description: A Capcontrol object in OpenDSS representing a capacitor bank control
  that monitors a line or transformer and switches the capacitor ON or OFF.
comments:
- 'Import: one RegulatingControl cc_ + name on the monitored Terminal (capcontrol.cimtbl);
  its capacitor gets RegulatingControl, aVRDelay and controlEnabled by an Update.
  Export: one CapControl per RegulatingControl that regulates one LinearShuntCompensator.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
exact_mappings:
- cim:RegulatingControl
attributes:
  name:
    name: name
    description: Object name. Must be unique per object type.
    comments:
    - 'Import: RegulatingControl.name, mRID = cc_ + name, lowercased. Export: Names,
      the CapControl namespace.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:IdentifiedObject.name
    identifier: true
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Buscoords
    - Cndata
    - Dynamicexp
    - Growthshape
    - Linecode
    - Linegeometry
    - Linespacing
    - Loadshape
    - Priceshape
    - Spectrum
    - TccCurve
    - Tsdata
    - Tshape
    - Wiredata
    - Xfmrcode
    - Xycurve
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Options
    - Vsource
    range: string
    required: true
  element:
    name: element
    annotations:
      order:
        tag: order
        value: 1
    description: Full object name of the circuit element (typically a line or transformer)
      to which the capacitor control's PT and/or CT are connected.
    comments:
    - 'Import: the Terminal of the Line (ln_ or sw_) or Capacitor (cap_) it names;
      another element class raises. Export: Line.<name> or Capacitor.<name> of the
      monitored Terminal''s equipment.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.Terminal
    rank: 1000
    domain_of:
    - Capcontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    range: string
    required: false
  terminal:
    name: terminal
    annotations:
      order:
        tag: order
        value: 2
      dss_default:
        tag: dss_default
        value: int(1)
    description: Number of the terminal of the circuit element to which the CapControl
      is connected. Default is 1.
    comments:
    - 'Import: the element''s terminal, default 1. Export: the monitored Terminal''s
      sequenceNumber.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.Terminal
    rank: 1000
    domain_of:
    - Capcontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    range: integer
    required: false
  capacitor:
    name: capacitor
    annotations:
      order:
        tag: order
        value: 3
    description: Name of Capacitor element which the CapControl controls.
    comments:
    - 'Import: the Update row on cap_<capacitor>; a capacitor no New defines raises.
      Export: the one LinearShuntCompensator the control regulates.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingCondEq.RegulatingControl
    rank: 1000
    domain_of:
    - Capcontrol
    range: string
    required: false
  type:
    name: type
    annotations:
      order:
        tag: order
        value: 4
      dss_default:
        tag: dss_default
        value: string(current)
    description: '{Current | voltage | kvar | PF | time | Follow} Control type. Default
      is current.'
    comments:
    - 'Import: voltage -> voltage, current -> currentFlow, kvar -> reactivePower,
      time -> timeScheduled; PF and Follow raise; default current. Export: the reverse;
      other modes raise.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.mode
    rank: 1000
    domain_of:
    - Capcontrol
    - Relay
    range: string
    required: false
  PTratio:
    name: PTratio
    annotations:
      order:
        tag: order
        value: 5
      dss_default:
        tag: dss_default
        value: float(60.0)
    description: Ratio of the PT that converts the monitored voltage to the control
      voltage. Default is 60.
    comments:
    - 'Import: ptRatio; default 60. Export: ptRatio; unset raises for a voltage control.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:RegulatingControl.ptRatio
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
    minimum_value: 0.0
  CTratio:
    name: CTratio
    annotations:
      order:
        tag: order
        value: 6
      dss_default:
        tag: dss_default
        value: float(60.0)
    description: Ratio of the CT from line amps to control ampere setting for current
      and kvar control types. Default is 60.
    comments:
    - 'Import: ctRatio; default 60. Export: ctRatio; unset raises for a current control.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:RegulatingControl.ctRatio
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
    minimum_value: 0.0
  ONsetting:
    name: ONsetting
    annotations:
      order:
        tag: order
        value: 7
      dss_default:
        tag: dss_default
        value: float(300.0)
      dss_name:
        tag: dss_name
        value: 'on'
    description: Value at which the control arms to switch the capacitor ON (or ratchet
      up a step). Default is 300 amps.
    comments:
    - 'Import: derived; targetValue = (ON + OFF) / 2, voltage x PTratio (V), current
      x CTratio (A), kvar in kvar (targetValueUnitMultiplier k), time in hours; ON
      on the wrong side of OFF raises; default 300. Export: targetValue -+ targetDeadband
      / 2, divided by the ratio.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.targetValue
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
  OFFsetting:
    name: OFFsetting
    annotations:
      order:
        tag: order
        value: 8
      dss_default:
        tag: dss_default
        value: float(200.0)
      dss_name:
        tag: dss_name
        value: 'off'
    description: Value at which the control arms to switch the capacitor OFF. Default
      is 200 amps.
    comments:
    - 'Import: derived; targetDeadband = abs(OFF - ON), scaled as ONsetting; default
      200. Export: targetValue +- targetDeadband / 2; an unset deadband raises.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.targetDeadband
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
  Delay:
    name: Delay
    annotations:
      order:
        tag: order
        value: 9
      dss_default:
        tag: dss_default
        value: float(15.0)
    description: Time delay, in seconds, from when the control is armed before it
      sends the switching command to turn ON. Default is 15 s.
    comments:
    - 'Import: aVRDelay (s) on the compensator''s Update row; default 15. Export:
      aVRDelay (s); unset -> not written.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:ShuntCompensator.aVRDelay
    rank: 1000
    domain_of:
    - Capcontrol
    - Fuse
    - Recloser
    - Relay
    - Swtcontrol
    range: float
    required: false
  VoltOverride:
    name: VoltOverride
    annotations:
      order:
        tag: order
        value: 10
    description: '{Yes | No}  Default is No. If Yes, enables the VoltOverride feature
      using Vmax and Vmin limits.'
    comments:
    - 'Import: untranscribed (a voltage override band of a kvar or current control;
      maxAllowedTargetValue limits the target, not the voltage). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: boolean
    required: false
  Vmax:
    name: Vmax
    annotations:
      order:
        tag: order
        value: 11
    description: Maximum voltage, in volts, above which control is forced ON regardless
      of control type setting.
    comments:
    - 'Import: untranscribed (the VoltOverride band, volts on the PT secondary). Export:
      unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
  Vmin:
    name: Vmin
    annotations:
      order:
        tag: order
        value: 12
    description: Minimum voltage, in volts, below which control is forced OFF regardless
      of control type setting.
    comments:
    - 'Import: untranscribed (the VoltOverride band, volts on the PT secondary). Export:
      unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
  DelayOFF:
    name: DelayOFF
    annotations:
      order:
        tag: order
        value: 13
      dss_default:
        tag: dss_default
        value: float(15.0)
    description: Time delay, in seconds, for control to turn OFF when present state
      is ON. Default is 15 s.
    comments:
    - 'Import: untranscribed (CIM has one aVRDelay (Delay); DSS solution control).
      Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
  DeadTime:
    name: DeadTime
    annotations:
      order:
        tag: order
        value: 14
    description: Dead time after capacitor is turned OFF before it can be turned back
      ON. Default is 300 s.
    comments:
    - 'Import: untranscribed (DSS solution control; no home in the network profile
      parts). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
  CTPhase:
    name: CTPhase
    annotations:
      order:
        tag: order
        value: 15
    description: Number of the phase being monitored for CURRENT control or one of
      {AVG | MAX | MIN} for all phases. Default is 1.
    comments:
    - 'Import: raises when set (a CT phase); no deck in the sweep sets it, so a mapping
      waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: string
    required: false
  PTPhase:
    name: PTPhase
    annotations:
      order:
        tag: order
        value: 16
      dss_default:
        tag: dss_default
        value: int(1)
    description: Number of the phase being monitored for VOLTAGE control or one of
      {AVG | MAX | MIN} for all phases. Default is 1.
    comments:
    - 'Import: monitoredPhase = the phase of the monitored terminal''s conductor PTPhase
      (default 1); AVG, MAX and MIN raise. Export: the 1-based place of monitoredPhase
      among the monitored equipment''s conductors.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.monitoredPhase
    rank: 1000
    domain_of:
    - Capcontrol
    range: string
    required: false
  VBus:
    name: VBus
    annotations:
      order:
        tag: order
        value: 17
    description: Name of bus to use for voltage override function. Defaults to monitored
      element bus.
    comments:
    - 'Import: raises when set (remote voltage sensing); no deck in the sweep sets
      it, so a mapping waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: string
    required: false
  EventLog:
    name: EventLog
    annotations:
      order:
        tag: order
        value: 18
    description: '{Yes/True* | No/False} Default is YES for CapControl. If Yes, writes
      switching events to a log.'
    comments:
    - 'Import: untranscribed (DSS report flag). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    - Expcontrol
    - Invcontrol
    - Regcontrol
    - Relay
    - Storagecontroller
    range: boolean
    required: false
  UserModel:
    name: UserModel
    annotations:
      order:
        tag: order
        value: 19
    description: Name of DLL containing user-written CapControl model.
    comments:
    - 'Import: raises when set (a user model); no deck in the sweep sets it, so a
      mapping waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    domain_of:
    - Generator
    - Pvsystem
    - Storage
    - Windgen
    - Capcontrol
    range: string
    required: false
  UserData:
    name: UserData
    annotations:
      order:
        tag: order
        value: 20
    description: String that gets passed to the user-written CapControl model.
    comments:
    - 'Import: raises when set (user data); no deck in the sweep sets it, so a mapping
      waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    domain_of:
    - Generator
    - Pvsystem
    - Storage
    - Windgen
    - Capcontrol
    range: string
    required: false
  pctMinkvar:
    name: pctMinkvar
    annotations:
      order:
        tag: order
        value: 21
    description: For PF control option, min percent of total bank kvar at which control
      will close capacitor switch. Default is 50.
    comments:
    - 'Import: untranscribed (used only by PF control, which raises). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: float
    required: false
  Reset:
    name: Reset
    annotations:
      order:
        tag: order
        value: 22
    description: '{Yes | No} If Yes, forces Reset of this CapControl.'
    comments:
    - 'Import: untranscribed (a command, not a setting). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    - Recloser
    - Regcontrol
    - Relay
    - Swtcontrol
    range: boolean
    required: false
  ControlSignal:
    name: ControlSignal
    annotations:
      order:
        tag: order
        value: 23
    description: Name of the load shape used for controlling the connection/disconnection
      of the capacitor to the grid.
    todos:
    - Loadshape converter not yet implemented. ControlSignal LoadShape reference should
      map to a CIM SeasonDayTypeSchedule.
    comments:
    - 'Import: raises when set (a control signal); no deck in the sweep sets it, so
      a mapping waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    domain_of:
    - Capcontrol
    range: string
    required: false
  basefreq:
    name: basefreq
    annotations:
      order:
        tag: order
        value: 24
    description: Base Frequency for ratings.
    comments:
    - 'Import: untranscribed (no home on a control). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Vsource
    range: float
    required: false
  enabled:
    name: enabled
    annotations:
      order:
        tag: order
        value: 25
      dss_default:
        tag: dss_default
        value: 'true'
    description: '{Yes|No or True|False} Indicates whether this element is enabled.'
    comments:
    - 'Import: the control''s enabled and the compensator''s controlEnabled; default
      true. Export: the control''s enabled; the compensator''s must agree.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:RegulatingControl.enabled
    - cim:RegulatingCondEq.controlEnabled
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Vsource
    range: boolean
    required: false
  like:
    name: like
    annotations:
      order:
        tag: order
        value: 26
    description: 'Make like another object, e.g.: New Capcontrol.CC2 like=CC1 ...'
    comments:
    - 'Import: untranscribed; the reader resolves like= before mapping. Export: never
      written.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Cndata
    - Dynamicexp
    - Growthshape
    - Linecode
    - Linegeometry
    - Linespacing
    - Loadshape
    - Priceshape
    - Spectrum
    - TccCurve
    - Tsdata
    - Tshape
    - Wiredata
    - Xfmrcode
    - Xycurve
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Vsource
    range: string
    required: false
class_uri: dss:Capcontrol

Induced

name: Capcontrol
description: A Capcontrol object in OpenDSS representing a capacitor bank control
  that monitors a line or transformer and switches the capacitor ON or OFF.
comments:
- 'Import: one RegulatingControl cc_ + name on the monitored Terminal (capcontrol.cimtbl);
  its capacitor gets RegulatingControl, aVRDelay and controlEnabled by an Update.
  Export: one CapControl per RegulatingControl that regulates one LinearShuntCompensator.'
from_schema: https://gridappsd.github.io/dss-graph/opendss
exact_mappings:
- cim:RegulatingControl
attributes:
  name:
    name: name
    description: Object name. Must be unique per object type.
    comments:
    - 'Import: RegulatingControl.name, mRID = cc_ + name, lowercased. Export: Names,
      the CapControl namespace.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:IdentifiedObject.name
    identifier: true
    owner: Capcontrol
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Buscoords
    - Cndata
    - Dynamicexp
    - Growthshape
    - Linecode
    - Linegeometry
    - Linespacing
    - Loadshape
    - Priceshape
    - Spectrum
    - TccCurve
    - Tsdata
    - Tshape
    - Wiredata
    - Xfmrcode
    - Xycurve
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Options
    - Vsource
    range: string
    required: true
  element:
    name: element
    annotations:
      order:
        tag: order
        value: 1
    description: Full object name of the circuit element (typically a line or transformer)
      to which the capacitor control's PT and/or CT are connected.
    comments:
    - 'Import: the Terminal of the Line (ln_ or sw_) or Capacitor (cap_) it names;
      another element class raises. Export: Line.<name> or Capacitor.<name> of the
      monitored Terminal''s equipment.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.Terminal
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    range: string
    required: false
  terminal:
    name: terminal
    annotations:
      order:
        tag: order
        value: 2
      dss_default:
        tag: dss_default
        value: int(1)
    description: Number of the terminal of the circuit element to which the CapControl
      is connected. Default is 1.
    comments:
    - 'Import: the element''s terminal, default 1. Export: the monitored Terminal''s
      sequenceNumber.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.Terminal
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    range: integer
    required: false
  capacitor:
    name: capacitor
    annotations:
      order:
        tag: order
        value: 3
    description: Name of Capacitor element which the CapControl controls.
    comments:
    - 'Import: the Update row on cap_<capacitor>; a capacitor no New defines raises.
      Export: the one LinearShuntCompensator the control regulates.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingCondEq.RegulatingControl
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: string
    required: false
  type:
    name: type
    annotations:
      order:
        tag: order
        value: 4
      dss_default:
        tag: dss_default
        value: string(current)
    description: '{Current | voltage | kvar | PF | time | Follow} Control type. Default
      is current.'
    comments:
    - 'Import: voltage -> voltage, current -> currentFlow, kvar -> reactivePower,
      time -> timeScheduled; PF and Follow raise; default current. Export: the reverse;
      other modes raise.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.mode
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    - Relay
    range: string
    required: false
  PTratio:
    name: PTratio
    annotations:
      order:
        tag: order
        value: 5
      dss_default:
        tag: dss_default
        value: float(60.0)
    description: Ratio of the PT that converts the monitored voltage to the control
      voltage. Default is 60.
    comments:
    - 'Import: ptRatio; default 60. Export: ptRatio; unset raises for a voltage control.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:RegulatingControl.ptRatio
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
    minimum_value: 0.0
  CTratio:
    name: CTratio
    annotations:
      order:
        tag: order
        value: 6
      dss_default:
        tag: dss_default
        value: float(60.0)
    description: Ratio of the CT from line amps to control ampere setting for current
      and kvar control types. Default is 60.
    comments:
    - 'Import: ctRatio; default 60. Export: ctRatio; unset raises for a current control.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:RegulatingControl.ctRatio
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
    minimum_value: 0.0
  ONsetting:
    name: ONsetting
    annotations:
      order:
        tag: order
        value: 7
      dss_default:
        tag: dss_default
        value: float(300.0)
      dss_name:
        tag: dss_name
        value: 'on'
    description: Value at which the control arms to switch the capacitor ON (or ratchet
      up a step). Default is 300 amps.
    comments:
    - 'Import: derived; targetValue = (ON + OFF) / 2, voltage x PTratio (V), current
      x CTratio (A), kvar in kvar (targetValueUnitMultiplier k), time in hours; ON
      on the wrong side of OFF raises; default 300. Export: targetValue -+ targetDeadband
      / 2, divided by the ratio.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.targetValue
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
  OFFsetting:
    name: OFFsetting
    annotations:
      order:
        tag: order
        value: 8
      dss_default:
        tag: dss_default
        value: float(200.0)
      dss_name:
        tag: dss_name
        value: 'off'
    description: Value at which the control arms to switch the capacitor OFF. Default
      is 200 amps.
    comments:
    - 'Import: derived; targetDeadband = abs(OFF - ON), scaled as ONsetting; default
      200. Export: targetValue +- targetDeadband / 2; an unset deadband raises.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.targetDeadband
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
  Delay:
    name: Delay
    annotations:
      order:
        tag: order
        value: 9
      dss_default:
        tag: dss_default
        value: float(15.0)
    description: Time delay, in seconds, from when the control is armed before it
      sends the switching command to turn ON. Default is 15 s.
    comments:
    - 'Import: aVRDelay (s) on the compensator''s Update row; default 15. Export:
      aVRDelay (s); unset -> not written.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:ShuntCompensator.aVRDelay
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    - Fuse
    - Recloser
    - Relay
    - Swtcontrol
    range: float
    required: false
  VoltOverride:
    name: VoltOverride
    annotations:
      order:
        tag: order
        value: 10
    description: '{Yes | No}  Default is No. If Yes, enables the VoltOverride feature
      using Vmax and Vmin limits.'
    comments:
    - 'Import: untranscribed (a voltage override band of a kvar or current control;
      maxAllowedTargetValue limits the target, not the voltage). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: boolean
    required: false
  Vmax:
    name: Vmax
    annotations:
      order:
        tag: order
        value: 11
    description: Maximum voltage, in volts, above which control is forced ON regardless
      of control type setting.
    comments:
    - 'Import: untranscribed (the VoltOverride band, volts on the PT secondary). Export:
      unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
  Vmin:
    name: Vmin
    annotations:
      order:
        tag: order
        value: 12
    description: Minimum voltage, in volts, below which control is forced OFF regardless
      of control type setting.
    comments:
    - 'Import: untranscribed (the VoltOverride band, volts on the PT secondary). Export:
      unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
  DelayOFF:
    name: DelayOFF
    annotations:
      order:
        tag: order
        value: 13
      dss_default:
        tag: dss_default
        value: float(15.0)
    description: Time delay, in seconds, for control to turn OFF when present state
      is ON. Default is 15 s.
    comments:
    - 'Import: untranscribed (CIM has one aVRDelay (Delay); DSS solution control).
      Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
  DeadTime:
    name: DeadTime
    annotations:
      order:
        tag: order
        value: 14
    description: Dead time after capacitor is turned OFF before it can be turned back
      ON. Default is 300 s.
    comments:
    - 'Import: untranscribed (DSS solution control; no home in the network profile
      parts). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
  CTPhase:
    name: CTPhase
    annotations:
      order:
        tag: order
        value: 15
    description: Number of the phase being monitored for CURRENT control or one of
      {AVG | MAX | MIN} for all phases. Default is 1.
    comments:
    - 'Import: raises when set (a CT phase); no deck in the sweep sets it, so a mapping
      waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: string
    required: false
  PTPhase:
    name: PTPhase
    annotations:
      order:
        tag: order
        value: 16
      dss_default:
        tag: dss_default
        value: int(1)
    description: Number of the phase being monitored for VOLTAGE control or one of
      {AVG | MAX | MIN} for all phases. Default is 1.
    comments:
    - 'Import: monitoredPhase = the phase of the monitored terminal''s conductor PTPhase
      (default 1); AVG, MAX and MIN raise. Export: the 1-based place of monitoredPhase
      among the monitored equipment''s conductors.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    close_mappings:
    - cim:RegulatingControl.monitoredPhase
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: string
    required: false
  VBus:
    name: VBus
    annotations:
      order:
        tag: order
        value: 17
    description: Name of bus to use for voltage override function. Defaults to monitored
      element bus.
    comments:
    - 'Import: raises when set (remote voltage sensing); no deck in the sweep sets
      it, so a mapping waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: string
    required: false
  EventLog:
    name: EventLog
    annotations:
      order:
        tag: order
        value: 18
    description: '{Yes/True* | No/False} Default is YES for CapControl. If Yes, writes
      switching events to a log.'
    comments:
    - 'Import: untranscribed (DSS report flag). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    - Expcontrol
    - Invcontrol
    - Regcontrol
    - Relay
    - Storagecontroller
    range: boolean
    required: false
  UserModel:
    name: UserModel
    annotations:
      order:
        tag: order
        value: 19
    description: Name of DLL containing user-written CapControl model.
    comments:
    - 'Import: raises when set (a user model); no deck in the sweep sets it, so a
      mapping waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    owner: Capcontrol
    domain_of:
    - Generator
    - Pvsystem
    - Storage
    - Windgen
    - Capcontrol
    range: string
    required: false
  UserData:
    name: UserData
    annotations:
      order:
        tag: order
        value: 20
    description: String that gets passed to the user-written CapControl model.
    comments:
    - 'Import: raises when set (user data); no deck in the sweep sets it, so a mapping
      waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    owner: Capcontrol
    domain_of:
    - Generator
    - Pvsystem
    - Storage
    - Windgen
    - Capcontrol
    range: string
    required: false
  pctMinkvar:
    name: pctMinkvar
    annotations:
      order:
        tag: order
        value: 21
    description: For PF control option, min percent of total bank kvar at which control
      will close capacitor switch. Default is 50.
    comments:
    - 'Import: untranscribed (used only by PF control, which raises). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: float
    required: false
  Reset:
    name: Reset
    annotations:
      order:
        tag: order
        value: 22
    description: '{Yes | No} If Yes, forces Reset of this CapControl.'
    comments:
    - 'Import: untranscribed (a command, not a setting). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    - Recloser
    - Regcontrol
    - Relay
    - Swtcontrol
    range: boolean
    required: false
  ControlSignal:
    name: ControlSignal
    annotations:
      order:
        tag: order
        value: 23
    description: Name of the load shape used for controlling the connection/disconnection
      of the capacitor to the grid.
    todos:
    - Loadshape converter not yet implemented. ControlSignal LoadShape reference should
      map to a CIM SeasonDayTypeSchedule.
    comments:
    - 'Import: raises when set (a control signal); no deck in the sweep sets it, so
      a mapping waits for one. Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    rank: 1000
    owner: Capcontrol
    domain_of:
    - Capcontrol
    range: string
    required: false
  basefreq:
    name: basefreq
    annotations:
      order:
        tag: order
        value: 24
    description: Base Frequency for ratings.
    comments:
    - 'Import: untranscribed (no home on a control). Export: unset.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    owner: Capcontrol
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Vsource
    range: float
    required: false
  enabled:
    name: enabled
    annotations:
      order:
        tag: order
        value: 25
      dss_default:
        tag: dss_default
        value: 'true'
    description: '{Yes|No or True|False} Indicates whether this element is enabled.'
    comments:
    - 'Import: the control''s enabled and the compensator''s controlEnabled; default
      true. Export: the control''s enabled; the compensator''s must agree.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    exact_mappings:
    - cim:RegulatingControl.enabled
    - cim:RegulatingCondEq.controlEnabled
    owner: Capcontrol
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Vsource
    range: boolean
    required: false
  like:
    name: like
    annotations:
      order:
        tag: order
        value: 26
    description: 'Make like another object, e.g.: New Capcontrol.CC2 like=CC1 ...'
    comments:
    - 'Import: untranscribed; the reader resolves like= before mapping. Export: never
      written.'
    from_schema: https://gridappsd.github.io/dss-graph/controls/capcontrol
    owner: Capcontrol
    domain_of:
    - Load
    - Generator
    - Generic5
    - Gicline
    - Indmach012
    - Pvsystem
    - Storage
    - Upfc
    - Vccs
    - Vsconverter
    - Windgen
    - Autotrans
    - Capacitor
    - Gictransformer
    - Line
    - Reactor
    - Transformer
    - Capcontrol
    - Espvlcontrol
    - Expcontrol
    - Fuse
    - Gendispatcher
    - Invcontrol
    - Pycontrol
    - Recloser
    - Regcontrol
    - Relay
    - Storagecontroller
    - Swtcontrol
    - Upfccontrol
    - Cndata
    - Dynamicexp
    - Growthshape
    - Linecode
    - Linegeometry
    - Linespacing
    - Loadshape
    - Priceshape
    - Spectrum
    - TccCurve
    - Tsdata
    - Tshape
    - Wiredata
    - Xfmrcode
    - Xycurve
    - Energymeter
    - Fmonitor
    - Monitor
    - Sensor
    - Fault
    - Gicsource
    - Isource
    - Vsource
    range: string
    required: false
class_uri: dss:Capcontrol