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
ACBusAn 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.,PowerLoadandACBus) 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 busvoltage_setpointsay 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 ofbase_voltage. This is a result, not a control target; the target isvoltage_setpoint. Units: pu.voltage_setpoint: Scheduled voltage magnitude for this bus, as a multiple ofbase_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.nullwhen no device regulates this bus. Units: pu.voltage_limits: Limits on the voltage variation as multiples ofbase_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.
PowerCoreOpenAPIModels.ACBusType — Type
ACBusTypeClassification 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.
PowerCoreOpenAPIModels.AdmittanceUnitBasis — Type
AdmittanceUnitBasisUnit 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.
PowerCoreOpenAPIModels.Arc — Type
ArcA 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.
PowerCoreOpenAPIModels.Area — Type
AreaA 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.,PowerLoadandACBus) 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.nullwhen the area has no scheduled interchange;0.0is 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.
PowerCoreOpenAPIModels.AverageRateCurve — Type
AverageRateCurveA 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.
PowerCoreOpenAPIModels.CapitalCost — Type
CapitalCostInvestment 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_OUTPUTreads y as the totalf(x),INCREMENTALas the marginal ratef'(x), andAVERAGE_RATEas the averagef(x)/x; the three can express the same underlying function and are inter-convertible giveninitial_input. TheTIME_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.
PowerCoreOpenAPIModels.ChargeDischarge — Type
ChargeDischargeA pair of values, one for the charging (charge) and one for the discharging (discharge) direction of a quantity.
PowerCoreOpenAPIModels.CostCurve — Type
CostCurveVariable 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_OUTPUTreads y as the totalf(x),INCREMENTALas the marginal ratef'(x), andAVERAGE_RATEas the averagef(x)/x; the three can express the same underlying function and are inter-convertible giveninitial_input. TheTIME_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 inputf(x)at production levelx— 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; useIncrementalCurvefor marginal-rate data.
PowerCoreOpenAPIModels.CurrentLossCurve — Type
CurrentLossCurveLosses 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 bycurve_type.INPUT_OUTPUTgives the total loss at each flow level – a constant loss plus a proportional loss rate, in MW of loss per MW of flow.INCREMENTALgives 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.
PowerCoreOpenAPIModels.CurveMultiStep — Type
CurveMultiStepMulti-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.
PowerCoreOpenAPIModels.CurveStyles — Type
CurveStylesCurve-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.
PowerCoreOpenAPIModels.DCBus — Type
DCBusA 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 ofbase_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.,PowerLoadandACBus) can have the same name.number: A unique bus identification number (positive integer).voltage_limits: Limits on the voltage variation as multiples ofbase_voltage. in psy5 a required param with an option to be nothing. Units: pu.
PowerCoreOpenAPIModels.DbdPnts — Type
DbdPntsA pair of deadband thresholds (dbd1, dbd2) on a voltage or reactive-power error signal, inside which the controller does not act.
PowerCoreOpenAPIModels.EmissionBasis — Type
EmissionBasisWhat 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.
PowerCoreOpenAPIModels.EmissionsData — Type
EmissionsDataSupplemental 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 attributepollutant: 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 numeratorenergy_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
PowerCoreOpenAPIModels.EnergyUnit — Type
EnergyUnitEnergy unit forming the denominator of an emission rate: MMBTU or GJ for a fuel-input basis, MWH for a power-output basis.
PowerCoreOpenAPIModels.EnergyUnitBasis — Type
EnergyUnitBasisUnit 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.
PowerCoreOpenAPIModels.FdbdPnts — Type
FdbdPntsA pair of deadband thresholds (fdbd1, fdbd2) on a frequency error signal, inside which the controller does not act.
PowerCoreOpenAPIModels.FuelCurve — Type
FuelCurveVariable 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 onefuel_unitsof 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) andfuel_costis 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 infuel_units.value_curve: A cost or fuel curve: function data plus a declaration of how to read its y axis.INPUT_OUTPUTreads y as the totalf(x),INCREMENTALas the marginal ratef'(x), andAVERAGE_RATEas the averagef(x)/x; the three can express the same underlying function and are inter-convertible giveninitial_input. TheTIME_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 inputf(x)at production levelx— 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; useIncrementalCurvefor marginal-rate data.
PowerCoreOpenAPIModels.FuelUnit — Type
FuelUnitFuel quantity a FuelCurve is expressed in: MMBTU (million British thermal units) or GJ (gigajoules) of heat content.
PowerCoreOpenAPIModels.GenericOperationCost — Type
GenericOperationCostOperating cost of a generation technology, selected by cost_type among the thermal (THERMAL), renewable (RENEWABLE), and hydro (HYDRO_GEN) generation cost representations.
PowerCoreOpenAPIModels.HydroGenerationCost — Type
HydroGenerationCostCost representation for hydro gen units
variable_operation_cost: Variable production cost of a device, selected byvariable_cost_typebetween a curve denominated directly in currency (COST) and one denominated in fuel with a separate fuel price (FUEL).
PowerCoreOpenAPIModels.HydroReservoirCost — Type
HydroReservoirCostCost representation for hydro reservoir
PowerCoreOpenAPIModels.HydroStorageGenerationCost — Type
HydroStorageGenerationCostOperating cost of hydro generation with storage, selected by cost_type between the hydro generation (HYDRO_GEN) and storage (STORAGE) cost representations.
PowerCoreOpenAPIModels.ImpedanceUnitBasis — Type
ImpedanceUnitBasisUnit 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.
PowerCoreOpenAPIModels.ImportExportCost — Type
ImportExportCostCost 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 aValueCurvethat may be in input-output, incremental, or average-rate form, withpower_unitsdeclaring the basis of the x axis andvom_costadding 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 aValueCurvethat may be in input-output, incremental, or average-rate form, withpower_unitsdeclaring the basis of the x axis andvom_costadding 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.
PowerCoreOpenAPIModels.ImportExportTimeSeriesCost — Type
ImportExportTimeSeriesCostCost 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.
PowerCoreOpenAPIModels.IncrementalCurve — Type
IncrementalCurveA 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.
PowerCoreOpenAPIModels.InputOutputCurve — Type
InputOutputCurveA 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.
PowerCoreOpenAPIModels.LoadCost — Type
LoadCostCost representation for controllable load units
variable_operation_cost: Variable operation cost of a device expressed directly in currency. Wraps aValueCurvethat may be in input-output, incremental, or average-rate form, withpower_unitsdeclaring the basis of the x axis andvom_costadding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
PowerCoreOpenAPIModels.LoadZone — Type
LoadZoneA 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.,PowerLoadandACBus) 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.
PowerCoreOpenAPIModels.LossCurve — Type
LossCurveLosses 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 bycurve_type.INPUT_OUTPUTgives the total loss at each flow level – a constant loss plus a proportional loss rate, in MW of loss per MW of flow.INCREMENTALgives 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.
PowerCoreOpenAPIModels.LossValueCurve — Type
LossValueCurveThe 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.
PowerCoreOpenAPIModels.MarketBidCost — Type
MarketBidCostCost 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 valuesfrom a legacy source converts to anInputOutputCurveofLinearFunctionDatawith `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 valuesfrom a legacy source converts to anInputOutputCurveofLinearFunctionDatawithconstant_term = sandproportional_term = 0.incremental_offer_curves: Sell offer curves data as aCostCurveofPiecewiseIncrementalCurve.decremental_offer_curves: Buy offer curves data as aCostCurveofPiecewiseIncrementalCurve.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.
PowerCoreOpenAPIModels.MarketBidTimeSeriesCost — Type
MarketBidTimeSeriesCostCost 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.
PowerCoreOpenAPIModels.MassUnit — Type
MassUnitMass unit an emission quantity is reported in: kilograms, pounds, short tons (2000 lb), or metric tons (1000 kg).
PowerCoreOpenAPIModels.MinMaxByKey — Type
MinMaxByKeyA mapping from a stringified float key to the MinMax bound that applies at that key.
PowerCoreOpenAPIModels.OperationalFlowLimit — Type
OperationalFlowLimitOperator-set flow limits on a directed branch: a minimum and a maximum flow in each direction, applied in addition to the branch's thermal rating.
PowerCoreOpenAPIModels.OutageFactors — Type
OutageFactorsA pair of values representing planned and forced outage factors as fractions of total availability.
PowerCoreOpenAPIModels.PollutantType — Type
PollutantTypePollutant 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.
PowerCoreOpenAPIModels.PrimeMovers — Type
PrimeMoversPrime 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.
PowerCoreOpenAPIModels.ProductionVariableCostCurve — Type
ProductionVariableCostCurveVariable 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).
PowerCoreOpenAPIModels.RenewableGenerationCost — Type
RenewableGenerationCostCost representation for renewable generation units
curtailment_cost: Variable operation cost of a device expressed directly in currency. Wraps aValueCurvethat may be in input-output, incremental, or average-rate form, withpower_unitsdeclaring the basis of the x axis andvom_costadding 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 aValueCurvethat may be in input-output, incremental, or average-rate form, withpower_unitsdeclaring the basis of the x axis andvom_costadding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
PowerCoreOpenAPIModels.ReservoirLocation — Type
ReservoirLocationPosition of a hydro reservoir relative to its turbine: HEAD upstream of the turbine, typically at higher elevation; TAIL downstream, at lower or equal elevation.
PowerCoreOpenAPIModels.ShuntAdmittanceUnitBasis — Type
ShuntAdmittanceUnitBasisSubset 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.
PowerCoreOpenAPIModels.StartUpShutDown — Type
StartUpShutDownA pair of values, one for the start-up phase and one for the shut-down phase of a unit's cycle.
PowerCoreOpenAPIModels.StartUpStages — Type
StartUpStagesA triple of values, one for each stage of a thermal unit's start-up: hot, warm, and cold.
PowerCoreOpenAPIModels.StorageCapitalCost — Type
StorageCapitalCostInvestment 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_OUTPUTreads y as the totalf(x),INCREMENTALas the marginal ratef'(x), andAVERAGE_RATEas the averagef(x)/x; the three can express the same underlying function and are inter-convertible giveninitial_input. TheTIME_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_OUTPUTreads y as the totalf(x),INCREMENTALas the marginal ratef'(x), andAVERAGE_RATEas the averagef(x)/x; the three can express the same underlying function and are inter-convertible giveninitial_input. TheTIME_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_OUTPUTreads y as the totalf(x),INCREMENTALas the marginal ratef'(x), andAVERAGE_RATEas the averagef(x)/x; the three can express the same underlying function and are inter-convertible giveninitial_input. TheTIME_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.
PowerCoreOpenAPIModels.StorageCost — Type
StorageCostCost representation for storage units
charge_variable_cost: Variable operation cost of a device expressed directly in currency. Wraps aValueCurvethat may be in input-output, incremental, or average-rate form, withpower_unitsdeclaring the basis of the x axis andvom_costadding 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 aValueCurvethat may be in input-output, incremental, or average-rate form, withpower_unitsdeclaring the basis of the x axis andvom_costadding a proportional variable operation and maintenance term. Units: x-axis per powerunits — NATURALUNITS: MW, COMPONENT_BASE: pu ; y-axis USD/h .
PowerCoreOpenAPIModels.StorageTech — Type
StorageTechdefines the storage technology used in an energy Storage system, based on the options in EIA form 923.
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.
PowerCoreOpenAPIModels.SystemDocument — Method
Build an empty document.
PowerCoreOpenAPIModels.ThermalFuels — Type
ThermalFuelsThermal fuels that reflect options in the EIA annual energy review.
PowerCoreOpenAPIModels.ThermalGenerationCost — Type
ThermalGenerationCostCost representation for thermal generation units
fixed: Fixed cost of keeping the unit online. For some cost represenations this field can be duplicativeshut_down: Cost to turn the unit offstart_up: Start-up cost can take linear or multi-stage costvariable_operation_cost: Variable production cost of a device, selected byvariable_cost_typebetween a curve denominated directly in currency (COST) and one denominated in fuel with a separate fuel price (FUEL).
PowerCoreOpenAPIModels.ThermalGenerationCostStartUp — Type
ThermalGenerationCostStartUpStart-up cost can take linear or multi-stage cost
PowerCoreOpenAPIModels.TimeSeriesAverageRateCurve — Type
TimeSeriesAverageRateCurveA 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.
PowerCoreOpenAPIModels.TimeSeriesIncrementalCurve — Type
TimeSeriesIncrementalCurveA 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.
PowerCoreOpenAPIModels.TimeSeriesInputOutputCurve — Type
TimeSeriesInputOutputCurveA 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.
PowerCoreOpenAPIModels.TurbinePump — Type
TurbinePumpA pair of values, one for the turbine (generating) mode and one for the pump (charging) mode of a pumped hydro unit.
PowerCoreOpenAPIModels.ValueCurve — Type
ValueCurveA 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.
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.
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.
PowerCoreOpenAPIModels._ts_drift — Method
Wire field names on which two rows differ, excluding uri and data_hash.
PowerCoreOpenAPIModels.add_combined_cycle_association! — Method
Record that a CT or CA unit feeds one HRSG within a CombinedCycleBlock plant: assoc is a caller-constructed CombinedCycleAssociation.
Generic over T, for the same reason as add_plant_association!.
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.
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.
PowerCoreOpenAPIModels.add_trading_hub_association! — Method
Record that assoc (a caller-constructed TradingHubAssociation) links a trading hub to one associated entity: a member bus or a market transaction settling at the hub.
Generic over T, for the same reason as add_plant_association!.
Duplicate (trading_hub_id, entity_id) pairs are rejected rather than collapsed, the same guard add_service_association! applies to service membership.
PowerCoreOpenAPIModels.add_voltage_control_association! — Method
Record that assoc (a caller-constructed VoltageControlAssociation) links a voltage control group, a VoltageDroopControl or ReactivePowerSharing attribute, to one member device.
Generic over T, for the same reason as add_plant_association!.
Duplicate (control_id, entity_id) pairs are rejected rather than collapsed, the same guard add_trading_hub_association! applies to trading hub membership.
PowerCoreOpenAPIModels.document_from_json — Method
Build a SystemDocument from already-parsed JSON.
The schema version is checked first (check_schema_version); every components key must name a registered model type — an unknown type name errors rather than being skipped, since dropping the rows would lose data silently.
PowerCoreOpenAPIModels.read_document — Method
Read a SystemDocument from a JSON file.
Only the JSON file is read. Any HDF5 sidecar named by time_series_storage_file is left alone for the consumer to resolve relative to path.
PowerCoreOpenAPIModels.time_series_association_json — Method
time_series_association_json(doc::SystemDocument) -> StringThe 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.
PowerCoreOpenAPIModels.upgrade_document — Method
Read the SystemDocument at src and write it to dst stamped with this package's schema version. Fails unless src is current or upgradable.
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.