Models Catalog¶
r2x_sienna.models provides the component classes used for parse and export.
Topology¶
Area,LoadZoneBus,ACBus,DCBusArc
Bus, ACBus, and DCBus represent network nodes; Arc is the topology
relationship used by branch and network equipment models.
Branch and Network Equipment¶
Branch,ACBranch,DCBranchLine,MonitoredLineTwoWindingTransformer,ThreeWindingTransformerTransformer2W,TapTransformer,PhaseShiftingTransformerTransformer3W,PhaseShiftingTransformer3WTwoTerminalHVDCLine,TwoTerminalGenericHVDCLine,TwoTerminalLCCLine,TwoTerminalVSCLine,TModelHVDCLineAreaInterchange,DiscreteControlledACBranch
Generation and Storage¶
Generator,Source,SynchronousCondenser,HybridSystemThermal:
ThermalGen,ThermalStandard,ThermalMultiStartHydro:
HydroGen,HydroDispatch,HydroReservoir,HydroEnergyReservoir,HydroPumpedStorage,HydroPumpTurbine,HydroTurbineRenewable:
RenewableGen,RenewableDispatch,RenewableNonDispatchStorage:
Storage,EnergyReservoirStorage
Load and FACTS-adjacent Load Models¶
InterconnectingConverterPowerLoad,StandardLoad,InterruptiblePowerLoad,InterruptibleStandardLoadShiftablePowerLoadMotorLoad,ExponentialLoadActiveConstantPowerLoadFixedAdmittance,SwitchedAdmittance,FACTSControlDevice
Services and Core Mappings¶
ServiceReserve,VariableReserveReserveNonSpinning,VariableReserveNonSpinning,ConstantReserveNonSpinningReserveDemandCurve,TransmissionInterfaceReserveMap,TransmissionInterfaceMap
Cost Models¶
ThermalGenerationCostHydroGenerationCost,HydroReservoirCostRenewableGenerationCostStorageCostLoadCost
Supplemental Attributes¶
GeographicInfoGeometricDistributionForcedOutageImpedanceCorrectionDataEmissionsData— emission rate (as aValueCurve) for a single pollutant; attach to any component viaadd_supplemental_attribute. SupportsFUEL_INPUTorPOWER_OUTPUTbasis with validatedenergy_unitpairing. Scalarfloatrates are automatically wrapped in a constant-rateLinearCurve.
All Exported Models¶
The following classes and model-like types are exported from
r2x_sienna.models and are available for direct import. The grouped catalog
above describes their domain roles; this list is the complete public export
surface for model definitions.
Component Classes¶
ACBranch, ACBus, ActiveConstantPowerLoad, Arc, Area,
AreaInterchange, Branch, Bus, ConstantReserveNonSpinning, DCBranch,
DCBus, DiscreteControlledACBranch, EmissionsData,
EnergyReservoirStorage, ExponentialLoad, FACTSControlDevice,
FixedAdmittance, Generator, GeographicInfo,
GeometricDistributionForcedOutage, HybridSystem, HydroDispatch,
HydroEnergyReservoir, HydroGen, HydroGenerationCost, HydroPumpTurbine,
HydroPumpedStorage, HydroReservoir, HydroReservoirCost, HydroTurbine,
ImpedanceCorrectionData, InterconnectingConverter, InterruptiblePowerLoad,
InterruptibleStandardLoad, Line, LoadCost, LoadZone, MonitoredLine,
MotorLoad, PhaseShiftingTransformer, PhaseShiftingTransformer3W,
PowerLoad, RenewableDispatch, RenewableGen, RenewableGenerationCost,
RenewableNonDispatch, Reserve, ReserveDemandCurve, ReserveMap,
ReserveNonSpinning, Service, ShiftablePowerLoad, Source, StandardLoad,
Storage, StorageCost, SwitchedAdmittance, SynchronousCondenser,
TModelHVDCLine, TapTransformer, ThermalGen, ThermalGenerationCost,
ThermalMultiStart, ThermalStandard, ThreeWindingTransformer,
TransmissionInterface, TransmissionInterfaceMap,
TwoTerminalGenericHVDCLine, TwoTerminalHVDCLine, TwoTerminalLCCLine,
TwoTerminalVSCLine, TwoWindingTransformer, Transformer2W, Transformer3W,
VariableReserve, and VariableReserveNonSpinning.
Emissions Enums¶
Enum |
Members |
|---|---|
|
|
|
|
|
|
|
|
Additional exported classification enums are:
ACBusTypesDiscreteControlledBranchStatus,DiscreteControlledBranchTypeFACTSOperationModesHydroTurbineType,PumpHydroStatus,ReservoirDataType,ReservoirLocationImpedanceCorrectionTransformerControlModePrimeMoversType,ReserveDirection,ReserveTypeThermalFuelsTransformerControlObjectiveWindingCategory,WindingGroupNumber
Helper Types and Enums¶
Named tuples/helpers:
MinMax,UpDown,StartShut,StartUpStages,StartTimeLimits,InputOutput,FromTo_ToFrom,Complex,GeoLocationEnums include fuel, reserve, transformer, hydro, bus-type, and related classification values
These helper models are used as typed fields inside component and cost models;
they can also be imported directly from r2x_sienna.models.
Notes¶
Models are strongly typed and validated via
pydantic.Base component classes include per-unit-aware behavior and shared serialization patterns.
The parser relies on model metadata to resolve component references and deserialize polymorphic types.
PSY Compatibility Highlights¶
Recent model updates align r2x_sienna.models with current PowerSystems.jl generated schemas for
overlapping component names.
Thermal cost:
ThermalGenerationCost.start_upaccepts either scalar or staged startup values (StartUpStages).AC branch flows:
LineandMonitoredLineactive/reactive flow fields accept signed values.Line requirements:
Lineenforces required electrical fields (r,x,rating) for PSY-style construction.Static injection linkage: static-injection models support optional
dynamic_injectorlinkage to dynamic models.Load conformity naming: load models use canonical
conformity; legacy input keycomformityremains accepted as an alias.FACTS and switched-admittance controls: control/regulated-bus/reactive-limit fields are represented in
FACTSControlDeviceandSwitchedAdmittance.HVDC and converter controls: VSC and converter control fields (setpoints, control modes, droop, remote bus control metadata) are modeled for PSY interoperability.
T-model HVDC representation: PSY-style
r,l,c, active flow, and directional active-power limits are available inTModelHVDCLine.Interface services:
TransmissionInterfaceincludesviolation_penalty.
These updates are additive where possible and preserve existing parse/export behavior expected by
r2x-sienna users.