Expand description
The Common Electric Power Transmission System Model (CTM) is an intuitive, extensible, language-agnostic, and range-validating spefication of electric power network components’ parameter names and units, and the relation between components, intended for use by the research community developing new computational methods for power systems operations and simulation.
This standard data structure in CTM makes it easy to work in multiple power systems domains (e.g., economic operation, reliability assessment, electricity markets, stability assessment) without requiring conversions between use-case-specific file formats and data structures with information loss in the process.
Modules§
- builder
- Types for composing complex structures.
- defaults
- Generation of default values for serde.
- error
- Error types.
Structs§
- Binary
- binary
- Ctm
- Common Transmission Model (CTM) Data Schema v0.1
- CtmNetwork
- structure to hold persistent network data
- CtmNetwork
AcLine Item - structure to hold ac line data using concentrated (6-parameter circuit) PI model
- CtmNetwork
Area Item - geographical subset of the electrical network with common Automatic Generation Control (AGC) and responsible for its Area Control Error (ACE)
- CtmNetwork
BusItem - structure to hold bus data
- CtmNetwork
GenItem - structure to hold generator data
- CtmNetwork
Global Params - structure to hold global settings for parameters in the network
- CtmNetwork
Hvdc P2pItem - structure to hold point-to-point hvdc line data
- CtmNetwork
Load Item - structure to hold load (consumer) data using ZIP model
- CtmNetwork
Reserve Item - structure to hold reserve product and requirement data
- CtmNetwork
Shunt Item - structure to hold shunt data
- CtmNetwork
Storage Item - structure to hold storage (battery) data
- CtmNetwork
Switch Item CtmNetworkSwitchItem
- CtmNetwork
Transformer Item - structure to hold 2-winding transformer and phase shifter data using simplified (4-parameter circuit) model
- CtmNetwork
Zone Item - geographical subset of the electrical network commonly associated with market purposes (e.g., define sub-markets within a large interconnected system, defining different areas for reserve products, etc.)
- CtmTemporal
Boundary - structure to hold data on initial conditions of power system (state prior to start of time series data)
- CtmTemporal
Boundary BusItem - structure to hold initial state of bus variables
- CtmTemporal
Boundary GenItem - structure to hold initial state of generator variables
- CtmTemporal
Boundary Global Params - structure to hold global parameters of temporal boundary
- CtmTemporal
Boundary Hvdc P2pItem - structure to hold initial state of hvdc point-to-point line variables
- CtmTemporal
Boundary Shunt Item - structure to hold initial state of shunt variables
- CtmTemporal
Boundary Storage Item - structure to hold initial state of storage variables
- CtmTemporal
Boundary Switch Item - structure to hold initial state of switch variables
- CtmTemporal
Boundary Transformer Item - structure to hold initial state of transformer variables
- CtmTime
Series Data - structure to contain all time variant data of the system/case. All time series are synchronized to the same timestamps, which should should be stored using Unix time. Structure is quasi-tabular, with uid, name, path_to_file, values, and ext being arrays in the same order of said field. This is done in order to allow for better compression (e.g., using HDF5) for the values field.
- Nonnegative
Integer - nonnegative integer number
- Nonnegative
Number NonnegativeNumber
- Positive
Integer - positive integer number
- Positive
Number PositiveNumber
- Status
- binary indicator of whether component should be included or omitted; 1=>included, 0=>omitted
- Time
Series Reference - structure to hold a reference (possibly, to be scaled) to a time series
- XyPairs
- pairs of data points saved as two vectors (of the same length)
Enums§
- CtmNetwork
AcLine Item CmUbA - [kA or pu] persistent current rating
- CtmNetwork
AcLine Item CmUbB - [kA or pu] 4-hour current rating
- CtmNetwork
AcLine Item CmUbC - [kA or pu] 15-minute current rating
- CtmNetwork
AcLine Item SmUbA - [MVA or pu] persistent apparent power rating
- CtmNetwork
AcLine Item SmUbB - [MVA or pu] 4-hour apparent power rating
- CtmNetwork
AcLine Item SmUbC - [MVA or pu] 15-minute apparent power rating
- CtmNetwork
BusItem Type - bus type for power flow calculations (PV, PQ, or slack)
- CtmNetwork
BusItem Type Variant0 CtmNetworkBusItemTypeVariant0
- CtmNetwork
BusItem VmLb - bus voltage lower bound
- CtmNetwork
BusItem VmUb - bus voltage upper bound
- CtmNetwork
GenItem Cost PgModel - type of generation cost model (i.e., function translating power/energy to money); POLYNOMIAL => cost_pg_parameters is an array with n+1 coefficients <a_i> for f(x) = a_0 + a_1 x^1 + … + a_n x^n; PIECEWISE_LINEAR => cost_pg_parameters is a series of values <x_i, f_i> and cost (f) should be interpolated linearly in between points; MARGINAL_COST => cost_pg_parameters is a series of values <b_i, m_i>, where m_i is a marginal cost ($/MWh or $/(puh)) and b_i is the amoung of power (MWh or puh) sold at marginal cost m_i
- CtmNetwork
GenItem Cost PgParameters - parameters of generation cost function, can be time dependent
- CtmNetwork
GenItem PgLb - [MW or pu] lower bound of active power injection (rectangular operating zone)
- CtmNetwork
GenItem PgUb - [MW or pu] upper bound of active power injection (rectangular operating zone)
- CtmNetwork
GenItem Primary Source - primary energy source
- CtmNetwork
GenItem Primary Source Subtype - subtype of primary energy source; thermal classification taken from https://www.eia.gov/survey/form/eia_923/instructions.pdf
- CtmNetwork
GenItem QgLb - [MVAr or pu] lower bound of reactive power injection (rectangular operating zone)
- CtmNetwork
GenItem QgUb - [MVAr or pu] upper bound of reactive power injection (rectangular operating zone)
- CtmNetwork
GenItem Service Required - whether generator must be in service (e.g., nuclear power plant) or out of service (e.g., generator during maintenance or after an outage); 0 => no requirement, 1 => fixed in service, 2 => fixed out of service
- CtmNetwork
GenItem Shutdown Cost - [$] cost of shutting down the unit
- CtmNetwork
GenItem Startup Cost Cold - [$] cost of starting the unit after being off > startup_time_warm hours
- CtmNetwork
GenItem Startup Cost Hot - [$] cost of starting the unit after being off <= startup_time_hot hours
- CtmNetwork
GenItem Startup Cost Warm - [$] cost of starting the unit after being off > startup_time_hot hours, but <= startup_time_warm hours
- CtmNetwork
GenItem VmSetpoint - [kV or pu] target voltage magnitude of the bus that this generator connects to
- CtmNetwork
Global Params Unit Convention - units used for physical network parameters
- CtmNetwork
Hvdc P2pItem CmUb Fr - [kA or pu] ac persistent current rating, from terminal (if in pu, use from bus base_kv)
- CtmNetwork
Hvdc P2pItem CmUb To - [kA or pu] ac persistent current rating, to terminal (if in pu, use to bus base_kv)
- CtmNetwork
Hvdc P2pItem PdcFr Lb - [MW or pu] minimum active power entering hvdc line at from bus
- CtmNetwork
Hvdc P2pItem PdcFr Ub - [MW or pu] maximum active power entering hvdc line at from bus
- CtmNetwork
Hvdc P2pItem PdcTo Lb - [MW or pu] minimum active power entering hvdc line at to bus
- CtmNetwork
Hvdc P2pItem PdcTo Ub - [MW or pu] maximum active power entering hvdc line at to bus
- CtmNetwork
Hvdc P2pItem QdcFr Lb - [MVAr or pu] minimum reactive power entering hvdc line at from bus
- CtmNetwork
Hvdc P2pItem QdcFr Ub - [MVAr or pu] maximum reactive power entering hvdc line at from bus
- CtmNetwork
Hvdc P2pItem QdcTo Lb - [MVAr or pu] minimum reactive power entering hvdc line at to bus
- CtmNetwork
Hvdc P2pItem QdcTo Ub - [MW or pu] maximum active power entering hvdc line at to bus
- CtmNetwork
Hvdc P2pItem SmUb - [MVA or pu] ac persistent apparent power rating
- CtmNetwork
Hvdc P2pItem Technology - power conversion technology
- CtmNetwork
Load Item Pd - active power demand
- CtmNetwork
Load Item PdI - constant current active power demand at v_bus = 1.0 pu
- CtmNetwork
Load Item PdY - constant impedance active power demand at v_bus = 1.0 pu
- CtmNetwork
Load Item Qd - reactive power demand
- CtmNetwork
Load Item QdI - constant current reactive power demand at v_bus = 1.0 pu
- CtmNetwork
Load Item QdY - constant impedance reactive power demand at v_bus = 1.0 pu
- CtmNetwork
Reserve Item PgDown - [MW or pu] downward active power required by this reserve
- CtmNetwork
Reserve Item PgUp - [MW or pu] upward active power required by this reserve
- CtmNetwork
Reserve Item Reserve Type CtmNetworkReserveItemReserveType
- CtmNetwork
Shunt Item Bs - [MVAr or pu] reactive power demand at v_bus = 1.0 pu, per step of each shunt section
- CtmNetwork
Shunt Item Gs - [MW or pu] active power demand at v_bus = 1.0 pu, per step of each shunt section
- CtmNetwork
Shunt Item NumSteps Ub - upper bound for number of energized steps of shunt section (lower bound is always 0)
- CtmNetwork
Storage Item Charge Efficiency - [-] charge efficiency, in (0, 1]
- CtmNetwork
Storage Item Charge Ub - [MW or pu] maximum rate of charge
- CtmNetwork
Storage Item Discharge Efficiency - [-] discharge efficiency, in (0, 1]
- CtmNetwork
Storage Item Discharge Ub - [MW or pu] maximum rate of discharge
- CtmNetwork
Storage Item QsLb - [MVAr or pu] minumum reactive power injection
- CtmNetwork
Storage Item QsUb - [MVAr or pu] maximum reactive power injection
- CtmNetwork
Transformer Item CmUbA - [kA or pu] persistent current rating, referred to from side
- CtmNetwork
Transformer Item CmUbB - [kA or pu] 4-hour current rating, referred to from side
- CtmNetwork
Transformer Item CmUbC - [kA or pu] 15-minute current rating, referred to from side
- CtmNetwork
Transformer Item SmUbA - [MVA or pu] persistent apparent power rating, referred to from side
- CtmNetwork
Transformer Item SmUbB - [MVA or pu] 4-hour apparent power rating, referred to from side
- CtmNetwork
Transformer Item SmUbC - [MVA or pu] 15-minute apparent power rating, referred to from side
- CtmTemporal
Boundary Shunt Item NumSteps - [-] number of initial energized steps per section
- CtmTime
Series Data Path ToFile - path to file containing all time series information or a separate path for each time series
- Time
Series Reference Uid - uid of time series (in time_series_data) this reference points to
- Uid
- object’s Unique IDentifier