PowerCoreOpenAPIModels

The power-system types shared across operations, investments, and dynamics: topology, the cost and value curve family, and the power enums. A type lives here rather than in a domain package when more than one domain references it.

PowerCoreOpenAPIModels.ACBus — Type
ACBus

An AC bus.

  • id: Unique integer identifier for this component.
  • number: A unique bus identification number (positive integer).
  • name: Name of the component. Components of the same type (e.g., PowerLoad) must have unique names, but components of different types (e.g., PowerLoad and ACBus) can have the same name.
  • available: Indicator of whether the component is connected and online (true) or disconnected, offline, or down (false). Unavailable components are excluded during simulations. This field should not be confused with the ISOLATED enum value.
  • bustype: Power flow classification of this bus. It does not by itself say which bus voltage is held; the regulating devices and the bus voltage_setpoint say that.
  • angle: Solved voltage angle from the last power flow, or the start value for the next solve. Units: rad.
  • magnitude: Solved voltage magnitude from the last power flow, or the start value for the next solve, as a multiple of base_voltage. This is a result, not a control target; the target is voltage_setpoint. Units: pu.
  • voltage_setpoint: Scheduled voltage magnitude for this bus, as a multiple of base_voltage. It is the target of every device that regulates this bus, at the bus or from a remote terminal. The devices that regulate this bus hold it at this value unless a droop or a reactive power limit prevents it. null when no device regulates this bus. Units: pu.
  • voltage_limits: Limits on the voltage variation as multiples of base_voltage. Units: pu.
  • base_voltage: The base voltage. Units: kV.
  • area: ID of the area containing the bus.
  • load_zone: ID of the load zone containing the bus.
source
PowerCoreOpenAPIModels.ACBusType — Type
ACBusType

Classification of an AC bus for power flow, following the MATPOWER bus-type convention. PQ marks a bus with no in-service generation that regulates voltage; it can still have a voltage_setpoint that remote devices hold, or that a droop or a reactive power limit stops them from reaching. PV marks a bus with in-service generation that regulates voltage: generators, storage, synchronous condensers or sources. Those devices hold the voltage_setpoint of the bus they regulate, this bus or their remote_regulated_bus; REF names the reference for the system voltage angle; SLACK balances the system active and reactive mismatch and sets the reference angle; ISOLATED marks a bus not connected to the network.

source
PowerCoreOpenAPIModels.AdmittanceUnitBasis — Type
AdmittanceUnitBasis

Unit basis a shunt admittance is stored in. NATURALUNITS: physical siemens. COMPONENTMVAR: reactive power at unity voltage (Mvar for susceptance, MW for conductance). COMPONENTBASE: per-unit on the component's own base (basepower MVA and voltage base) — a per-unit base, not a power at unity voltage, and not an alternative spelling of COMPONENTMVAR; components whose per-unit data was historically on the system base record that system base in basepower. Fixed and switched shunts use ShuntAdmittanceUnitBasis instead, which omits COMPONENT_BASE because a shunt has no device MVA rating.

source
PowerCoreOpenAPIModels.Arc — Type
Arc

A topological directed edge connecting two buses. Arcs are used to define the from_id and to_id endpoints when defining a line or transformer.

  • id: Unique integer identifier for this component.
  • from_id: ID of the initial bus.
  • to_id: ID of the terminal bus.
source
PowerCoreOpenAPIModels.Area — Type
Area

A collection of buses for control purposes. The Area can be specified when defining each ACBus or DCBus in the area.

  • id: Unique integer identifier for this component.
  • name: Name of the component. Components of the same type (e.g., PowerLoad) must have unique names, but components of different types (e.g., PowerLoad and ACBus) can have the same name.
  • peak_active_power: Peak active power in the area. Units: per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu .
  • peak_reactive_power: Peak reactive power in the area. Units: per powerunits — NATURALUNITS: MVAr, COMPONENT_BASE: pu .
  • load_response: Load-frequency damping parameter modeling how much the load in the area changes due to changes in frequency. Units: MW/Hz.
  • scheduled_net_interchange: Scheduled net active power interchange of the area (PSS/E PDES): the area's total export minus its total import that area interchange control holds. Positive means the area exports power. null when the area has no scheduled interchange; 0.0 is a valid schedule. Units: per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu .
  • out_of_area_load_ids: IDs of the loads that belong to this area but connect to a bus in another area (PSS/E off-area loads). When area interchange control includes these loads (PSS/E AREAIN=2), their demand counts in the net interchange of this area, not of the area of their bus.
  • base_power: System base power for per-unitization of this component's per-unit fields, recorded per component in lieu of a system-level table. Units: MVA.
  • power_units: Unit basis for this component's power-family fields (active/reactive/apparent power, ratings, limits, ramp rates). COMPONENTBASE: per unit on this component's own basepower. NATURAL_UNITS: the field's physical unit.
source
PowerCoreOpenAPIModels.AverageRateCurve — Type
AverageRateCurve

A curve whose y values are the average rate f(x)/x at production level x — total cost or fuel divided by output, the form heat rate tables use when they report MMBtu/MWh against MW. initial_input records the total input at the minimum production point and is what makes conversion to an InputOutputCurve possible. Use IncrementalCurve when the data gives marginal rather than average rates.

  • initial_input: Units: the curve's y-axis unit.
  • input_at_zero: Units: the curve's y-axis unit.
source
PowerCoreOpenAPIModels.CapitalCost — Type
CapitalCost

Investment cost for candidate generation and transmission technologies which includes overnight capital costs and last-mile interconnection costs.

  • capital_cost: A cost or fuel curve: function data plus a declaration of how to read its y axis. INPUT_OUTPUT reads y as the total f(x), INCREMENTAL as the marginal rate f'(x), and AVERAGE_RATE as the average f(x)/x; the three can express the same underlying function and are inter-convertible given initial_input. The TIME_SERIES_* variants are the time-varying equivalents. Which form to use follows the data source: bid stacks are incremental, total cost tables input-output, efficiency tables average rate.
source
PowerCoreOpenAPIModels.CostCurve — Type
CostCurve

Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .

  • power_units: Unit basis a stored value is expressed in. COMPONENTBASE: per-unit against a base the component records itself. NATURALUNITS: the quantity's own physical unit. No system-wide option: a value per-unitized against a shared base records that base on the component and rides as COMPONENTBASE. Used in three scopes, each read against its own record rather than a document-wide table: a component's own `powerunits(against that component'sbasepower), a cost payload's ownpowerunits(e.g.CostCurve, against the owning component'sbasepower), and a time series association's ownunitsystem` (governing only that one series).
  • value_curve: A cost or fuel curve: function data plus a declaration of how to read its y axis. INPUT_OUTPUT reads y as the total f(x), INCREMENTAL as the marginal rate f'(x), and AVERAGE_RATE as the average f(x)/x; the three can express the same underlying function and are inter-convertible given initial_input. The TIME_SERIES_* variants are the time-varying equivalents. Which form to use follows the data source: bid stacks are incremental, total cost tables input-output, efficiency tables average rate.
  • vom_cost: A curve whose y values are the total input f(x) at production level x — currency per hour against MW in a cost curve, fuel per hour against MW in a fuel curve. The y axis is an absolute quantity, not a rate; use IncrementalCurve for marginal-rate data.
source
PowerCoreOpenAPIModels.CurrentLossCurve — Type
CurrentLossCurve

Losses of a device as a function of the current through it (a converter's DC current), together with the basis the curve is expressed in. power_units governs both axes: the y values are power and the x values current, each per-unit on the component's base (current's base being base power over base voltage) or natural. Units: x-axis per powerunits — NATURALUNITS: kA, COMPONENTBASE: pu ; y-axis per powerunits — NATURALUNITS: MW, COMPONENTBASE: pu .

  • power_units: Unit basis a stored value is expressed in. COMPONENTBASE: per-unit against a base the component records itself. NATURALUNITS: the quantity's own physical unit. No system-wide option: a value per-unitized against a shared base records that base on the component and rides as COMPONENTBASE. Used in three scopes, each read against its own record rather than a document-wide table: a component's own `powerunits(against that component'sbasepower), a cost payload's ownpowerunits(e.g.CostCurve, against the owning component'sbasepower), and a time series association's ownunitsystem` (governing only that one series).
  • value_curve: The shape of a loss curve, selected by curve_type. INPUT_OUTPUT gives the total loss at each flow level – a constant loss plus a proportional loss rate, in MW of loss per MW of flow. INCREMENTAL gives the marginal loss rate instead, the form a piecewise model uses to give different proportional losses on different flow segments. Individual loss fields accept narrower sets of shapes than this union admits; the consuming data layer enforces that, not this schema.
source
PowerCoreOpenAPIModels.CurveMultiStep — Type
CurveMultiStep

Multi-step block indicator for a bid: 0 = SINGLESTEP (default; each step of the bid clears independently); 1 = MULTISTEP (the bid must be awarded as one block across every step it covers). Counted in model steps so it applies at any resolution. Independent of curve style: curve style is the quantity structure, this is the time structure, and they compose.

source
PowerCoreOpenAPIModels.CurveStyles — Type
CurveStyles

Curve-clearing style for a bid: 0 = VARIABLE (default; continuous quantity with one or more segments); 1 = FIXED (all-or-nothing block with a single segment). FIXED is mutually exclusive with incrementalslope/decrementalslope and requires a single-segment offer curve.

source
PowerCoreOpenAPIModels.DCBus — Type
DCBus

A DC bus.

  • area: ID of the area containing the DC bus.
  • available: Indicator of whether the component is connected and online (true) or disconnected, offline, or down (false). Unavailable components are excluded during simulations.
  • base_voltage: The base voltage. in psy5 a required param with an option to be nothing. Units: kV.
  • id: Unique integer identifier for this component.
  • load_zone: ID of the load zone containing the DC bus.
  • magnitude: Voltage as a multiple of base_voltage. in psy5 a required param with an option to be nothing. Units: pu.
  • name: Name of the component. Components of the same type (e.g., PowerLoad) must have unique names, but components of different types (e.g., PowerLoad and ACBus) can have the same name.
  • number: A unique bus identification number (positive integer).
  • voltage_limits: Limits on the voltage variation as multiples of base_voltage. in psy5 a required param with an option to be nothing. Units: pu.
source
PowerCoreOpenAPIModels.DbdPnts — Type
DbdPnts

A pair of deadband thresholds (dbd1, dbd2) on a voltage or reactive-power error signal, inside which the controller does not act.

source
PowerCoreOpenAPIModels.EmissionBasis — Type
EmissionBasis

What an emission rate is measured against: FUEL_INPUT for mass per unit of heat input, POWER_OUTPUT for mass per unit of electrical output. The choice constrains the accompanying energy unit — a heat unit for FUEL_INPUT, MWH for POWER_OUTPUT.

source
PowerCoreOpenAPIModels.EmissionsData — Type
EmissionsData

Supplemental attribute describing the emission of a single pollutant from a host component. Combines pollutant identity (CO2, NOx, etc.) with an emission rate expressed as a ValueCurve (supporting constant, linear, or piecewise relationships between fuel consumption / power output and emissions). One EmissionsData instance can be attached to one or many components.

  • name: Identifier for this emissions attribute
  • pollutant: Pollutant identity (CO2, CO2E, CH4, N2O, NOX, SO2, PM25, PM10, HG, HAP, CUSTOM)
  • emission_rate: Emission rate as a ValueCurve, typically an IncrementalCurve with LinearFunctionData (constant or linearly varying rate) or PiecewiseStepData (piecewise step rates). Rates must be non-negative and finite.
  • basis: FUELINPUT (mass per unit of heat input) or POWEROUTPUT (mass per unit of electrical output)
  • start_up_adder: Per-start emission pulse, in massunit. Must be finite and non-negative. Units: per massunit — KG: kg, LB: lb, SHORTTON: ston, METRICTON: t .
  • mass_unit: Mass unit of the emission rate numerator
  • energy_unit: Energy unit for the rate denominator. Must be MMBTU or GJ when basis is FUELINPUT, and MWH when basis is POWEROUTPUT.
  • gwp: GWP100 multiplier for CO2-equivalent reporting. Must be finite and non-negative. Units: 1.
  • available: Whether this attribute is active
source
PowerCoreOpenAPIModels.EnergyUnitBasis — Type
EnergyUnitBasis

Unit basis a stored-energy quantity is recorded in (distinct from EnergyUnit, which names fuel energy content). MWH: megawatt-hours, the conventional interchange form. MWMIN: megawatt-minutes, consistent with the minutes basis used for operational durations, so a duration computed as energy over power comes out in minutes with no hidden factor of 60. Defaults to MWH: MWMIN is supported, not preferred.

source
PowerCoreOpenAPIModels.FuelCurve — Type
FuelCurve

Variable operation cost of a device expressed in fuel consumed, in the fuel quantity fuel_units names, together with the price that converts fuel to currency. Wraps a ValueCurve in input-output, incremental, or average-rate form, whose y axis is fuel per hour; exactly one of fuel_cost and fuel_cost_time_series supplies the price.

  • fuel_cost: Fixed fuel cost in USD per one fuel_units of fuel, or null when fuelcosttime_series names a time-varying one. Exactly one of the two is set; producers and consumers enforce it.
  • fuel_cost_time_series: Store-minted id of the fuel-cost time series association, or null when fuel_cost carries a fixed value. Exactly one of the two is set.
  • fuel_units: The fuel quantity the curve's y axis counts (per hour) and fuel_cost is priced per. No default: an unstated fuel unit is ambiguous.
  • power_units: Unit basis a stored value is expressed in. COMPONENTBASE: per-unit against a base the component records itself. NATURALUNITS: the quantity's own physical unit. No system-wide option: a value per-unitized against a shared base records that base on the component and rides as COMPONENTBASE. Used in three scopes, each read against its own record rather than a document-wide table: a component's own `powerunits(against that component'sbasepower), a cost payload's ownpowerunits(e.g.CostCurve, against the owning component'sbasepower), and a time series association's ownunitsystem` (governing only that one series).
  • startup_fuel_offtake: Fuel consumed during startup, as a curve in fuel_units.
  • value_curve: A cost or fuel curve: function data plus a declaration of how to read its y axis. INPUT_OUTPUT reads y as the total f(x), INCREMENTAL as the marginal rate f'(x), and AVERAGE_RATE as the average f(x)/x; the three can express the same underlying function and are inter-convertible given initial_input. The TIME_SERIES_* variants are the time-varying equivalents. Which form to use follows the data source: bid stacks are incremental, total cost tables input-output, efficiency tables average rate.
  • vom_cost: A curve whose y values are the total input f(x) at production level x — currency per hour against MW in a cost curve, fuel per hour against MW in a fuel curve. The y axis is an absolute quantity, not a rate; use IncrementalCurve for marginal-rate data.
source
PowerCoreOpenAPIModels.GenericOperationCost — Type
GenericOperationCost

Operating cost of a generation technology, selected by cost_type among the thermal (THERMAL), renewable (RENEWABLE), and hydro (HYDRO_GEN) generation cost representations.

source
PowerCoreOpenAPIModels.HydroGenerationCost — Type
HydroGenerationCost

Cost representation for hydro gen units

  • variable_operation_cost: Variable production cost of a device, selected by variable_cost_type between a curve denominated directly in currency (COST) and one denominated in fuel with a separate fuel price (FUEL).
source
PowerCoreOpenAPIModels.ImpedanceUnitBasis — Type
ImpedanceUnitBasis

Unit basis a branch/injection impedance is stored in. NATURALUNITS: physical ohms (PSS/E RAW native for DC-line impedances). COMPONENTBASE: per-unit on the component's own base (basepower MVA and voltage base); components whose per-unit data was historically on the system base record that system base in basepower, so there is no separate system-base option. PSS/E supplies device base for DC-line converters and CZ=2 transformer windings. A branch's shunt admittance halves (b, g) share the branch's one basis: NATURAL_UNITS stores them in siemens.

source
PowerCoreOpenAPIModels.ImportExportCost — Type
ImportExportCost

Cost representation for static (non-time-varying) imports and exports with neighboring areas, together with the ancillary services offered alongside them. The offer curves are piecewise incremental cost curves with an implied zero cost at zero power, and a weekly energy limit bounds each direction. The time-varying counterpart is ImportExportTimeSeriesCost.

  • import_offer_curves: Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
  • export_offer_curves: Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
  • energy_import_weekly_limit: Weekly limit on imported energy, in MWh. MWh is the only representation: neither producers nor consumers rescale it by a system base. Units: MWh.
  • energy_export_weekly_limit: Weekly limit on exported energy, in MWh. MWh is the only representation: neither producers nor consumers rescale it by a system base. Units: MWh.
source
PowerCoreOpenAPIModels.ImportExportTimeSeriesCost — Type
ImportExportTimeSeriesCost

Cost representation for time-varying imports and exports with neighboring areas. The static counterpart is ImportExportCost.

  • import_offer_curves: Import price curves whose value curve admits only the TIMESERIESINCREMENTAL variant; any other variant is rejected by the consuming constructor.
  • export_offer_curves: Export price curves whose value curve admits only the TIMESERIESINCREMENTAL variant; any other variant is rejected by the consuming constructor.
  • energy_import_weekly_limit: Weekly limit on imported energy, in MWh. MWh is the only representation: neither producers nor consumers rescale it by a system base. Units: MWh.
  • energy_export_weekly_limit: Weekly limit on exported energy, in MWh. MWh is the only representation: neither producers nor consumers rescale it by a system base. Units: MWh.
source
PowerCoreOpenAPIModels.IncrementalCurve — Type
IncrementalCurve

A curve whose y values are the marginal rate f'(x) at production level x — the native form for market bid stacks and incremental heat rate data. initial_input records the total input at the minimum production point, anchoring the absolute level and enabling conversion to an InputOutputCurve. Use InputOutputCurve when the data gives total cost at each output level.

  • initial_input: Units: the curve's y-axis unit.
  • input_at_zero: Units: the curve's y-axis unit.
source
PowerCoreOpenAPIModels.InputOutputCurve — Type
InputOutputCurve

A curve whose y values are the total input f(x) at production level x — currency per hour against MW in a cost curve, fuel per hour against MW in a fuel curve. The y axis is an absolute quantity, not a rate; use IncrementalCurve for marginal-rate data.

  • input_at_zero: Units: the curve's y-axis unit.
source
PowerCoreOpenAPIModels.LoadCost — Type
LoadCost

Cost representation for controllable load units

  • variable_operation_cost: Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
source
PowerCoreOpenAPIModels.LoadZone — Type
LoadZone

A load zone for electricity price analysis. The load zone can be specified when defining each ACBus or DCBus in the zone.

  • id: Unique integer identifier for this component.
  • name: Name of the component. Components of the same type (e.g., PowerLoad) must have unique names, but components of different types (e.g., PowerLoad and ACBus) can have the same name.
  • peak_active_power: Peak active power in the zone. Units: per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu .
  • peak_reactive_power: Peak reactive power in the zone. Units: per powerunits — NATURALUNITS: MVAr, COMPONENT_BASE: pu .
  • base_power: System base power for per-unitization of this component's per-unit fields, recorded per component in lieu of a system-level table. Units: MVA.
  • power_units: Unit basis for this component's power-family fields (active/reactive/apparent power, ratings, limits, ramp rates). COMPONENTBASE: per unit on this component's own basepower. NATURAL_UNITS: the field's physical unit.
source
PowerCoreOpenAPIModels.LossCurve — Type
LossCurve

Losses of a device as a function of the power flow through it, together with the power basis the curve is expressed in. A loss driven by current instead is a CurrentLossCurve. power_units governs BOTH axes: a loss curve's y values are power in the same base as its x values, so a change of base rescales both. This is what separates it from a cost curve, whose y axis is currency and so rides through a change of base untouched. Units: both axes per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu .

  • power_units: Unit basis a stored value is expressed in. COMPONENTBASE: per-unit against a base the component records itself. NATURALUNITS: the quantity's own physical unit. No system-wide option: a value per-unitized against a shared base records that base on the component and rides as COMPONENTBASE. Used in three scopes, each read against its own record rather than a document-wide table: a component's own `powerunits(against that component'sbasepower), a cost payload's ownpowerunits(e.g.CostCurve, against the owning component'sbasepower), and a time series association's ownunitsystem` (governing only that one series).
  • value_curve: The shape of a loss curve, selected by curve_type. INPUT_OUTPUT gives the total loss at each flow level – a constant loss plus a proportional loss rate, in MW of loss per MW of flow. INCREMENTAL gives the marginal loss rate instead, the form a piecewise model uses to give different proportional losses on different flow segments. Individual loss fields accept narrower sets of shapes than this union admits; the consuming data layer enforces that, not this schema.
source
PowerCoreOpenAPIModels.LossValueCurve — Type
LossValueCurve

The shape of a loss curve, selected by curve_type. INPUT_OUTPUT gives the total loss at each flow level – a constant loss plus a proportional loss rate, in MW of loss per MW of flow. INCREMENTAL gives the marginal loss rate instead, the form a piecewise model uses to give different proportional losses on different flow segments. Individual loss fields accept narrower sets of shapes than this union admits; the consuming data layer enforces that, not this schema.

source
PowerCoreOpenAPIModels.MarketBidCost — Type
MarketBidCost

Cost representation for static (non-time-varying) market bids of energy and ancillary services.

  • minimum_energy_offer: Minimum-energy offer: cost to operate at minimum stable level, in /MWh at the curve's minimum power, stored as submitted. /h sources convert at parse (MEO = no-load cost / Pmin). Legacy scalar promotion: a bare scalar value s from a legacy source converts to an InputOutputCurve of LinearFunctionData with `constantterm = sandproportional_term = 0`.
  • start_up: Start-up cost at different stages of the thermal cycle (hot, warm, cold).
  • shut_down: Shut-down cost. Legacy scalar promotion: a bare scalar value s from a legacy source converts to an InputOutputCurve of LinearFunctionData with constant_term = s and proportional_term = 0.
  • incremental_offer_curves: Sell offer curves data as a CostCurve of PiecewiseIncrementalCurve.
  • decremental_offer_curves: Buy offer curves data as a CostCurve of PiecewiseIncrementalCurve.
  • ancillary_service_offers: IDs of the ancillary service components that this market bid offers into.
  • incremental_slope: Linear-interpolation flag for the incremental offer curves; false (default) is the step interpretation. Mutually exclusive with block groups on the same curve.
  • decremental_slope: Linear-interpolation flag for the decremental offer curves; false (default) is the step interpretation. Mutually exclusive with block groups on the same curve.
  • curve_style: Curve-clearing style for the bid: 0 = VARIABLE (default; continuous quantity with one or more segments); 1 = FIXED (all-or-nothing block with a single segment). FIXED is mutually exclusive with incrementalslope/decrementalslope and requires a single-segment offer curve.
  • curve_multistep: Multi-step block indicator for the bid: 0 = SINGLESTEP (default; each step of the bid clears independently); 1 = MULTISTEP (the bid must be awarded as one block across every step it covers). Counted in model steps so it applies at any resolution. Independent of curvestyle: curvestyle is the quantity structure, curve_multistep is the time structure, and they compose.
source
PowerCoreOpenAPIModels.MarketBidTimeSeriesCost — Type
MarketBidTimeSeriesCost

Cost representation for time-varying market bids of energy and ancillary services. The static counterpart is MarketBidCost.

  • minimum_energy_offer: Minimum-energy offer: cost to operate at minimum stable level, in /MWh at the curve's minimum power, stored as submitted. /h sources convert at parse (MEO = no-load cost / Pmin). Time-series-backed linear curve; only the TIMESERIES_LINEAR function-data variant is admissible here — the consuming constructor rejects any other.
  • start_up_association_id: Store-minted id of a time series of three-stage (hot, warm, cold) start-up costs.
  • shut_down: Shut-down cost as a time-series-backed linear curve. Only the TIMESERIESLINEAR function-data variant is admissible here; the consuming constructor rejects any other.
  • incremental_offer_curves: Sell offer curves whose value curve is a time-series-backed piecewise incremental curve. Only the TIMESERIESINCREMENTAL variant is admissible here; any other variant is rejected by the consuming constructor.
  • decremental_offer_curves: Buy offer curves whose value curve is a time-series-backed piecewise incremental curve. Only the TIMESERIESINCREMENTAL variant is admissible here; any other variant is rejected by the consuming constructor.
  • ancillary_service_offers: IDs of the ancillary service components that this bid offers into.
  • incremental_slope: Linear-interpolation flag for the incremental offer curves; false (default) is the step interpretation. Mutually exclusive with block groups on the same curve.
  • decremental_slope: Linear-interpolation flag for the decremental offer curves; false (default) is the step interpretation. Mutually exclusive with block groups on the same curve.
  • curve_style: Curve-clearing style for the bid: 0 = VARIABLE (default; continuous quantity with one or more segments); 1 = FIXED (all-or-nothing block with a single segment). FIXED is mutually exclusive with incrementalslope/decrementalslope and requires a single-segment offer curve.
  • curve_multistep: Multi-step block indicator for the bid: 0 = SINGLESTEP (default; each step of the bid clears independently); 1 = MULTISTEP (the bid must be awarded as one block across every step it covers). Counted in model steps so it applies at any resolution. Independent of curvestyle: curvestyle is the quantity structure, curve_multistep is the time structure, and they compose.
source
PowerCoreOpenAPIModels.PollutantType — Type
PollutantType

Pollutant an emission rate is reported for, spanning greenhouse gases (CO2, CO2E, CH4, N2O), criteria pollutants (NOX, SO2, CO, VOC, PM25, PM10), and toxics (HG, HAP), with CUSTOM for a user-defined pollutant.

source
PowerCoreOpenAPIModels.PrimeMovers — Type
PrimeMovers

Prime mover of a generating unit — the engine, turbine, water wheel, or similar machine that drives the generator — using the code set from the EIA Form 923 instructions. PVe is photovoltaic, spelled that way so it does not collide with the PV bus type.

source
PowerCoreOpenAPIModels.RenewableGenerationCost — Type
RenewableGenerationCost

Cost representation for renewable generation units

  • curtailment_cost: Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
  • variable_operation_cost: Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
source
PowerCoreOpenAPIModels.ReservoirLocation — Type
ReservoirLocation

Position of a hydro reservoir relative to its turbine: HEAD upstream of the turbine, typically at higher elevation; TAIL downstream, at lower or equal elevation.

source
PowerCoreOpenAPIModels.ShuntAdmittanceUnitBasis — Type
ShuntAdmittanceUnitBasis

Subset of AdmittanceUnitBasis for fixed and switched shunts: omits COMPONENTBASE because a shunt has no device MVA rating to per-unitize against. NATURALUNITS: physical siemens. COMPONENT_MVAR: reactive power at unity voltage (Mvar for susceptance, MW for conductance) — PSS/E RAW native for shunts.

source
PowerCoreOpenAPIModels.StorageCapitalCost — Type
StorageCapitalCost

Investment cost for candidate generation and transmission technologies which includes overnight capital costs and last-mile interconnection costs.

  • charge_capital_cost: A cost or fuel curve: function data plus a declaration of how to read its y axis. INPUT_OUTPUT reads y as the total f(x), INCREMENTAL as the marginal rate f'(x), and AVERAGE_RATE as the average f(x)/x; the three can express the same underlying function and are inter-convertible given initial_input. The TIME_SERIES_* variants are the time-varying equivalents. Which form to use follows the data source: bid stacks are incremental, total cost tables input-output, efficiency tables average rate.
  • discharge_capital_cost: A cost or fuel curve: function data plus a declaration of how to read its y axis. INPUT_OUTPUT reads y as the total f(x), INCREMENTAL as the marginal rate f'(x), and AVERAGE_RATE as the average f(x)/x; the three can express the same underlying function and are inter-convertible given initial_input. The TIME_SERIES_* variants are the time-varying equivalents. Which form to use follows the data source: bid stacks are incremental, total cost tables input-output, efficiency tables average rate.
  • energy_capital_cost: A cost or fuel curve: function data plus a declaration of how to read its y axis. INPUT_OUTPUT reads y as the total f(x), INCREMENTAL as the marginal rate f'(x), and AVERAGE_RATE as the average f(x)/x; the three can express the same underlying function and are inter-convertible given initial_input. The TIME_SERIES_* variants are the time-varying equivalents. Which form to use follows the data source: bid stacks are incremental, total cost tables input-output, efficiency tables average rate.
source
PowerCoreOpenAPIModels.StorageCost — Type
StorageCost

Cost representation for storage units

  • charge_variable_cost: Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
  • discharge_variable_cost: Variable operation cost of a device expressed directly in currency. Wraps a ValueCurve that may be in input-output, incremental, or average-rate form, with power_units declaring the basis of the x axis and vom_cost adding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
source
PowerCoreOpenAPIModels.SystemDocument — Type

A whole serialized power system: components bucketed by type name, the association tables linking them, and the name of the HDF5 sidecar holding time series values.

There is no document-level unit system or base power: every value is interpretable from its own component blob alone, via that blob's own basis-selector property (power_units, parameter_units, ...) and, for a COMPONENTBASE reading, that blob's own `basepower`.

components values are concrete Vector{T}, so per-type iteration stays inferable behind a function barrier even though the field itself is untyped.

counter, component_types_by_id, service_membership, trading_hub_membership, and source_schema_version (the schema version the document was read at, or this package's own for a new one; see get_source_schema_version) are build-time scaffolding and are not serialized: everything they hold is recoverable from the emitted rows. counter's ids come from one counter shared by every type, matching SiennaGridDB's entities table where an id identifies a component without also needing its type — which is why a bus number cannot double as an id. component_types_by_id and service_membership exist purely so add_supplemental_attribute! and add_service_association! can check membership in O(1) instead of rescanning components/service_associations on every call — each add path is the sole writer of its cache, and document_from_json rebuilds both once after a bulk load.

name, description, frequency, and time_series_storage_file are nothing when the document omits them; the schema marks all four optional, and a consumer with its own default (PowerSystems' System frequency, for instance) should apply it rather than have this container invent one.

plant_associations, combined_cycle_associations, service_associations, trading_hub_associations, and voltage_control_associations are untyped Vector{Any}, like components: PlantAssociation, CombinedCycleAssociation, ServiceAssociation, TradingHubAssociation, and VoltageControlAssociation are Operations-layer generated types, and this Core package cannot depend on Operations. Any rather than a common generated-model supertype: the native (post-1.0) generator gives every schema the same plain struct shape, with nothing like the old OpenAPI.APIModel to bound these against. Callers construct the concrete row and hand it to add_plant_association!, add_combined_cycle_association!, add_service_association!, add_trading_hub_association!, or add_voltage_control_association!; deserialization resolves the concrete type through the same model_type registry components uses.

source
PowerCoreOpenAPIModels.ThermalGenerationCost — Type
ThermalGenerationCost

Cost representation for thermal generation units

  • fixed: Fixed cost of keeping the unit online. For some cost represenations this field can be duplicative
  • shut_down: Cost to turn the unit off
  • start_up: Start-up cost can take linear or multi-stage cost
  • variable_operation_cost: Variable production cost of a device, selected by variable_cost_type between a curve denominated directly in currency (COST) and one denominated in fuel with a separate fuel price (FUEL).
source
PowerCoreOpenAPIModels.TimeSeriesAverageRateCurve — Type
TimeSeriesAverageRateCurve

A time-series-backed average rate curve. The static counterpart is AverageRateCurve.

  • function_data: Only TIMESERIESLINEAR or TIMESERIESPIECEWISE_STEP is admissible here; all other FunctionData variants, static or time-series-backed, are rejected by the consuming constructor.
  • initial_input_association_id: Store-minted id of the time series supplying the initial input value, or null.
  • input_at_zero_association_id: Store-minted id of the time series supplying the input at zero output, or null.
source
PowerCoreOpenAPIModels.TimeSeriesIncrementalCurve — Type
TimeSeriesIncrementalCurve

A time-series-backed incremental curve. The static counterpart is IncrementalCurve.

  • function_data: Only TIMESERIESLINEAR or TIMESERIESPIECEWISE_STEP is admissible here; all other FunctionData variants, static or time-series-backed, are rejected by the consuming constructor.
  • initial_input_association_id: Store-minted id of the time series supplying the initial input value, or null.
  • input_at_zero_association_id: Store-minted id of the time series supplying the input at zero output, or null.
source
PowerCoreOpenAPIModels.TimeSeriesInputOutputCurve — Type
TimeSeriesInputOutputCurve

A time-series-backed input-output curve. The static counterpart is InputOutputCurve.

  • function_data: Only TIMESERIESLINEAR, TIMESERIESQUADRATIC, or TIMESERIESPIECEWISELINEAR is admissible here; the static variants and TIMESERIESPIECEWISESTEP are invalid and rejected by the consuming constructor.
  • input_at_zero: Optional explicit input value at zero output. A number here, unlike the incremental and average-rate variants, where it is a time series reference.
source
PowerCoreOpenAPIModels.ValueCurve — Type
ValueCurve

A cost or fuel curve: function data plus a declaration of how to read its y axis. INPUT_OUTPUT reads y as the total f(x), INCREMENTAL as the marginal rate f'(x), and AVERAGE_RATE as the average f(x)/x; the three can express the same underlying function and are inter-convertible given initial_input. The TIME_SERIES_* variants are the time-varying equivalents. Which form to use follows the data source: bid stacks are incremental, total cost tables input-output, efficiency tables average rate.

source
InfrastructureCoreOpenAPIModels.document_tree — Method

The document as a tree of plain JSON-safe values, ready for a single JSON encoding pass.

Every model row is pre-encoded via _encode_row rather than embedded raw: encoding a row on its own with OpenAPI.Runtime._encode already returns a plain object, not a String, so this still builds the whole tree before printing once rather than encoding twice.

Canonical: schema_version comes first, then the remaining keys sorted. An optional property that is absent, null, or equal to its schema default (trading_hub_associations and voltage_control_associations default to []) is omitted; ext is always written.

source
InfrastructureCoreOpenAPIModels.validate_document — Method

Check that the document is internally consistent: ids unique, every reference resolvable.

Run before writing, so a consumer can trust a document regardless of which producer wrote it. Converter coverage is deliberately not checked here — this package does not know which types a given consumer can convert.

source
PowerCoreOpenAPIModels.add_plant_association! — Method

Record a plant-family group membership: assoc is a caller-constructed PlantAssociation naming the shaft (ThermalPowerPlant), penstock (HydroPowerPlant), PCC (RenewablePowerPlant), or exclusion group (CombinedCycleFractional) an entity belongs to.

Generic over T, like add_component!: PlantAssociation is an Operations-layer type this Core package does not depend on, so the caller — which does — builds the row.

source
PowerCoreOpenAPIModels.add_service_association! — Method

Record that assoc (a caller-constructed ServiceAssociation) links a service to one member contributing to it: a Device, a Branch, or another Service.

One row per (service, member) pair. Duplicate pairs are rejected rather than collapsed: eligibility rules overlap, so the same device matching one reserve twice means a malformed rule set rather than something to silently merge — checked in O(1) against service_membership rather than rescanning service_associations. Generic over T for the same reason as add_plant_association!; service_id/entity_id are read by property access rather than a concrete type annotation.

This is the document's one guard against a duplicate association row; callers must not rescan service_associations themselves before calling this.

source
PowerCoreOpenAPIModels.time_series_association_json — Method
time_series_association_json(doc::SystemDocument) -> String

The document's time_series_associations rows as one JSON array, the form a time series store imports. Encoded like write_document, without a second schema check: reading a document checks every row against the full schema. Rows are not schema-checked here: a document built in memory reaches the store as built, while one read with read_document had every row checked.

source
PowerCoreOpenAPIModels.validate_time_series_catalog — Method
validate_time_series_catalog(doc::SystemDocument, catalog_json::AbstractString)

Check a time series store's catalog, the JSON array of its association rows, against the document's time_series_associations. Every catalog row is decoded with the full schema check. Each document row must then match a catalog row by identity, carry the same association_id, and agree on every other wire field except uri and data_hash, which a store may assign differently. Catalog rows the document does not mention are allowed.

Identity is (owner_id, owner_category, time_series_type, name, resolution, interval, features), the store's own uniqueness key; owner_type is a denormalized label. Throws DocumentFormatError naming the row and, for drift, the differing fields.

source